LifeV
|
#include <user_fun.hpp>
Public Member Functions | |
virtual Real | eval (const UInt &iElem, const Vector3D &P, const Real &time=0.) const |
Abstract virtual eval function. More... | |
Public Member Functions inherited from FEFunction< MeshType, MapType, ReturnType > | |
FEFunction () | |
Empty constructor for the class. More... | |
virtual | ~FEFunction () |
Virtual destructor. More... | |
void | interpolate (FEField_Type &interpolatedFct, const Real &time=0.) const |
Interpolate to a field. More... | |
void | addScalarField (const FEScalarFieldPtr_Type &fieldPtr) |
Add an external scalar field to the function. More... | |
void | addVectorField (const FEVectorFieldPtr_Type &fieldPtr) |
Add an external vector field to the function. More... | |
const FEScalarFieldPtr_Type & | scalarFieldPtr (const UInt &i) const |
Return the i-th scalar field. More... | |
const FEScalarField_Type & | scalarField (const UInt &i) const |
Return the i-th scalar field. More... | |
const FEVectorFieldPtr_Type & | vectorFieldPtr (const UInt &i) const |
Return the i-th vector field. More... | |
const FEVectorField_Type & | vectorField (const UInt &i) const |
Return the i-th vector field. More... | |
Additional Inherited Members | |
Public Types inherited from FEFunction< MeshType, MapType, ReturnType > | |
typedef MeshType | mesh_Type |
typedef MapType | map_Type |
typedef ReturnType | return_Type |
typedef FEField< mesh_Type, map_Type, return_Type > | FEField_Type |
typedef FEScalarField< mesh_Type, map_Type > | FEScalarField_Type |
typedef FEVectorField< mesh_Type, map_Type > | FEVectorField_Type |
typedef std::shared_ptr< FEField_Type > | FEFieldPtr_Type |
typedef std::shared_ptr< FEScalarField_Type > | FEScalarFieldPtr_Type |
typedef std::shared_ptr< FEVectorField_Type > | FEVectorFieldPtr_Type |
typedef std::vector< FEScalarFieldPtr_Type > | FEScalarFieldPtrContainer_Type |
typedef std::vector< FEVectorFieldPtr_Type > | FEVectorFieldPtrContainer_Type |
typedef FEField_Type::point_Type | point_Type |
Definition at line 121 of file darcy/testsuite/basic_test/2d/user_fun.hpp.
Abstract virtual eval function.
In the case of derived and specialized classes it evaluates the function on a given point in a given element
iElem | Element id in the mesh. |
point | Point where the field is evaluated, vector format. |
time | Time in the evaluation. |
Implements FEFunction< MeshType, MapType, ReturnType >.
Definition at line 104 of file darcy/testsuite/basic_test/2d/user_fun.cpp.