LifeV
EvaluationVectorFromNonConstantMatrix< EvaluationType, SpaceDim, FieldDim > Class Template Reference

Evaluation for a vectorial constant. More...

#include <EvaluationVectorFromNonConstantMatrix.hpp>

+ Collaboration diagram for EvaluationVectorFromNonConstantMatrix< EvaluationType, SpaceDim, FieldDim >:

Private Attributes

EvaluationType M_evaluation
 
UInt M_column
 

Public Types

typedef VectorSmall< FieldDim > return_Type
 Type of the value returned by this class. More...
 
typedef MatrixSmall< FieldDim, SpaceDim > matrix_Type
 

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

 EvaluationVectorFromNonConstantMatrix (const EvaluationVectorFromNonConstantMatrix< EvaluationType, SpaceDim, FieldDim > &evaluation)
 Copy constructor. More...
 
template<typename Expression >
 EvaluationVectorFromNonConstantMatrix (const ExpressionVectorFromNonConstantMatrix< Expression, SpaceDim, FieldDim > &expression)
 Expression-based constructor. More...
 
 ~EvaluationVectorFromNonConstantMatrix ()
 Destructor. More...
 

Methods

void update (const UInt &iElement)
 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 *globalCFE)
 Do nothing setter for the global current FE. More...
 
template<typename CFEType >
void setTestCFE (const CFEType *testCFE)
 Do nothing setter for the test current FE. More...
 
template<typename CFEType >
void setSolutionCFE (const CFEType *solutionCFE)
 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 &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...
 

Detailed Description

template<typename EvaluationType, UInt SpaceDim, UInt FieldDim>
class LifeV::ExpressionAssembly::EvaluationVectorFromNonConstantMatrix< EvaluationType, SpaceDim, FieldDim >

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 61 of file EvaluationVectorFromNonConstantMatrix.hpp.

Member Typedef Documentation

◆ return_Type

typedef VectorSmall<FieldDim> return_Type

Type of the value returned by this class.

Definition at line 69 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ matrix_Type

typedef MatrixSmall<FieldDim, SpaceDim> matrix_Type

Definition at line 70 of file EvaluationVectorFromNonConstantMatrix.hpp.

Constructor & Destructor Documentation

◆ EvaluationVectorFromNonConstantMatrix() [1/2]

EvaluationVectorFromNonConstantMatrix ( const EvaluationVectorFromNonConstantMatrix< EvaluationType, SpaceDim, FieldDim > &  evaluation)
inline

Copy constructor.

Definition at line 94 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ EvaluationVectorFromNonConstantMatrix() [2/2]

EvaluationVectorFromNonConstantMatrix ( const ExpressionVectorFromNonConstantMatrix< Expression, SpaceDim, FieldDim > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 100 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ ~EvaluationVectorFromNonConstantMatrix()

Destructor.

Definition at line 105 of file EvaluationVectorFromNonConstantMatrix.hpp.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Do nothing internal update.

Definition at line 115 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ display()

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

Display method.

Definition at line 121 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  globalCFE)
inline

Do nothing setter for the global current FE.

Definition at line 134 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Do nothing setter for the test current FE.

Definition at line 141 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Do nothing setter for the solution current FE.

Definition at line 148 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 154 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

Definition at line 166 of file EvaluationVectorFromNonConstantMatrix.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 172 of file EvaluationVectorFromNonConstantMatrix.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 178 of file EvaluationVectorFromNonConstantMatrix.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = EvaluationType::S_globalUpdateFlag
static

Flag for the global current FE.

Definition at line 79 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = EvaluationType::S_testUpdateFlag
static

Flag for the test current FE.

Definition at line 82 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = EvaluationType::S_solutionUpdateFlag
static

Flag for the solution current FE.

Definition at line 85 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ M_evaluation

EvaluationType M_evaluation
private

Definition at line 188 of file EvaluationVectorFromNonConstantMatrix.hpp.

◆ M_column

UInt M_column
private

Definition at line 189 of file EvaluationVectorFromNonConstantMatrix.hpp.


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