LifeV
EvaluationVector< VectorDim > Class Template Reference

Evaluation for a vectorial constant. More...

#include <EvaluationVector.hpp>

+ Collaboration diagram for EvaluationVector< VectorDim >:

Private Attributes

VectorSmall< VectorDim > M_value
 

Public Types

typedef VectorSmall< VectorDim > return_Type
 Type of the value returned by this class. 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

 EvaluationVector ()
 Empty constructor. More...
 
 EvaluationVector (const EvaluationVector< VectorDim > &evaluation)
 Copy constructor. More...
 
 EvaluationVector (const ExpressionVector< VectorDim > &expression)
 Expression-based constructor. More...
 
 ~EvaluationVector ()
 Destructor. More...
 

Methods

void update (const UInt &)
 Do nothing internal update. 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 &)
 Setter for the quadrature rule. More...
 

Get Methods

return_Type value_q (const UInt &) const
 Getter for a value. More...
 
return_Type value_qi (const UInt &, const UInt &) const
 Getter for the value for a vector. More...
 
return_Type value_qij (const UInt &, const UInt &, const UInt &) const
 Getter for the value for a matrix. More...
 

Detailed Description

template<UInt VectorDim>
class LifeV::ExpressionAssembly::EvaluationVector< VectorDim >

Evaluation for a vectorial constant.

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

This class aims at representing a vectorial constant in the assembly

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

Definition at line 65 of file EvaluationVector.hpp.

Member Typedef Documentation

◆ return_Type

typedef VectorSmall<VectorDim> return_Type

Type of the value returned by this class.

Definition at line 73 of file EvaluationVector.hpp.

Constructor & Destructor Documentation

◆ EvaluationVector() [1/3]

EvaluationVector ( )
inline

Empty constructor.

Definition at line 97 of file EvaluationVector.hpp.

◆ EvaluationVector() [2/3]

EvaluationVector ( const EvaluationVector< VectorDim > &  evaluation)
inline

Copy constructor.

Definition at line 101 of file EvaluationVector.hpp.

◆ EvaluationVector() [3/3]

EvaluationVector ( const ExpressionVector< VectorDim > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 106 of file EvaluationVector.hpp.

◆ ~EvaluationVector()

~EvaluationVector ( )
inline

Destructor.

Definition at line 111 of file EvaluationVector.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing internal update.

Definition at line 121 of file EvaluationVector.hpp.

◆ display()

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

Display method.

Definition at line 125 of file EvaluationVector.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 138 of file EvaluationVector.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 143 of file EvaluationVector.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 148 of file EvaluationVector.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Setter for the quadrature rule.

Definition at line 152 of file EvaluationVector.hpp.

◆ value_q()

return_Type value_q ( const UInt ) const
inline

Getter for a value.

Definition at line 162 of file EvaluationVector.hpp.

◆ value_qi()

return_Type value_qi ( const UInt ,
const UInt  
) const
inline

Getter for the value for a vector.

Definition at line 168 of file EvaluationVector.hpp.

◆ value_qij()

return_Type value_qij ( const UInt ,
const UInt ,
const UInt  
) const
inline

Getter for the value for a matrix.

Definition at line 174 of file EvaluationVector.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 82 of file EvaluationVector.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 85 of file EvaluationVector.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 88 of file EvaluationVector.hpp.

◆ M_value

VectorSmall<VectorDim> M_value
private

Definition at line 184 of file EvaluationVector.hpp.


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