LifeV
EvaluationMatrix< MatrixDim1, MatrixDim2 > Class Template Reference

Evaluation for a matricial constant. More...

#include <EvaluationMatrix.hpp>

+ Collaboration diagram for EvaluationMatrix< MatrixDim1, MatrixDim2 >:

Private Attributes

MatrixSmall< MatrixDim1, MatrixDim2 > M_value
 

Public Types

typedef MatrixSmall< MatrixDim1, MatrixDim2 > 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

 EvaluationMatrix ()
 Empty constructor. More...
 
 EvaluationMatrix (const EvaluationMatrix< MatrixDim1, MatrixDim2 > &evaluation)
 Copy constructor. More...
 
 EvaluationMatrix (const ExpressionMatrix< MatrixDim1, MatrixDim2 > &expression)
 Expression-based constructor. More...
 
 ~EvaluationMatrix ()
 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 MatrixDim1, UInt MatrixDim2>
class LifeV::ExpressionAssembly::EvaluationMatrix< MatrixDim1, MatrixDim2 >

Evaluation for a matricial 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 matricial 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 EvaluationMatrix.hpp.

Member Typedef Documentation

◆ return_Type

typedef MatrixSmall<MatrixDim1, MatrixDim2> return_Type

Type of the value returned by this class.

Definition at line 73 of file EvaluationMatrix.hpp.

Constructor & Destructor Documentation

◆ EvaluationMatrix() [1/3]

EvaluationMatrix ( )
inline

Empty constructor.

Definition at line 97 of file EvaluationMatrix.hpp.

◆ EvaluationMatrix() [2/3]

EvaluationMatrix ( const EvaluationMatrix< MatrixDim1, MatrixDim2 > &  evaluation)
inline

Copy constructor.

Definition at line 101 of file EvaluationMatrix.hpp.

◆ EvaluationMatrix() [3/3]

EvaluationMatrix ( const ExpressionMatrix< MatrixDim1, MatrixDim2 > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 106 of file EvaluationMatrix.hpp.

◆ ~EvaluationMatrix()

~EvaluationMatrix ( )
inline

Destructor.

Definition at line 111 of file EvaluationMatrix.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing internal update.

Definition at line 121 of file EvaluationMatrix.hpp.

◆ display()

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

Display method.

Definition at line 125 of file EvaluationMatrix.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 138 of file EvaluationMatrix.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 143 of file EvaluationMatrix.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 148 of file EvaluationMatrix.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Setter for the quadrature rule.

Definition at line 152 of file EvaluationMatrix.hpp.

◆ value_q()

return_Type value_q ( const UInt ) const
inline

Getter for a value.

Definition at line 162 of file EvaluationMatrix.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 EvaluationMatrix.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 EvaluationMatrix.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 EvaluationMatrix.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 85 of file EvaluationMatrix.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 88 of file EvaluationMatrix.hpp.

◆ M_value

MatrixSmall<MatrixDim1, MatrixDim2> M_value
private

Definition at line 184 of file EvaluationMatrix.hpp.


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