LifeV
EvaluationScalar Class Reference

Evaluation for a scalar constant. More...

#include <EvaluationScalar.hpp>

+ Collaboration diagram for EvaluationScalar:

Private Attributes

Real M_value
 

Public Types

typedef Real return_Type
 Type 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

 EvaluationScalar ()
 Empty constructor. More...
 
 EvaluationScalar (const EvaluationScalar &evaluation)
 Copy constructor. More...
 
 EvaluationScalar (const ExpressionScalar &expression)
 Expression-based constructor. More...
 
 ~EvaluationScalar ()
 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 *)
 Do nothing setter for the solution current FE. More...
 
void setQuadrature (const QuadratureRule &)
 Do nothing setter for the quadrature rule. 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...
 

Detailed Description

Evaluation for a scalar constant.

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 scalar constant during the assembly

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

Definition at line 64 of file EvaluationScalar.hpp.

Member Typedef Documentation

◆ return_Type

typedef Real return_Type

Type returned by this class.

Definition at line 72 of file EvaluationScalar.hpp.

Constructor & Destructor Documentation

◆ EvaluationScalar() [1/3]

EvaluationScalar ( )
inline

Empty constructor.

Definition at line 96 of file EvaluationScalar.hpp.

◆ EvaluationScalar() [2/3]

EvaluationScalar ( const EvaluationScalar evaluation)
inline

Copy constructor.

Definition at line 100 of file EvaluationScalar.hpp.

◆ EvaluationScalar() [3/3]

EvaluationScalar ( const ExpressionScalar expression)
inlineexplicit

Expression-based constructor.

Definition at line 105 of file EvaluationScalar.hpp.

◆ ~EvaluationScalar()

~EvaluationScalar ( )
inline

Destructor.

Definition at line 110 of file EvaluationScalar.hpp.

Member Function Documentation

◆ update()

void update ( const UInt )
inline

Do nothing internal update.

Definition at line 120 of file EvaluationScalar.hpp.

◆ display()

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

Display method.

Definition at line 124 of file EvaluationScalar.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 137 of file EvaluationScalar.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 142 of file EvaluationScalar.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 147 of file EvaluationScalar.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule )
inline

Do nothing setter for the quadrature rule.

Definition at line 151 of file EvaluationScalar.hpp.

◆ value_q()

return_Type value_q ( const UInt ) const
inline

Getter for a value.

Definition at line 161 of file EvaluationScalar.hpp.

◆ value_qi()

return_Type value_qi ( const UInt ,
const UInt  
) const
inline

Getter for the value for a vector.

Definition at line 167 of file EvaluationScalar.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 173 of file EvaluationScalar.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 81 of file EvaluationScalar.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 84 of file EvaluationScalar.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 87 of file EvaluationScalar.hpp.

◆ M_value

Real M_value
private

Definition at line 183 of file EvaluationScalar.hpp.


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