LifeV
EvaluateNodalExpressionVectorElementFaceID< MeshType, SolutionTestSpace, ExpressionType > Class Template Reference

The class to actually perform the loop over the elements to assemble a vector. More...

#include <EvaluateNodalExpressionVectorElementFaceID.hpp>

+ Collaboration diagram for EvaluateNodalExpressionVectorElementFaceID< MeshType, SolutionTestSpace, ExpressionType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
UInt M_boundaryId
 
QuadratureBoundary M_quadratureBoundary
 
std::shared_ptr< SolutionTestSpace > M_solutionSpace
 
evaluation_Type M_evaluation
 
std::vector< ETCurrentBDFE< 3 > * > M_globalCFE
 
std::vector< ETCurrentFE< 3, SolutionTestSpace::field_dim > * > M_testCFE
 
ETVectorElemental M_elementalVector
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, SolutionTestSpace::field_dim, 0, 3 >::evaluation_Type evaluation_Type
 Type of the Evaluation. More...
 

Constructors, destructor

 EvaluateNodalExpressionVectorElementFaceID (const std::shared_ptr< MeshType > &mesh, const UInt boundaryID, const QuadratureBoundary &quadratureBD, const std::shared_ptr< SolutionTestSpace > &testSpace, const ExpressionType &expression)
 Full data constructor. More...
 
 EvaluateNodalExpressionVectorElementFaceID (const EvaluateNodalExpressionVectorElementFaceID< MeshType, SolutionTestSpace, ExpressionType > &integrator)
 Copy constructor. More...
 
 ~EvaluateNodalExpressionVectorElementFaceID ()
 Destructor. More...
 

Operator

template<typename VectorType >
void operator>> (VectorType &vector)
 Operator wrapping the addTo method. More...
 
template<typename VectorType >
void operator>> (std::shared_ptr< VectorType > vector)
 Operator wrapping the addTo method (for shared_ptr) More...
 

Methods

void check (std::ostream &out=std::cout)
 Ouput method. More...
 
template<typename VectorType >
void addTo (VectorType &vec)
 Method that performs the assembly. More...
 

Private Methods

 EvaluateNodalExpressionVectorElementFaceID ()
 

Detailed Description

template<typename MeshType, typename SolutionTestSpace, typename ExpressionType>
class LifeV::ExpressionAssembly::EvaluateNodalExpressionVectorElementFaceID< MeshType, SolutionTestSpace, ExpressionType >

The class to actually perform the loop over the elements to assemble a vector.

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 assembly of a vector 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 EvaluateNodalExpressionVectorElementFaceID.hpp.

Member Typedef Documentation

◆ evaluation_Type

typedef ExpressionToEvaluation< ExpressionType, SolutionTestSpace::field_dim, 0, 3 >::evaluation_Type evaluation_Type

Type of the Evaluation.

Definition at line 79 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

Constructor & Destructor Documentation

◆ EvaluateNodalExpressionVectorElementFaceID() [1/3]

EvaluateNodalExpressionVectorElementFaceID ( const std::shared_ptr< MeshType > &  mesh,
const UInt  boundaryID,
const QuadratureBoundary quadratureBD,
const std::shared_ptr< SolutionTestSpace > &  testSpace,
const ExpressionType &  expression 
)

Full data constructor.

Definition at line 184 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

◆ EvaluateNodalExpressionVectorElementFaceID() [2/3]

EvaluateNodalExpressionVectorElementFaceID ( const EvaluateNodalExpressionVectorElementFaceID< MeshType, SolutionTestSpace, ExpressionType > &  integrator)

Copy constructor.

Definition at line 256 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

◆ ~EvaluateNodalExpressionVectorElementFaceID()

◆ EvaluateNodalExpressionVectorElementFaceID() [3/3]

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( VectorType &  vector)
inline

Operator wrapping the addTo method.

Definition at line 108 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

◆ operator>>() [2/2]

void operator>> ( std::shared_ptr< VectorType >  vector)
inline

Operator wrapping the addTo method (for shared_ptr)

Definition at line 115 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

◆ check()

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

Ouput method.

Definition at line 340 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

◆ addTo()

void addTo ( VectorType &  vec)

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, update the local vector, sum over the quadrature nodes, assemble in the global vector.

Definition at line 354 of file EvaluateNodalExpressionVectorElementFaceID.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

◆ M_boundaryId

UInt M_boundaryId
private

◆ M_quadratureBoundary

QuadratureBoundary M_quadratureBoundary
private

◆ M_solutionSpace

std::shared_ptr<SolutionTestSpace> M_solutionSpace
private

◆ M_evaluation

evaluation_Type M_evaluation
private

◆ M_globalCFE

std::vector<ETCurrentBDFE<3>*> M_globalCFE
private

◆ M_testCFE

std::vector<ETCurrentFE<3, SolutionTestSpace::field_dim>*> M_testCFE
private

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

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