LifeV
EvaluationDivision< EvaluationLType, EvaluationRType > Class Template Reference

Evaluation for the quotient of two other Evaluations. More...

#include <EvaluationDivision.hpp>

+ Collaboration diagram for EvaluationDivision< EvaluationLType, EvaluationRType >:

Private Attributes

EvaluationLType M_evaluationL
 
EvaluationRType M_evaluationR
 

Public Types

typedef EvaluationLType::return_Type Lreturn_Type
 Type of the value returned by the left operand. More...
 
typedef EvaluationRType::return_Type Rreturn_Type
 Type of the value returned by the right operand. More...
 
typedef OperationSmallDivision< Lreturn_Type, Rreturn_Type >::result_Type return_Type
 Type of the value returned by this class. More...
 

Static constants

static const flag_Type S_globalUpdateFlag = EvaluationLType::S_globalUpdateFlag | EvaluationRType::S_globalUpdateFlag
 Flag for the global current FE. More...
 
static const flag_Type S_testUpdateFlag = EvaluationLType::S_testUpdateFlag | EvaluationRType::S_testUpdateFlag
 Flag for the test current FE. More...
 
static const flag_Type S_solutionUpdateFlag = EvaluationLType::S_solutionUpdateFlag | EvaluationRType::S_solutionUpdateFlag
 Flag for the solution current FE. More...
 

Constructors, destructor

 EvaluationDivision (const EvaluationDivision &eval)
 Copy constructor. More...
 
template<typename L , typename R >
 EvaluationDivision (const ExpressionDivision< L, R > &expression)
 Constructor from the corresponding expression. More...
 
 ~EvaluationDivision ()
 Destructor. More...
 

Methods

void update (const UInt &iElement)
 Internal update method. More...
 
static void display (std::ostream &out=std::cout)
 Display method. More...
 

Set Methods

template<typename CFEType >
void setGlobalCFE (const CFEType *globalCFE)
 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 *solutionCFE)
 Setter for the solution current FE. More...
 
void setQuadrature (const QuadratureRule &qr)
 Setter for the quadrature rule. 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 &i) const
 Getter for the value for a vector. More...
 
return_Type value_qij (const UInt &q, const UInt &i, const UInt &j) const
 Getter for the value for a matrix. More...
 

Private Methods

 EvaluationDivision ()
 No empty constructor. More...
 

Detailed Description

template<typename EvaluationLType, typename EvaluationRType>
class LifeV::ExpressionAssembly::EvaluationDivision< EvaluationLType, EvaluationRType >

Evaluation for the quotient of two other Evaluations.

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 division operation 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 EvaluationDivision.hpp.

Member Typedef Documentation

◆ Lreturn_Type

typedef EvaluationLType::return_Type Lreturn_Type

Type of the value returned by the left operand.

Definition at line 72 of file EvaluationDivision.hpp.

◆ Rreturn_Type

typedef EvaluationRType::return_Type Rreturn_Type

Type of the value returned by the right operand.

Definition at line 75 of file EvaluationDivision.hpp.

◆ return_Type

Type of the value returned by this class.

Definition at line 78 of file EvaluationDivision.hpp.

Constructor & Destructor Documentation

◆ EvaluationDivision() [1/3]

EvaluationDivision ( const EvaluationDivision< EvaluationLType, EvaluationRType > &  eval)
inline

Copy constructor.

Definition at line 102 of file EvaluationDivision.hpp.

◆ EvaluationDivision() [2/3]

EvaluationDivision ( const ExpressionDivision< L, R > &  expression)
inlineexplicit

Constructor from the corresponding expression.

Definition at line 109 of file EvaluationDivision.hpp.

◆ ~EvaluationDivision()

~EvaluationDivision ( )
inline

Destructor.

Definition at line 115 of file EvaluationDivision.hpp.

◆ EvaluationDivision() [3/3]

EvaluationDivision ( )
private

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Internal update method.

Definition at line 124 of file EvaluationDivision.hpp.

◆ display()

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

Display method.

Definition at line 131 of file EvaluationDivision.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  globalCFE)
inline

Setter for the global current FE.

Definition at line 146 of file EvaluationDivision.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 154 of file EvaluationDivision.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Setter for the solution current FE.

Definition at line 162 of file EvaluationDivision.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 169 of file EvaluationDivision.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

Definition at line 182 of file EvaluationDivision.hpp.

◆ value_qi()

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

Getter for the value for a vector.

Definition at line 188 of file EvaluationDivision.hpp.

◆ value_qij()

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

Getter for the value for a matrix.

Definition at line 194 of file EvaluationDivision.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = EvaluationLType::S_globalUpdateFlag | EvaluationRType::S_globalUpdateFlag
static

Flag for the global current FE.

Definition at line 87 of file EvaluationDivision.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = EvaluationLType::S_testUpdateFlag | EvaluationRType::S_testUpdateFlag
static

Flag for the test current FE.

Definition at line 90 of file EvaluationDivision.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = EvaluationLType::S_solutionUpdateFlag | EvaluationRType::S_solutionUpdateFlag
static

Flag for the solution current FE.

Definition at line 93 of file EvaluationDivision.hpp.

◆ M_evaluationL

EvaluationLType M_evaluationL
private

Definition at line 212 of file EvaluationDivision.hpp.

◆ M_evaluationR

EvaluationRType M_evaluationR
private

Definition at line 213 of file EvaluationDivision.hpp.


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