LifeV
|
Evaluation for a generic functor with 2 arguments. More...
#include <EvaluationFunctor.hpp>
Private Attributes | |
std::shared_ptr< FunctorType > | M_functor |
Argument1EvaluationType | M_evaluation1 |
Argument2EvaluationType | M_evaluation2 |
Public Types | |
typedef FunctorType::return_Type | return_Type |
Type returned by this class. More... | |
Static constants | |
static const flag_Type | S_globalUpdateFlag = Argument1EvaluationType::S_globalUpdateFlag | Argument2EvaluationType::S_globalUpdateFlag |
Flag for the global current FE. More... | |
static const flag_Type | S_testUpdateFlag = Argument1EvaluationType::S_testUpdateFlag | Argument2EvaluationType::S_testUpdateFlag |
Flag for the test current FE. More... | |
static const flag_Type | S_solutionUpdateFlag = Argument1EvaluationType::S_solutionUpdateFlag | Argument2EvaluationType::S_solutionUpdateFlag |
Flag for the solution current FE. More... | |
Constructors, destructor | |
EvaluationFunctor2 (const EvaluationFunctor2< FunctorType, Argument1EvaluationType, Argument2EvaluationType > &eval) | |
Copy constructor. More... | |
template<typename Argument1 , typename Argument2 > | |
EvaluationFunctor2 (const ExpressionFunctor2< FunctorType, Argument1, Argument2 > &expression) | |
Constructor from the corresponding expression. More... | |
~EvaluationFunctor2 () | |
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 | |
EvaluationFunctor2 () | |
No empty constructor. More... | |
Evaluation for a generic functor with 2 arguments.
This class aims at representing a functor with 2 arguements 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 return_Type, the operator() must return a return_Type.
Argument1EvaluationType It has to be an Evaluation class.
Argument2EvaluationType It has to be an Evaluation class.
Definition at line 251 of file EvaluationFunctor.hpp.
typedef FunctorType::return_Type return_Type |
Type returned by this class.
Definition at line 259 of file EvaluationFunctor.hpp.
|
inline |
Copy constructor.
Definition at line 283 of file EvaluationFunctor.hpp.
|
inlineexplicit |
Constructor from the corresponding expression.
Definition at line 291 of file EvaluationFunctor.hpp.
|
inline |
Destructor.
Definition at line 297 of file EvaluationFunctor.hpp.
|
private |
No empty constructor.
|
inline |
Internal update.
Definition at line 307 of file EvaluationFunctor.hpp.
|
inlinestatic |
Display method.
Definition at line 314 of file EvaluationFunctor.hpp.
|
inline |
Setter for the global current FE.
Definition at line 331 of file EvaluationFunctor.hpp.
|
inline |
Setter for the test current FE.
Definition at line 339 of file EvaluationFunctor.hpp.
|
inline |
Setter for the solution current FE.
Definition at line 347 of file EvaluationFunctor.hpp.
|
inline |
Setter for the quadrature rule.
Definition at line 354 of file EvaluationFunctor.hpp.
|
inline |
Getter for a value.
Definition at line 367 of file EvaluationFunctor.hpp.
|
inline |
Getter for the value for a vector.
Definition at line 373 of file EvaluationFunctor.hpp.
|
inline |
Getter for the value for a matrix.
Definition at line 379 of file EvaluationFunctor.hpp.
|
static |
Flag for the global current FE.
Definition at line 268 of file EvaluationFunctor.hpp.
|
static |
Flag for the test current FE.
Definition at line 271 of file EvaluationFunctor.hpp.
|
static |
Flag for the solution current FE.
Definition at line 274 of file EvaluationFunctor.hpp.
|
private |
Definition at line 398 of file EvaluationFunctor.hpp.
|
private |
Definition at line 399 of file EvaluationFunctor.hpp.
|
private |
Definition at line 400 of file EvaluationFunctor.hpp.