v0.14.0
Public Member Functions | Public Attributes | List of all members
AnalyticalFunction Struct Reference
Collaboration diagram for AnalyticalFunction:
[legend]

Public Member Functions

std::vector< VectorDouble > & operator() (double x, double y, double z)
 

Public Attributes

std::vector< VectorDouble > val
 

Detailed Description

Definition at line 34 of file thermal_with_analytical_bc.cpp.

Member Function Documentation

◆ operator()()

std::vector<VectorDouble>& AnalyticalFunction::operator() ( double  x,
double  y,
double  z 
)
inline

Definition at line 38 of file thermal_with_analytical_bc.cpp.

38  {
39  val.resize(1);
40  val[0].resize(1);
41  (val[0])[0] = pow(x, 1);
42  return val;
43  }

Member Data Documentation

◆ val

std::vector<VectorDouble> AnalyticalFunction::val

Definition at line 36 of file thermal_with_analytical_bc.cpp.


The documentation for this struct was generated from the following file:
AnalyticalFunction::val
std::vector< VectorDouble > val
Definition: thermal_with_analytical_bc.cpp:36