![]() |
LifeV
|
FEScalarField - This class gives an abstract implementation of a finite element scalar field. More...
#include <FEField.hpp>
Inheritance diagram for FEScalarField< MeshType, MapType >:
Collaboration diagram for FEScalarField< MeshType, MapType >:Public Types | |
| typedef MeshType | mesh_Type |
| typedef MapType | map_Type |
| typedef Real | return_Type |
| typedef FEField< mesh_Type, map_Type, return_Type > | FEField_Type |
| typedef FEField_Type::FESpacePtr_Type | FESpacePtr_Type |
| typedef FEField_Type::vectorPtr_Type | vectorPtr_Type |
| typedef FEField_Type::point_Type | point_Type |
Constructors and destructor | |
| FEScalarField () | |
| Empty constructor for the class. More... | |
| FEScalarField (const FESpacePtr_Type &fESpace, const vectorPtr_Type &vector) | |
| Full constructor for the class. More... | |
| FEScalarField (const FESpacePtr_Type &fESpace, const MapEpetraType &mapType=Repeated) | |
| Constructor for the class without the vector. More... | |
| FEScalarField (const FEScalarField &field) | |
| Copy constructor. More... | |
| virtual | ~FEScalarField () |
| Virtual destructor. More... | |
Methods | |
| virtual return_Type | eval (const UInt &iElem, const point_Type &P, const Real &time=0.) const |
| Eval function. More... | |
Additional Inherited Members | |
Public Types inherited from FEField< MeshType, MapType, Real > | |
| typedef MeshType | mesh_Type |
| typedef MapType | map_Type |
| typedef Real | return_Type |
| typedef FESpace< mesh_Type, map_Type > | FESpace_Type |
| typedef std::shared_ptr< FESpace_Type > | FESpacePtr_Type |
| typedef VectorEpetra | vector_Type |
| typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
| typedef Vector3D | point_Type |
Public Member Functions inherited from FEField< MeshType, MapType, Real > | |
| FEField () | |
| Empty constructor for the class. More... | |
| FEField (const FESpacePtr_Type &fESpace, const vectorPtr_Type &vector) | |
| Full constructor for the class. More... | |
| FEField (const FESpacePtr_Type &fESpace, const MapEpetraType &mapType=Repeated) | |
| Constructor for the class without the vector. More... | |
| FEField (const FEField &field) | |
| Copy constructor. More... | |
| virtual | ~FEField () |
| Virtual destructor. More... | |
| FEField & | operator= (const FEField &field) |
| void | setFESpacePtr (const FESpacePtr_Type &fESpace, const bool createVector=false, const MapEpetraType &mapType=Repeated) |
| Set the FESpace. More... | |
| void | setVectorPtr (const vectorPtr_Type &vector) |
| Set the epetra vector. More... | |
| void | setVector (const vector_Type &vector) |
| Set the epetra vector. More... | |
| void | setUp (const FESpacePtr_Type &fESpace, const vectorPtr_Type &vector) |
| Set both FESpace and vector. More... | |
| void | cleanField () |
| Clean the field. More... | |
| const FESpace_Type & | getFESpace () const |
| Return the finite element space. More... | |
| FESpace_Type & | getFESpace () |
| Return the finite element space. More... | |
| const FESpacePtr_Type & | getFESpacePtr () const |
| Return the pointer to the finite element space. More... | |
| const vectorPtr_Type & | getVectorPtr () const |
| Return the vector where the value are stored. More... | |
| vector_Type & | getVector () |
| Return the vector where the value are stored. More... | |
| const vector_Type & | getVector () const |
| Return the vector where the value are stored. More... | |
Protected Attributes inherited from FEField< MeshType, MapType, Real > | |
| FESpacePtr_Type | M_FESpace |
| Reference of the finite element space. More... | |
| vectorPtr_Type | M_vector |
| Pointer of a vector where the value are stored. More... | |
FEScalarField - This class gives an abstract implementation of a finite element scalar field.
This class, derived from FEField, implements the concept of a scalar field associated to a finite element space.
Definition at line 307 of file FEField.hpp.
Definition at line 315 of file FEField.hpp.
| typedef MapType map_Type |
Definition at line 316 of file FEField.hpp.
| typedef Real return_Type |
Definition at line 317 of file FEField.hpp.
| typedef FEField< mesh_Type, map_Type, return_Type > FEField_Type |
Definition at line 319 of file FEField.hpp.
Definition at line 321 of file FEField.hpp.
Definition at line 322 of file FEField.hpp.
| typedef FEField_Type::point_Type point_Type |
Definition at line 324 of file FEField.hpp.
|
inline |
Empty constructor for the class.
Definition at line 332 of file FEField.hpp.
|
inline |
Full constructor for the class.
| fESpace | Finite element space where the field is defined. |
| vector | vector witch represent the solution. |
Definition at line 340 of file FEField.hpp.
|
inline |
Constructor for the class without the vector.
Create the field with the input finite element space and a new vector. The type of the map of the vector is Repeated (default value) or Unique.
| fESpace | Finite element space where the field is defined. |
| mapType | Specify wether the map is Unique or Repeated. Default value: Repeated. |
Definition at line 351 of file FEField.hpp.
|
inline |
Copy constructor.
| field | Finite element field to be copied. |
Definition at line 359 of file FEField.hpp.
|
inlinevirtual |
Virtual destructor.
Definition at line 364 of file FEField.hpp.
|
inlinevirtual |
Eval function.
Evaluate the field on a given point in a given element.
| iElem | Element id in the mesh. |
| point | Point where the field is evaluated, vector format. |
Implements FEField< MeshType, MapType, Real >.
Definition at line 389 of file FEField.hpp.