LifeV
EvaluationPhiI< 1 > Class Template Reference

Evaluation of the basis function phi_i in the case of a scalar FE. More...

#include <EvaluationPhiI.hpp>

+ Collaboration diagram for EvaluationPhiI< 1 >:

Private Attributes

std::vector< std::vector< Real > > 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_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

 EvaluationPhiI ()
 Empty constructor. More...
 
 EvaluationPhiI (const EvaluationPhiI &evaluation)
 Copy constructor. More...
 
 EvaluationPhiI (const ExpressionPhiI &)
 Expression-based constructor. More...
 
 ~EvaluationPhiI ()
 Destructor. More...
 

Methods

void update (const UInt &)
 Do nothing 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<>
class LifeV::ExpressionAssembly::EvaluationPhiI< 1 >

Evaluation of the basis function phi_i in the case of a scalar 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 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 192 of file EvaluationPhiI.hpp.

Member Typedef Documentation

◆ return_Type

typedef Real return_Type

Type of the values returned by this class.

Definition at line 200 of file EvaluationPhiI.hpp.

Constructor & Destructor Documentation

◆ EvaluationPhiI() [1/3]

EvaluationPhiI ( )
inline

Empty constructor.

Definition at line 224 of file EvaluationPhiI.hpp.

◆ EvaluationPhiI() [2/3]

EvaluationPhiI ( const EvaluationPhiI< 1 > &  evaluation)
inline

Copy constructor.

Definition at line 227 of file EvaluationPhiI.hpp.

+ Here is the caller graph for this function:

◆ EvaluationPhiI() [3/3]

EvaluationPhiI ( const ExpressionPhiI )
inlineexplicit

Expression-based constructor.

Definition at line 232 of file EvaluationPhiI.hpp.

◆ ~EvaluationPhiI()

~EvaluationPhiI ( )
inline

Destructor.

Definition at line 235 of file EvaluationPhiI.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing update.

Definition at line 244 of file EvaluationPhiI.hpp.

◆ display()

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

Display method.

Definition at line 247 of file EvaluationPhiI.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 260 of file EvaluationPhiI.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 264 of file EvaluationPhiI.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 272 of file EvaluationPhiI.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Do nothing setter for the quadrature rule.

Definition at line 275 of file EvaluationPhiI.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 284 of file EvaluationPhiI.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 292 of file EvaluationPhiI.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 209 of file EvaluationPhiI.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 212 of file EvaluationPhiI.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 215 of file EvaluationPhiI.hpp.

◆ M_valuesPtr

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

Storage of the pointer to the data.

Definition at line 304 of file EvaluationPhiI.hpp.


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