LifeV
EvaluationExtract2< EvaluationType > Class Template Reference

Evaluation for the extraction of a component from a matrix. More...

#include <EvaluationExtract2.hpp>

+ Collaboration diagram for EvaluationExtract2< EvaluationType >:

Private Attributes

UInt M_i
 
UInt M_j
 
EvaluationType M_evaluation
 

Public Types

typedef OperationSmallExtract2< typename EvaluationType::return_Type >::result_Type return_Type
 Type of the values returned by this class. More...
 

Static constants

static const flag_Type S_globalUpdateFlag = EvaluationType::S_globalUpdateFlag
 Flag for the global current FE. More...
 
static const flag_Type S_testUpdateFlag = EvaluationType::S_testUpdateFlag
 Flag for the test current FE. More...
 
static const flag_Type S_solutionUpdateFlag = EvaluationType::S_solutionUpdateFlag
 Flag for the solution current FE. More...
 

Constructors, destructor

 EvaluationExtract2 (const EvaluationExtract2< EvaluationType > &eval)
 Copy constructor. More...
 
template<typename Expression >
 EvaluationExtract2 (const ExpressionExtract2< Expression > &expression)
 Constructor from the corresponding expression. More...
 
 ~EvaluationExtract2 ()
 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

 EvaluationExtract2 ()
 No empty constructor. More...
 

Detailed Description

template<typename EvaluationType>
class LifeV::ExpressionAssembly::EvaluationExtract2< EvaluationType >

Evaluation for the extraction of a component from a matrix.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch

This class aims at representing the extraction of a component from a matrix in the assembly.

This class is an Evaluation class, and therefore, has all the methods required to work within the Evaluation trees.

Template requirement

There is one template argument for this class: The EvaluationType.

EvaluationType It has to be an Evaluation class.

Definition at line 72 of file EvaluationExtract2.hpp.

Member Typedef Documentation

◆ return_Type

typedef OperationSmallExtract2< typename EvaluationType::return_Type >::result_Type return_Type

Type of the values returned by this class.

Definition at line 80 of file EvaluationExtract2.hpp.

Constructor & Destructor Documentation

◆ EvaluationExtract2() [1/3]

EvaluationExtract2 ( const EvaluationExtract2< EvaluationType > &  eval)
inline

Copy constructor.

Definition at line 104 of file EvaluationExtract2.hpp.

◆ EvaluationExtract2() [2/3]

EvaluationExtract2 ( const ExpressionExtract2< Expression > &  expression)
inlineexplicit

Constructor from the corresponding expression.

Definition at line 112 of file EvaluationExtract2.hpp.

◆ ~EvaluationExtract2()

~EvaluationExtract2 ( )
inline

Destructor.

Definition at line 119 of file EvaluationExtract2.hpp.

◆ EvaluationExtract2() [3/3]

EvaluationExtract2 ( )
private

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Internal update.

Definition at line 129 of file EvaluationExtract2.hpp.

◆ display()

static void display ( std::ostream &  out = std::cout)
inlinestatic

Display method.

Definition at line 135 of file EvaluationExtract2.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  globalCFE)
inline

Setter for the global current FE.

Definition at line 149 of file EvaluationExtract2.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 156 of file EvaluationExtract2.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Setter for the solution current FE.

Definition at line 163 of file EvaluationExtract2.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 169 of file EvaluationExtract2.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

Definition at line 181 of file EvaluationExtract2.hpp.

◆ value_qi()

return_Type value_qi ( const UInt q,
const UInt i 
) const
inline

Getter for the value for a vector.

Definition at line 187 of file EvaluationExtract2.hpp.

◆ value_qij()

return_Type value_qij ( const UInt q,
const UInt i,
const UInt j 
) const
inline

Getter for the value for a matrix.

Definition at line 193 of file EvaluationExtract2.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = EvaluationType::S_globalUpdateFlag
static

Flag for the global current FE.

Definition at line 89 of file EvaluationExtract2.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = EvaluationType::S_testUpdateFlag
static

Flag for the test current FE.

Definition at line 92 of file EvaluationExtract2.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = EvaluationType::S_solutionUpdateFlag
static

Flag for the solution current FE.

Definition at line 95 of file EvaluationExtract2.hpp.

◆ M_i

UInt M_i
private

Definition at line 211 of file EvaluationExtract2.hpp.

◆ M_j

UInt M_j
private

Definition at line 212 of file EvaluationExtract2.hpp.

◆ M_evaluation

EvaluationType M_evaluation
private

Definition at line 214 of file EvaluationExtract2.hpp.


The documentation for this class was generated from the following file: