LifeV
EvaluationDivI< 2, spaceDim > Class Template Reference

Evaluation of the basis function divergence in the case of a 2D vectorial FE. More...

#include <EvaluationDivI.hpp>

+ Collaboration diagram for EvaluationDivI< 2, spaceDim >:

Private Attributes

std::vector< std::vector< return_Type > > const * M_valuesPtr
 Storage of the pointer to the data. More...
 

Public Types

typedef Real return_Type
 Type of the values 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_DIVERGENCE
 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

 EvaluationDivI ()
 Empty constructor. More...
 
 EvaluationDivI (const EvaluationDivI< 2, spaceDim > &provider)
 Copy constructor. More...
 
 EvaluationDivI (const ExpressionDivI &)
 Expression-based constructor. More...
 
 ~EvaluationDivI ()
 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 *testCFE)
 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 &)
 Do nothing setter for the quadrature rule. More...
 

Get Methods

const return_Typevalue_qi (const UInt &q, const UInt &i) const
 Getter for the value for a vector. More...
 
const return_Typevalue_qij (const UInt &q, const UInt &i, const UInt &) const
 Getter for the value for a matrix. More...
 

Detailed Description

template<UInt spaceDim>
class LifeV::ExpressionAssembly::EvaluationDivI< 2, spaceDim >

Evaluation of the basis function divergence in the case of a 2D vectorial FE.

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 divergence of a test function 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 222 of file EvaluationDivI.hpp.

Member Typedef Documentation

◆ return_Type

typedef Real return_Type

Type of the values returned by this class.

Definition at line 230 of file EvaluationDivI.hpp.

Constructor & Destructor Documentation

◆ EvaluationDivI() [1/3]

EvaluationDivI ( )
inline

Empty constructor.

Definition at line 254 of file EvaluationDivI.hpp.

◆ EvaluationDivI() [2/3]

EvaluationDivI ( const EvaluationDivI< 2, spaceDim > &  provider)
inline

Copy constructor.

Definition at line 257 of file EvaluationDivI.hpp.

◆ EvaluationDivI() [3/3]

EvaluationDivI ( const ExpressionDivI )
inlineexplicit

Expression-based constructor.

Definition at line 260 of file EvaluationDivI.hpp.

◆ ~EvaluationDivI()

~EvaluationDivI ( )
inline

Destructor.

Definition at line 263 of file EvaluationDivI.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing internal update.

Definition at line 272 of file EvaluationDivI.hpp.

◆ display()

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

Display method.

Definition at line 275 of file EvaluationDivI.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 288 of file EvaluationDivI.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 292 of file EvaluationDivI.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 300 of file EvaluationDivI.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Do nothing setter for the quadrature rule.

Definition at line 303 of file EvaluationDivI.hpp.

◆ value_qi()

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

Getter for the value for a vector.

Definition at line 312 of file EvaluationDivI.hpp.

◆ value_qij()

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

Getter for the value for a matrix.

Definition at line 320 of file EvaluationDivI.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 239 of file EvaluationDivI.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_DIVERGENCE
static

Flag for the test current FE.

Definition at line 242 of file EvaluationDivI.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 245 of file EvaluationDivI.hpp.

◆ M_valuesPtr

std::vector< std::vector < return_Type > > const* M_valuesPtr
private

Storage of the pointer to the data.

Definition at line 332 of file EvaluationDivI.hpp.


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