v0.14.0
Public Member Functions | List of all members
ApproxFieldFunctionDerivative< 1 > Struct Reference

third order polynomial used for testing More...

Public Member Functions

auto operator() (const double x, const double y, const double z)
 

Detailed Description

third order polynomial used for testing

Definition at line 48 of file hanging_node_approx.cpp.

Member Function Documentation

◆ operator()()

auto ApproxFieldFunctionDerivative< 1 >::operator() ( const double  x,
const double  y,
const double  z 
)
inline

Definition at line 49 of file hanging_node_approx.cpp.

49  {
50  // x * x + y * y + x * y * y + x * x * y
51 
52  return FTensor::Tensor1<double, SPACE_DIM>{2 * x + y * y + 2 * x * y,
53  2 * y + 2 * x * y + x * x};
54  }

The documentation for this struct was generated from the following file:
FTensor::Tensor1
Definition: Tensor1_value.hpp:8