v0.14.0
Public Member Functions | Public Attributes | List of all members
MyFunApprox Struct Reference

Example approx. function. More...

Collaboration diagram for MyFunApprox:
[legend]

Public Member Functions

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

Public Attributes

std::vector< VectorDouble > result
 

Detailed Description

Example approx. function.

Definition at line 14 of file field_approximation.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 18 of file field_approximation.cpp.

18  {
19  result.resize(1);
20  result[0].resize(3);
21  (result[0])[0] = x;
22  (result[0])[1] = y;
23  (result[0])[2] = z * z;
24  return result;
25  }

Member Data Documentation

◆ result

std::vector<VectorDouble> MyFunApprox::result

Definition at line 16 of file field_approximation.cpp.


The documentation for this struct was generated from the following file:
MyFunApprox::result
std::vector< VectorDouble > result
Definition: field_approximation.cpp:16