LifeV
EvaluationVectorFromNonConstantScalar< EvaluationType, FieldDim > Class Template Reference

Evaluation for the transpose of another Evaluation. More...

#include <EvaluationVectorFromNonConstantScalar.hpp>

+ Collaboration diagram for EvaluationVectorFromNonConstantScalar< EvaluationType, FieldDim >:

Private Attributes

EvaluationType M_evaluation
 

Public Types

typedef VectorSmall< FieldDim > return_Type
 Type of the value returned by the 'operand' to be transposed. More...
 

Static constants

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

Constructors, destructor

 EvaluationVectorFromNonConstantScalar (const EvaluationVectorFromNonConstantScalar &eval)
 Copy constructor. More...
 
template<typename Expression >
 EvaluationVectorFromNonConstantScalar (const ExpressionVectorFromNonConstantScalar< Expression, FieldDim > &expression)
 Constructor from the corresponding expression. More...
 
 ~EvaluationVectorFromNonConstantScalar ()
 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 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

 EvaluationVectorFromNonConstantScalar ()
 No default. More...
 

Detailed Description

template<typename EvaluationType, UInt FieldDim>
class LifeV::ExpressionAssembly::EvaluationVectorFromNonConstantScalar< EvaluationType, FieldDim >

Evaluation for the transpose of another Evaluation.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch

This class aims at representing the transpose 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 EvaluationVectorFromNonConstantScalar.hpp.

Member Typedef Documentation

◆ return_Type

typedef VectorSmall<FieldDim> return_Type

Type of the value returned by the 'operand' to be transposed.

Type of the value returned by this class

Definition at line 77 of file EvaluationVectorFromNonConstantScalar.hpp.

Constructor & Destructor Documentation

◆ EvaluationVectorFromNonConstantScalar() [1/3]

EvaluationVectorFromNonConstantScalar ( const EvaluationVectorFromNonConstantScalar< EvaluationType, FieldDim > &  eval)
inline

Copy constructor.

Definition at line 101 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ EvaluationVectorFromNonConstantScalar() [2/3]

EvaluationVectorFromNonConstantScalar ( const ExpressionVectorFromNonConstantScalar< Expression, FieldDim > &  expression)
inlineexplicit

Constructor from the corresponding expression.

Definition at line 107 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ ~EvaluationVectorFromNonConstantScalar()

Destructor.

Definition at line 112 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ EvaluationVectorFromNonConstantScalar() [3/3]

No default.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Internal update method.

Definition at line 122 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ display()

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

Display method.

Definition at line 128 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  globalCFE)
inline

Setter for the global current FE.

Definition at line 142 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  testCFE)
inline

Setter for the test current FE.

Definition at line 149 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  solutionCFE)
inline

Setter for the solution FE.

Definition at line 156 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 162 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

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

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = EvaluationType::S_globalUpdateFlag
static

Flag for the global current FE.

Definition at line 86 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = EvaluationType::S_testUpdateFlag
static

Flag for the test current FE.

Definition at line 89 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = EvaluationType::S_solutionUpdateFlag
static

Flag for the solution current FE.

Definition at line 92 of file EvaluationVectorFromNonConstantScalar.hpp.

◆ M_evaluation

EvaluationType M_evaluation
private

Definition at line 204 of file EvaluationVectorFromNonConstantScalar.hpp.


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