LifeV
EvaluationDivJ< 2, spaceDim > Class Template Reference

Evaluation of the basis function div(phi_j) in the case of a 2D vectorial FE. More...

#include <EvaluationDivJ.hpp>

+ Collaboration diagram for EvaluationDivJ< 2, spaceDim >:

Private Attributes

std::vector< std::vector< return_Type > > const * M_valuesPtr
 Pointer to the data. More...
 

Public Types

typedef Real return_Type
 The 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_NONE
 Flag for the test current FE. More...
 
static const flag_Type S_solutionUpdateFlag = ET_UPDATE_DIVERGENCE
 Flag for the solution current FE. More...
 

Constructors, destructor

 EvaluationDivJ ()
 Empty constructor. More...
 
 EvaluationDivJ (const EvaluationDivJ &provider)
 Copy constructor. More...
 
 EvaluationDivJ (const ExpressionDivJ &)
 Expression-based constructor. More...
 
 ~EvaluationDivJ ()
 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 *solutionCFE)
 Setter for the solution current FE. More...
 
void setQuadrature (const QuadratureRule &)
 Do nothing setter for the quadrature rule. More...
 

Get Methods

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

Detailed Description

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

Evaluation of the basis function div(phi_j) 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 the solution 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 213 of file EvaluationDivJ.hpp.

Member Typedef Documentation

◆ return_Type

typedef Real return_Type

The type of the values returned by this class.

Definition at line 221 of file EvaluationDivJ.hpp.

Constructor & Destructor Documentation

◆ EvaluationDivJ() [1/3]

EvaluationDivJ ( )
inline

Empty constructor.

Definition at line 245 of file EvaluationDivJ.hpp.

◆ EvaluationDivJ() [2/3]

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

Copy constructor.

Definition at line 248 of file EvaluationDivJ.hpp.

◆ EvaluationDivJ() [3/3]

EvaluationDivJ ( const ExpressionDivJ )
inlineexplicit

Expression-based constructor.

Definition at line 253 of file EvaluationDivJ.hpp.

◆ ~EvaluationDivJ()

~EvaluationDivJ ( )
inline

Destructor.

Definition at line 256 of file EvaluationDivJ.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing internal update.

Definition at line 265 of file EvaluationDivJ.hpp.

◆ display()

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

Display method.

Definition at line 268 of file EvaluationDivJ.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 281 of file EvaluationDivJ.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 285 of file EvaluationDivJ.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Setter for the solution current FE.

Definition at line 289 of file EvaluationDivJ.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Do nothing setter for the quadrature rule.

Definition at line 295 of file EvaluationDivJ.hpp.

◆ value_qij()

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

Getter for the value for a matrix.

Definition at line 304 of file EvaluationDivJ.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 230 of file EvaluationDivJ.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 233 of file EvaluationDivJ.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_DIVERGENCE
static

Flag for the solution current FE.

Definition at line 236 of file EvaluationDivJ.hpp.

◆ M_valuesPtr

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

Pointer to the data.

Definition at line 314 of file EvaluationDivJ.hpp.


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