![]() |
LifeV
|
FEVectorField - This class gives an abstract implementation of a finite element vector field. More...
#include <FEField.hpp>
Inheritance diagram for FEVectorField< MeshType, MapType >:
Collaboration diagram for FEVectorField< MeshType, MapType >:Public Types | |
| typedef MeshType | mesh_Type |
| typedef MapType | map_Type |
| typedef Vector | 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 | |
| FEVectorField () | |
| Empty constructor for the class. More... | |
| FEVectorField (const FESpacePtr_Type &fESpace, const vectorPtr_Type &vector) | |
| Full constructor for the class. More... | |
| FEVectorField (const FESpacePtr_Type &fESpace, const MapEpetraType &mapType=Repeated) | |
| Constructor for the class without the vector. More... | |
| FEVectorField (const FEVectorField &field) | |
| Copy constructor. More... | |
| virtual | ~FEVectorField () |
| Virtual destructor. More... | |
Opertors | |
| 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, Vector > | |
| typedef MeshType | mesh_Type |
| typedef MapType | map_Type |
| typedef Vector | 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, Vector > | |
| 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, Vector > | |
| 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... | |
FEVectorField - This class gives an abstract implementation of a finite element vector field.
This class, derived from FEField, implements the concept of a vector field associated to a finite element space.
Definition at line 405 of file FEField.hpp.
Definition at line 414 of file FEField.hpp.
| typedef MapType map_Type |
Definition at line 415 of file FEField.hpp.
| typedef Vector return_Type |
Definition at line 416 of file FEField.hpp.
| typedef FEField< mesh_Type, map_Type, return_Type > FEField_Type |
Definition at line 418 of file FEField.hpp.
Definition at line 420 of file FEField.hpp.
Definition at line 421 of file FEField.hpp.
| typedef FEField_Type::point_Type point_Type |
Definition at line 423 of file FEField.hpp.
|
inline |
Empty constructor for the class.
Definition at line 431 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 439 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 450 of file FEField.hpp.
|
inline |
Copy constructor.
| field | Finite element field to be copied. |
Definition at line 458 of file FEField.hpp.
|
inlinevirtual |
Virtual destructor.
Definition at line 463 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, Vector >.
Definition at line 486 of file FEField.hpp.