LifeV
EvaluationIfCrossed< MeshType, MapType, SpaceDim > Class Template Reference

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

#include <EvaluationIfCrossed.hpp>

+ Collaboration diagram for EvaluationIfCrossed< MeshType, MapType, SpaceDim >:

Private Attributes

fespacePtr_Type M_fespace
 
vector_Type M_vector
 
Real M_value
 

Public Types

typedef Real return_Type
 Type of the value returned by this class. More...
 
typedef ETFESpace< MeshType, MapType, SpaceDim, 1 > fespace_Type
 Type of the FESpace that has to be used with this class. More...
 
typedef std::shared_ptr< fespace_TypefespacePtr_Type
 Pointer on the FESpace. More...
 
typedef VectorEpetra vector_Type
 Vector of the values. 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

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

Methods

void update (const UInt &iElement)
 Interal update, computes the interpolated values. 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 (deep copy) 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...
 

Private Methods

 EvaluationIfCrossed ()
 No empty constructor. More...
 

Detailed Description

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

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

Definition at line 65 of file EvaluationIfCrossed.hpp.

Member Typedef Documentation

◆ return_Type

typedef Real return_Type

Type of the value returned by this class.

Definition at line 73 of file EvaluationIfCrossed.hpp.

◆ fespace_Type

typedef ETFESpace<MeshType, MapType, SpaceDim, 1> fespace_Type

Type of the FESpace that has to be used with this class.

Definition at line 76 of file EvaluationIfCrossed.hpp.

◆ fespacePtr_Type

typedef std::shared_ptr<fespace_Type> fespacePtr_Type

Pointer on the FESpace.

Definition at line 79 of file EvaluationIfCrossed.hpp.

◆ vector_Type

Vector of the values.

Definition at line 82 of file EvaluationIfCrossed.hpp.

Constructor & Destructor Documentation

◆ EvaluationIfCrossed() [1/3]

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

Copy constructor.

Definition at line 106 of file EvaluationIfCrossed.hpp.

◆ EvaluationIfCrossed() [2/3]

EvaluationIfCrossed ( const ExpressionIfCrossed< MeshType, MapType, SpaceDim > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 114 of file EvaluationIfCrossed.hpp.

◆ ~EvaluationIfCrossed()

~EvaluationIfCrossed ( )
inline

Destructor.

Definition at line 122 of file EvaluationIfCrossed.hpp.

◆ EvaluationIfCrossed() [3/3]

EvaluationIfCrossed ( )
private

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Interal update, computes the interpolated values.

Definition at line 132 of file EvaluationIfCrossed.hpp.

◆ display()

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

Display method.

Definition at line 164 of file EvaluationIfCrossed.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 177 of file EvaluationIfCrossed.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 182 of file EvaluationIfCrossed.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 187 of file EvaluationIfCrossed.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Setter for the quadrature rule (deep copy)

Definition at line 191 of file EvaluationIfCrossed.hpp.

◆ value_q()

return_Type value_q ( const UInt ) const
inline

Getter for a value.

Definition at line 201 of file EvaluationIfCrossed.hpp.

◆ value_qi()

return_Type value_qi ( const UInt ,
const UInt  
) const
inline

Getter for the value for a vector.

Definition at line 207 of file EvaluationIfCrossed.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 213 of file EvaluationIfCrossed.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 91 of file EvaluationIfCrossed.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 94 of file EvaluationIfCrossed.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 97 of file EvaluationIfCrossed.hpp.

◆ M_fespace

fespacePtr_Type M_fespace
private

Definition at line 230 of file EvaluationIfCrossed.hpp.

◆ M_vector

vector_Type M_vector
private

Definition at line 231 of file EvaluationIfCrossed.hpp.

◆ M_value

Real M_value
private

Definition at line 233 of file EvaluationIfCrossed.hpp.


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