LifeV
|
Evaluation for the interpolation of a FE function. More...
#include <EvaluationInterpolateGradient.hpp>
Private Attributes | |
fespacePtr_Type | M_fespace |
Data storage. More... | |
vector_Type | M_vector |
QuadratureRule * | M_quadrature |
ETCurrentFE< SpaceDim, FieldDim > | M_currentFE |
Structure for the computations. More... | |
std::vector< return_Type > | M_interpolatedGradients |
Storage for the temporary values. More... | |
Public Types | |
typedef MatrixSmall< FieldDim, SpaceDim > | return_Type |
Type of the value returned by this class. More... | |
typedef ETFESpace< MeshType, MapType, SpaceDim, FieldDim > | fespace_Type |
Type of the FESpace to be used in this class. More... | |
typedef std::shared_ptr< fespace_Type > | fespacePtr_Type |
Type of the pointer on the FESpace. More... | |
typedef VectorEpetra | vector_Type |
Type of the vector to be used. More... | |
Static constants | |
static const flag_Type | S_globalUpdateFlag = ET_UPDATE_NONE |
Flag for the global current FE. More... | |
static const flag_Type | S_testUpdateFlag = ET_UPDATE_NONE |
Flag for the test current FE. More... | |
static const flag_Type | S_solutionUpdateFlag = ET_UPDATE_NONE |
Flag for the solution current FE. More... | |
Constructors, destructor | |
EvaluationInterpolateGradient (const EvaluationInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim > &evaluation) | |
Copy constructor. More... | |
EvaluationInterpolateGradient (const ExpressionInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim > &expression) | |
Expression-based constructor. More... | |
~EvaluationInterpolateGradient () | |
Destructor. More... | |
Methods | |
void | update (const UInt &iElement) |
Internal update: computes the interpolated gradients. More... | |
void | zero () |
Erase the interpolated gradients stored internally. More... | |
void | showValues () const |
Show the values. More... | |
static void | display (std::ostream &out=std::cout) |
Display method. More... | |
Set Methods | |
template<typename CFEType > | |
void | setGlobalCFE (const CFEType *) |
Do nothing setter for the global current FE. More... | |
template<typename CFEType > | |
void | setTestCFE (const CFEType *) |
Do nothing setter for the test current FE. More... | |
template<typename CFEType > | |
void | setSolutionCFE (const CFEType *) |
Do nothing setter for the solution current FE. More... | |
void | setQuadrature (const QuadratureRule &qr) |
Setter for the quadrature rule. More... | |
Get Methods | |
return_Type | value_q (const UInt &q) const |
Getter for a value. More... | |
return_Type | value_qi (const UInt &q, const UInt &) const |
Getter for the value for a vector. More... | |
return_Type | value_qij (const UInt &q, const UInt &, const UInt &) const |
Getter for the value for a matrix. More... | |
Private Methods | |
EvaluationInterpolateGradient () | |
No empty constructor. More... | |
Evaluation for the interpolation of a FE function.
This class aims at representing an interpolated FE value.
This is the generic implementation, so representing a vectorial FE
This class is an Evaluation class, and therefore, has all the methods required to work within the Evaluation trees.
!! NOT DEFINED YET !! (Reason: miss SimpleTensor)
Definition at line 75 of file EvaluationInterpolateGradient.hpp.
typedef MatrixSmall<FieldDim, SpaceDim> return_Type |
Type of the value returned by this class.
Definition at line 83 of file EvaluationInterpolateGradient.hpp.
typedef ETFESpace<MeshType, MapType, SpaceDim, FieldDim> fespace_Type |
Type of the FESpace to be used in this class.
Definition at line 86 of file EvaluationInterpolateGradient.hpp.
typedef std::shared_ptr<fespace_Type> fespacePtr_Type |
Type of the pointer on the FESpace.
Definition at line 89 of file EvaluationInterpolateGradient.hpp.
typedef VectorEpetra vector_Type |
Type of the vector to be used.
Definition at line 92 of file EvaluationInterpolateGradient.hpp.
|
inline |
Copy constructor.
Definition at line 116 of file EvaluationInterpolateGradient.hpp.
|
inlineexplicit |
Expression-based constructor.
Definition at line 131 of file EvaluationInterpolateGradient.hpp.
|
inline |
Destructor.
Definition at line 141 of file EvaluationInterpolateGradient.hpp.
|
private |
No empty constructor.
|
inline |
Internal update: computes the interpolated gradients.
Definition at line 155 of file EvaluationInterpolateGradient.hpp.
|
inline |
Erase the interpolated gradients stored internally.
Definition at line 182 of file EvaluationInterpolateGradient.hpp.
|
inline |
Show the values.
Definition at line 197 of file EvaluationInterpolateGradient.hpp.
|
inlinestatic |
Display method.
Definition at line 208 of file EvaluationInterpolateGradient.hpp.
|
inline |
Do nothing setter for the global current FE.
Definition at line 221 of file EvaluationInterpolateGradient.hpp.
|
inline |
Do nothing setter for the test current FE.
Definition at line 226 of file EvaluationInterpolateGradient.hpp.
|
inline |
Do nothing setter for the solution current FE.
Definition at line 231 of file EvaluationInterpolateGradient.hpp.
|
inline |
Setter for the quadrature rule.
Definition at line 235 of file EvaluationInterpolateGradient.hpp.
|
inline |
Getter for a value.
Definition at line 253 of file EvaluationInterpolateGradient.hpp.
|
inline |
Getter for the value for a vector.
Definition at line 259 of file EvaluationInterpolateGradient.hpp.
|
inline |
Getter for the value for a matrix.
Definition at line 265 of file EvaluationInterpolateGradient.hpp.
|
static |
Flag for the global current FE.
Definition at line 101 of file EvaluationInterpolateGradient.hpp.
|
static |
Flag for the test current FE.
Definition at line 104 of file EvaluationInterpolateGradient.hpp.
|
static |
Flag for the solution current FE.
Definition at line 107 of file EvaluationInterpolateGradient.hpp.
|
private |
Data storage.
Definition at line 284 of file EvaluationInterpolateGradient.hpp.
|
private |
Definition at line 285 of file EvaluationInterpolateGradient.hpp.
|
private |
Definition at line 286 of file EvaluationInterpolateGradient.hpp.
|
private |
Structure for the computations.
Definition at line 289 of file EvaluationInterpolateGradient.hpp.
|
private |
Storage for the temporary values.
Definition at line 292 of file EvaluationInterpolateGradient.hpp.