LifeV
|
Evaluation for a generic functor with 1 argument. More...
#include <EvaluationFunctor.hpp>
Private Attributes | |
std::shared_ptr< FunctorType > | M_functor |
ArgumentEvaluationType | M_evaluation |
Public Types | |
typedef FunctorType::return_Type | return_Type |
Type of the values returned by this class. More... | |
Static constants | |
static const flag_Type | S_globalUpdateFlag = ArgumentEvaluationType::S_globalUpdateFlag |
Flag for the global current FE. More... | |
static const flag_Type | S_testUpdateFlag = ArgumentEvaluationType::S_testUpdateFlag |
Flag for the test current FE. More... | |
static const flag_Type | S_solutionUpdateFlag = ArgumentEvaluationType::S_solutionUpdateFlag |
Flag for the solution current FE. More... | |
Constructors, destructor | |
EvaluationFunctor1 (const EvaluationFunctor1< FunctorType, ArgumentEvaluationType > &eval) | |
Copy constructor. More... | |
template<typename Argument > | |
EvaluationFunctor1 (const ExpressionFunctor1< FunctorType, Argument > &expression) | |
Constructor from the corresponding expression. More... | |
~EvaluationFunctor1 () | |
Destructor. More... | |
Methods | |
void | update (const UInt &iElement) |
Internal update. More... | |
static void | display (std::ostream &out=std::cout) |
Display method. More... | |
Set Methods | |
template<typename CFEType > | |
void | setGlobalCFE (const CFEType *globalCFE) |
Setter for the global current FE. More... | |
template<typename CFEType > | |
void | setTestCFE (const CFEType *testCFE) |
Setter for the test current FE. More... | |
template<typename CFEType > | |
void | setSolutionCFE (const CFEType *solutionCFE) |
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 &i) const |
Getter for the value for a vector. More... | |
return_Type | value_qij (const UInt &q, const UInt &i, const UInt &j) const |
Getter for the value for a matrix. More... | |
Private Methods | |
EvaluationFunctor1 () | |
No empty constructor. More... | |
Evaluation for a generic functor with 1 argument.
This class aims at representing a functor with 1 arguement during the assembly
This class is an Evaluation class, and therefore, has all the methods required to work within the Evaluation trees.
Template requirement
There are two template arguments for this class: The functor and the ArgumentEvaluationType.
FunctorType The functor has to be copiable, must implement the operator() const, has a type named ReturnType, the operator() must return a ReturnType.
Argument Evaluation It has to be an Evaluation class.
Definition at line 72 of file EvaluationFunctor.hpp.
typedef FunctorType::return_Type return_Type |
Type of the values returned by this class.
Definition at line 80 of file EvaluationFunctor.hpp.
|
inline |
Copy constructor.
Definition at line 104 of file EvaluationFunctor.hpp.
|
inlineexplicit |
Constructor from the corresponding expression.
Definition at line 111 of file EvaluationFunctor.hpp.
|
inline |
Destructor.
Definition at line 117 of file EvaluationFunctor.hpp.
|
private |
No empty constructor.
|
inline |
Internal update.
Definition at line 127 of file EvaluationFunctor.hpp.
|
inlinestatic |
Display method.
Definition at line 133 of file EvaluationFunctor.hpp.
|
inline |
Setter for the global current FE.
Definition at line 148 of file EvaluationFunctor.hpp.
|
inline |
Setter for the test current FE.
Definition at line 155 of file EvaluationFunctor.hpp.
|
inline |
Setter for the solution current FE.
Definition at line 162 of file EvaluationFunctor.hpp.
|
inline |
Setter for the quadrature rule.
Definition at line 168 of file EvaluationFunctor.hpp.
|
inline |
Getter for a value.
Definition at line 180 of file EvaluationFunctor.hpp.
|
inline |
Getter for the value for a vector.
Definition at line 186 of file EvaluationFunctor.hpp.
|
inline |
Getter for the value for a matrix.
Definition at line 192 of file EvaluationFunctor.hpp.
|
static |
Flag for the global current FE.
Definition at line 89 of file EvaluationFunctor.hpp.
|
static |
Flag for the test current FE.
Definition at line 92 of file EvaluationFunctor.hpp.
|
static |
Flag for the solution current FE.
Definition at line 95 of file EvaluationFunctor.hpp.
|
private |
Definition at line 210 of file EvaluationFunctor.hpp.
|
private |
Definition at line 211 of file EvaluationFunctor.hpp.