LifeV
initialCondition Class Reference

#include <user_fun.hpp>

+ Inheritance diagram for initialCondition:
+ Collaboration diagram for initialCondition:

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_TypescalarFieldPtr (const UInt &i) const
 Return the i-th scalar field. More...
 
const FEScalarField_TypescalarField (const UInt &i) const
 Return the i-th scalar field. More...
 
const FEVectorFieldPtr_TypevectorFieldPtr (const UInt &i) const
 Return the i-th vector field. More...
 
const FEVectorField_TypevectorField (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_TypeFEField_Type
 
typedef FEScalarField< mesh_Type, map_TypeFEScalarField_Type
 
typedef FEVectorField< mesh_Type, map_TypeFEVectorField_Type
 
typedef std::shared_ptr< FEField_TypeFEFieldPtr_Type
 
typedef std::shared_ptr< FEScalarField_TypeFEScalarFieldPtr_Type
 
typedef std::shared_ptr< FEVectorField_TypeFEVectorFieldPtr_Type
 
typedef std::vector< FEScalarFieldPtr_TypeFEScalarFieldPtrContainer_Type
 
typedef std::vector< FEVectorFieldPtr_TypeFEVectorFieldPtrContainer_Type
 
typedef FEField_Type::point_Type point_Type
 

Detailed Description

Definition at line 121 of file darcy/testsuite/basic_test/2d/user_fun.hpp.

Member Function Documentation

◆ eval()

Real eval ( const UInt iElem,
const Vector3D P,
const Real time = 0. 
) const
virtual

Abstract virtual eval function.

In the case of derived and specialized classes it evaluates the function on a given point in a given element

Parameters
iElemElement id in the mesh.
pointPoint where the field is evaluated, vector format.
timeTime in the evaluation.
Returns
The type template of value of the function.

Implements FEFunction< MeshType, MapType, ReturnType >.

Definition at line 104 of file darcy/testsuite/basic_test/2d/user_fun.cpp.


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