LifeV
EvaluationInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim > Class Template Reference

Evaluation for the interpolation of a FE function. More...

#include <EvaluationInterpolateLaplacian.hpp>

+ Collaboration diagram for EvaluationInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim >:

Private Attributes

fespacePtr_Type M_fespace
 Data storage. More...
 
vector_Type M_vector
 
QuadratureRuleM_quadrature
 
ETCurrentFE< SpaceDim, FieldDim > M_currentFE
 Structure for the computations. More...
 
std::vector< return_TypeM_interpolatedLaplacians
 Storage for the temporary values. More...
 

Public Types

typedef VectorSmall< FieldDim > return_Type
 Type of the value returned by this class. More...
 
typedef ETFESpace< MeshType, MapType, SpaceDim, FieldDim > fespace_Type
 Type of the FESpace to be used in this class. More...
 
typedef std::shared_ptr< fespace_TypefespacePtr_Type
 Type of the pointer on the FESpace. More...
 
typedef VectorEpetra vector_Type
 Type of the vector to be used. 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

 EvaluationInterpolateLaplacian (const EvaluationInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim > &evaluation)
 Copy constructor. More...
 
 EvaluationInterpolateLaplacian (const ExpressionInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim > &expression)
 Expression-based constructor. More...
 
 ~EvaluationInterpolateLaplacian ()
 Destructor. More...
 

Methods

void update (const UInt &iElement)
 Internal update: computes the interpolated gradients. More...
 
void zero ()
 Erase the interpolated laplacians stored internally. More...
 
void showValues () const
 Show the values. 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 &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 &) const
 Getter for the value for a vector. More...
 
return_Type value_qij (const UInt &q, const UInt &, const UInt &) const
 Getter for the value for a matrix. More...
 

Private Methods

 EvaluationInterpolateLaplacian ()
 No empty constructor. More...
 

Detailed Description

template<typename MeshType, typename MapType, UInt SpaceDim, UInt FieldDim>
class LifeV::ExpressionAssembly::EvaluationInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim >

Evaluation for the interpolation of a FE function.

Author
Davide Forti david.nosp@m.e.fo.nosp@m.rti@e.nosp@m.pfl..nosp@m.ch

This class aims at representing an interpolated FE value.

This is the generic implementation, so representing a vectorial FE

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

!! NOT DEFINED YET !! (Reason: miss SimpleTensor)

Definition at line 73 of file EvaluationInterpolateLaplacian.hpp.

Member Typedef Documentation

◆ return_Type

typedef VectorSmall<FieldDim> return_Type

Type of the value returned by this class.

Definition at line 81 of file EvaluationInterpolateLaplacian.hpp.

◆ fespace_Type

typedef ETFESpace<MeshType, MapType, SpaceDim, FieldDim> fespace_Type

Type of the FESpace to be used in this class.

Definition at line 84 of file EvaluationInterpolateLaplacian.hpp.

◆ fespacePtr_Type

typedef std::shared_ptr<fespace_Type> fespacePtr_Type

Type of the pointer on the FESpace.

Definition at line 87 of file EvaluationInterpolateLaplacian.hpp.

◆ vector_Type

Type of the vector to be used.

Definition at line 90 of file EvaluationInterpolateLaplacian.hpp.

Constructor & Destructor Documentation

◆ EvaluationInterpolateLaplacian() [1/3]

EvaluationInterpolateLaplacian ( const EvaluationInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim > &  evaluation)
inline

Copy constructor.

Definition at line 114 of file EvaluationInterpolateLaplacian.hpp.

◆ EvaluationInterpolateLaplacian() [2/3]

EvaluationInterpolateLaplacian ( const ExpressionInterpolateLaplacian< MeshType, MapType, SpaceDim, FieldDim > &  expression)
inlineexplicit

Expression-based constructor.

Definition at line 129 of file EvaluationInterpolateLaplacian.hpp.

◆ ~EvaluationInterpolateLaplacian()

Destructor.

Definition at line 139 of file EvaluationInterpolateLaplacian.hpp.

◆ EvaluationInterpolateLaplacian() [3/3]

No empty constructor.

Member Function Documentation

◆ update()

void update ( const UInt iElement)
inline

Internal update: computes the interpolated gradients.

Definition at line 153 of file EvaluationInterpolateLaplacian.hpp.

◆ zero()

void zero ( )
inline

Erase the interpolated laplacians stored internally.

Definition at line 178 of file EvaluationInterpolateLaplacian.hpp.

◆ showValues()

void showValues ( ) const
inline

Show the values.

Definition at line 190 of file EvaluationInterpolateLaplacian.hpp.

◆ display()

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

Display method.

Definition at line 201 of file EvaluationInterpolateLaplacian.hpp.

◆ setGlobalCFE()

void setGlobalCFE ( const CFEType *  )
inline

Do nothing setter for the global current FE.

Definition at line 214 of file EvaluationInterpolateLaplacian.hpp.

◆ setTestCFE()

void setTestCFE ( const CFEType *  )
inline

Do nothing setter for the test current FE.

Definition at line 219 of file EvaluationInterpolateLaplacian.hpp.

◆ setSolutionCFE()

void setSolutionCFE ( const CFEType *  )
inline

Do nothing setter for the solution current FE.

Definition at line 224 of file EvaluationInterpolateLaplacian.hpp.

◆ setQuadrature()

void setQuadrature ( const QuadratureRule qr)
inline

Setter for the quadrature rule.

Definition at line 228 of file EvaluationInterpolateLaplacian.hpp.

◆ value_q()

return_Type value_q ( const UInt q) const
inline

Getter for a value.

Definition at line 246 of file EvaluationInterpolateLaplacian.hpp.

◆ value_qi()

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

Getter for the value for a vector.

Definition at line 252 of file EvaluationInterpolateLaplacian.hpp.

◆ value_qij()

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

Getter for the value for a matrix.

Definition at line 258 of file EvaluationInterpolateLaplacian.hpp.

Field Documentation

◆ S_globalUpdateFlag

const flag_Type S_globalUpdateFlag = ET_UPDATE_NONE
static

Flag for the global current FE.

Definition at line 99 of file EvaluationInterpolateLaplacian.hpp.

◆ S_testUpdateFlag

const flag_Type S_testUpdateFlag = ET_UPDATE_NONE
static

Flag for the test current FE.

Definition at line 102 of file EvaluationInterpolateLaplacian.hpp.

◆ S_solutionUpdateFlag

const flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE
static

Flag for the solution current FE.

Definition at line 105 of file EvaluationInterpolateLaplacian.hpp.

◆ M_fespace

fespacePtr_Type M_fespace
private

Data storage.

Definition at line 277 of file EvaluationInterpolateLaplacian.hpp.

◆ M_vector

vector_Type M_vector
private

Definition at line 278 of file EvaluationInterpolateLaplacian.hpp.

◆ M_quadrature

QuadratureRule* M_quadrature
private

Definition at line 279 of file EvaluationInterpolateLaplacian.hpp.

◆ M_currentFE

ETCurrentFE<SpaceDim, FieldDim> M_currentFE
private

Structure for the computations.

Definition at line 282 of file EvaluationInterpolateLaplacian.hpp.

◆ M_interpolatedLaplacians

std::vector<return_Type> M_interpolatedLaplacians
private

Storage for the temporary values.

Definition at line 285 of file EvaluationInterpolateLaplacian.hpp.


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