LifeV
EvaluationPatchArea< MeshType, MapType, SpaceDim, FieldDim > Class Template Reference

Evaluation for the interpolation of a FE function. More...

#include <EvaluationPatchArea.hpp>

+ Collaboration diagram for EvaluationPatchArea< MeshType, MapType, SpaceDim, FieldDim >:

Private Attributes

ETFESpacePtr_Type M_fespace
 
QuadratureRuleM_quadrature
 
ETCurrentFE< SpaceDim, 1 > M_currentFE
 
std::vector< return_TypeM_patchArea
 

Public Types

typedef VectorSmall< FieldDim > return_Type
 Type of the value returned by this class. More...
 
typedef ETFESpace< MeshType, MapType, SpaceDim, FieldDim > ETFESpace_Type
 
typedef boost::shared_ptr< ETFESpace_TypeETFESpacePtr_Type
 

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

 EvaluationPatchArea (const EvaluationPatchArea &evaluation)
 Copy constructor. More...
 
 EvaluationPatchArea (const ExpressionPatchArea< MeshType, MapType, SpaceDim, FieldDim > &expression)
 Expression-based constructor. More...
 
 ~EvaluationPatchArea ()
 Destructor. More...
 

Methods

void update (const UInt &iElement)
 Interal update, computes the interpolated values. More...
 
void zero ()
 Erase all the interpolated values stored internally. More...
 
void showValues () const
 Show the values interpolated. 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 &qr)
 Setter for the quadrature rule (deep copy) 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 &) const
 Getter for the value for a vector. More...
 
return_Type value_qij (const UInt &q, const UInt &, const UInt &) const
 Getter for the value for a matrix. More...
 

Private Methods

 EvaluationPatchArea ()
 No empty constructor. More...
 

Detailed Description

template<typename MeshType, typename MapType, UInt SpaceDim, UInt FieldDim>
class LifeV::ExpressionAssembly::EvaluationPatchArea< MeshType, MapType, SpaceDim, FieldDim >

Evaluation for the interpolation of a FE function.

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

This class aims at representing an interpolated FE value.

This is the generic implementation, so representing a vectorial FE

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

Definition at line 72 of file EvaluationPatchArea.hpp.

Member Typedef Documentation

◆ return_Type

typedef VectorSmall<FieldDim> return_Type

Type of the value returned by this class.

Definition at line 80 of file EvaluationPatchArea.hpp.

◆ ETFESpace_Type

typedef ETFESpace<MeshType, MapType, SpaceDim, FieldDim> ETFESpace_Type

Definition at line 81 of file EvaluationPatchArea.hpp.

◆ ETFESpacePtr_Type

typedef boost::shared_ptr<ETFESpace_Type> ETFESpacePtr_Type

Definition at line 82 of file EvaluationPatchArea.hpp.

Constructor & Destructor Documentation

◆ EvaluationPatchArea() [1/3]

EvaluationPatchArea ( const EvaluationPatchArea< MeshType, MapType, SpaceDim, FieldDim > &  evaluation)
inline

Copy constructor.

Definition at line 105 of file EvaluationPatchArea.hpp.

◆ EvaluationPatchArea() [2/3]

EvaluationPatchArea ( const ExpressionPatchArea< MeshType, MapType, SpaceDim, FieldDim > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 121 of file EvaluationPatchArea.hpp.

◆ ~EvaluationPatchArea()

~EvaluationPatchArea ( )
inline

Destructor.

Definition at line 130 of file EvaluationPatchArea.hpp.

◆ EvaluationPatchArea() [3/3]

EvaluationPatchArea ( )
private

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Interal update, computes the interpolated values.

Definition at line 145 of file EvaluationPatchArea.hpp.

◆ zero()

void zero ( )
inline

Erase all the interpolated values stored internally.

Definition at line 166 of file EvaluationPatchArea.hpp.

◆ showValues()

void showValues ( ) const
inline

Show the values interpolated.

Definition at line 178 of file EvaluationPatchArea.hpp.

◆ display()

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

Display method.

Definition at line 189 of file EvaluationPatchArea.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 202 of file EvaluationPatchArea.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 207 of file EvaluationPatchArea.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 212 of file EvaluationPatchArea.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule (deep copy)

Definition at line 216 of file EvaluationPatchArea.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

Definition at line 234 of file EvaluationPatchArea.hpp.

◆ value_qi()

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

Getter for the value for a vector.

Definition at line 240 of file EvaluationPatchArea.hpp.

◆ value_qij()

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

Getter for the value for a matrix.

Definition at line 246 of file EvaluationPatchArea.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 90 of file EvaluationPatchArea.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 93 of file EvaluationPatchArea.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 96 of file EvaluationPatchArea.hpp.

◆ M_fespace

ETFESpacePtr_Type M_fespace
private

Definition at line 263 of file EvaluationPatchArea.hpp.

◆ M_quadrature

QuadratureRule* M_quadrature
private

Definition at line 265 of file EvaluationPatchArea.hpp.

◆ M_currentFE

ETCurrentFE<SpaceDim, 1> M_currentFE
private

Definition at line 266 of file EvaluationPatchArea.hpp.

◆ M_patchArea

std::vector<return_Type> M_patchArea
private

Definition at line 268 of file EvaluationPatchArea.hpp.


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