LifeV
IntegrateValueElement< MeshType, ExpressionType, QRAdapterType > Class Template Reference

The class to actually perform the loop over the elements to compute a value. More...

#include <IntegrateValueElement.hpp>

+ Collaboration diagram for IntegrateValueElement< MeshType, ExpressionType, QRAdapterType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
QRAdapterType M_qrAdapter
 
evaluation_Type M_evaluation
 
ETCurrentFE< MeshType::S_geoDimensions, 1 > * M_globalCFE_std
 
ETCurrentFE< MeshType::S_geoDimensions, 1 > * M_globalCFE_adapted
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, 0, 0, MeshType::S_geoDimensions >::evaluation_Type evaluation_Type
 Evaluation type. More...
 

Constructors, destructor

 IntegrateValueElement (const std::shared_ptr< MeshType > &mesh, const QRAdapterType &qrAdapter, const ExpressionType &expression)
 Full data constructor. More...
 
 IntegrateValueElement (const IntegrateValueElement< MeshType, ExpressionType, QRAdapterType > &integrator)
 Copy constructor. More...
 
 ~IntegrateValueElement ()
 Destructor. More...
 

Operators

void operator>> (Real &value)
 Operator wrapping the addTo method. More...
 

Methods

void check (std::ostream &out=std::cout)
 Ouput method. More...
 
void addTo (Real &value)
 Method that performs the assembly. More...
 

Private Methods

 IntegrateValueElement ()
 No empty constructor. More...
 

Detailed Description

template<typename MeshType, typename ExpressionType, typename QRAdapterType>
class LifeV::ExpressionAssembly::IntegrateValueElement< MeshType, ExpressionType, QRAdapterType >

The class to actually perform the loop over the elements to compute a value.

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

This class is used to store the data required for the integration of a value and perform that assembly with a loop over the elements, and then, for each elements, using the Evaluation corresponding to the Expression (This convertion is done within a typedef).

Definition at line 68 of file IntegrateValueElement.hpp.

Member Typedef Documentation

◆ evaluation_Type

Evaluation type.

Definition at line 79 of file IntegrateValueElement.hpp.

Constructor & Destructor Documentation

◆ IntegrateValueElement() [1/3]

IntegrateValueElement ( const std::shared_ptr< MeshType > &  mesh,
const QRAdapterType &  qrAdapter,
const ExpressionType &  expression 
)

Full data constructor.

Definition at line 168 of file IntegrateValueElement.hpp.

+ Here is the caller graph for this function:

◆ IntegrateValueElement() [2/3]

IntegrateValueElement ( const IntegrateValueElement< MeshType, ExpressionType, QRAdapterType > &  integrator)

Copy constructor.

Definition at line 208 of file IntegrateValueElement.hpp.

+ Here is the caller graph for this function:

◆ ~IntegrateValueElement()

Destructor.

Definition at line 246 of file IntegrateValueElement.hpp.

◆ IntegrateValueElement() [3/3]

IntegrateValueElement ( )
private

No empty constructor.

Member Function Documentation

◆ operator>>()

void operator>> ( Real value)
inline

Operator wrapping the addTo method.

Definition at line 105 of file IntegrateValueElement.hpp.

◆ check()

void check ( std::ostream &  out = std::cout)

Ouput method.

Definition at line 260 of file IntegrateValueElement.hpp.

◆ addTo()

void addTo ( Real value)

Method that performs the assembly.

The loop over the elements is located right in this method. Everything for the assembly is then performed: update the values, sum over the quadrature nodes, sum into the global value.

Definition at line 270 of file IntegrateValueElement.hpp.

+ Here is the caller graph for this function:

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 141 of file IntegrateValueElement.hpp.

◆ M_qrAdapter

QRAdapterType M_qrAdapter
private

Definition at line 144 of file IntegrateValueElement.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 147 of file IntegrateValueElement.hpp.

◆ M_globalCFE_std

ETCurrentFE<MeshType::S_geoDimensions, 1>* M_globalCFE_std
private

Definition at line 150 of file IntegrateValueElement.hpp.

◆ M_globalCFE_adapted

ETCurrentFE<MeshType::S_geoDimensions, 1>* M_globalCFE_adapted
private

Definition at line 153 of file IntegrateValueElement.hpp.


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