LifeV
EvaluationPower< EvaluationBaseType > Class Template Reference

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

#include <EvaluationPower.hpp>

+ Collaboration diagram for EvaluationPower< EvaluationBaseType >:

Private Attributes

EvaluationBaseType M_evaluationBase
 Internal storage. More...
 
Real M_exponent
 

Public Types

typedef EvaluationBaseType::return_Type BaseReturn_Type
 Type of the value returned by the left operand. More...
 
typedef Real exponentType
 
typedef OperationSmallPower< BaseReturn_Type, exponentType >::result_Type return_Type
 Type of the value returned by this class. More...
 

Static constants

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

Constructors, destructor

 EvaluationPower (const EvaluationPower &eval)
 Copy constructor. More...
 
template<typename BaseExpressionType >
 EvaluationPower (const ExpressionPower< BaseExpressionType > &expression)
 Constructor from the corresponding expression. More...
 
 ~EvaluationPower ()
 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 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

 EvaluationPower ()
 No empty constructor. More...
 

Detailed Description

template<typename EvaluationBaseType>
class LifeV::ExpressionAssembly::EvaluationPower< EvaluationBaseType >

Evaluation for the product 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 product 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 63 of file EvaluationPower.hpp.

Member Typedef Documentation

◆ BaseReturn_Type

typedef EvaluationBaseType::return_Type BaseReturn_Type

Type of the value returned by the left operand.

Definition at line 71 of file EvaluationPower.hpp.

◆ exponentType

typedef Real exponentType

Definition at line 72 of file EvaluationPower.hpp.

◆ return_Type

Type of the value returned by this class.

Definition at line 76 of file EvaluationPower.hpp.

Constructor & Destructor Documentation

◆ EvaluationPower() [1/3]

EvaluationPower ( const EvaluationPower< EvaluationBaseType > &  eval)
inline

Copy constructor.

Definition at line 99 of file EvaluationPower.hpp.

◆ EvaluationPower() [2/3]

EvaluationPower ( const ExpressionPower< BaseExpressionType > &  expression)
inlineexplicit

Constructor from the corresponding expression.

Definition at line 106 of file EvaluationPower.hpp.

◆ ~EvaluationPower()

~EvaluationPower ( )
inline

Destructor.

Definition at line 112 of file EvaluationPower.hpp.

◆ EvaluationPower() [3/3]

EvaluationPower ( )
private

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Internal update method.

Definition at line 121 of file EvaluationPower.hpp.

◆ display()

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

Display method.

Definition at line 127 of file EvaluationPower.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  globalCFE)
inline

Setter for the global current FE.

Definition at line 142 of file EvaluationPower.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 149 of file EvaluationPower.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Setter for the solution current FE.

Definition at line 156 of file EvaluationPower.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 162 of file EvaluationPower.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter a value.

Definition at line 174 of file EvaluationPower.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 180 of file EvaluationPower.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 186 of file EvaluationPower.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = EvaluationBaseType::S_globalUpdateFlag
static

Flag for the global current FE.

Definition at line 84 of file EvaluationPower.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = EvaluationBaseType::S_testUpdateFlag
static

Flag for the test current FE.

Definition at line 87 of file EvaluationPower.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = EvaluationBaseType::S_solutionUpdateFlag
static

Flag for the solution current FE.

Definition at line 90 of file EvaluationPower.hpp.

◆ M_evaluationBase

EvaluationBaseType M_evaluationBase
private

Internal storage.

Definition at line 204 of file EvaluationPower.hpp.

◆ M_exponent

Real M_exponent
private

Definition at line 205 of file EvaluationPower.hpp.


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