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

third order polynomial used for testing More...

Public Member Functions

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

Detailed Description

third order polynomial used for testing

Definition at line 45 of file child_and_parent.cpp.

Member Function Documentation

◆ operator()() [1/3]

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

Definition at line 39 of file hanging_node_approx.cpp.

39  {
40  return x * x + y * y + x * y * y + x * x * y;
41  }

◆ operator()() [2/3]

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

Definition at line 41 of file approximaton.cpp.

41  {
42  return sin(x * 10.) * cos(y * 10.);
43  }

◆ operator()() [3/3]

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

Definition at line 46 of file child_and_parent.cpp.

46  {
47  return x * x + y * y + x * y + pow(x, 3) + pow(y, 3) + pow(x, 4) +
48  pow(y, 4);
49  }

The documentation for this struct was generated from the following files: