LifeV
IntegrateVectorFaceIDLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType > Class Template Reference

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

#include <IntegrateVectorFaceIDLSAdapted.hpp>

+ Collaboration diagram for IntegrateVectorFaceIDLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
UInt M_boundaryId
 
BDQRAdapter_Type M_qrAdapter
 
std::shared_ptr< TestSpaceType > M_testSpace
 
evaluation_Type M_evaluation
 
std::vector< ETCurrentBDFE< 3 > * > M_globalCFE
 
std::vector< ETCurrentFE< 3, TestSpaceType::field_dim > * > M_testCFE
 
ETVectorElemental M_elementalVector
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, 3 >::evaluation_Type evaluation_Type
 Type of the Evaluation. More...
 
typedef LevelSetBDQRAdapter< LSFESpaceType, LSVectorType > BDQRAdapter_Type
 

Constructors, destructor

 IntegrateVectorFaceIDLSAdapted (const std::shared_ptr< MeshType > &mesh, const UInt boundaryID, const BDQRAdapter_Type &quadratureBD, const std::shared_ptr< TestSpaceType > testSpace, const ExpressionType &expression)
 Full data constructor. More...
 
 IntegrateVectorFaceIDLSAdapted (const IntegrateVectorFaceIDLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType > &integrator)
 Copy constructor. More...
 
 ~IntegrateVectorFaceIDLSAdapted ()
 Destructor. More...
 

Operator

template<typename VectorType >
void operator>> (VectorType &vec)
 Operator wrapping the addTo method. More...
 
template<typename VectorType >
void operator>> (std::shared_ptr< VectorType > vec)
 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...
 
template<typename VectorType >
void addTo (std::shared_ptr< VectorType > vec)
 

Private Methods

 IntegrateVectorFaceIDLSAdapted ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename ExpressionType, typename LSFESpaceType, typename LSVectorType>
class LifeV::ExpressionAssembly::IntegrateVectorFaceIDLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType >

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 77 of file IntegrateVectorFaceIDLSAdapted.hpp.

Member Typedef Documentation

◆ evaluation_Type

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

Type of the Evaluation.

Definition at line 88 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ BDQRAdapter_Type

typedef LevelSetBDQRAdapter<LSFESpaceType, LSVectorType> BDQRAdapter_Type

Definition at line 90 of file IntegrateVectorFaceIDLSAdapted.hpp.

Constructor & Destructor Documentation

◆ IntegrateVectorFaceIDLSAdapted() [1/3]

IntegrateVectorFaceIDLSAdapted ( const std::shared_ptr< MeshType > &  mesh,
const UInt  boundaryID,
const BDQRAdapter_Type quadratureBD,
const std::shared_ptr< TestSpaceType >  testSpace,
const ExpressionType &  expression 
)

Full data constructor.

Definition at line 208 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ IntegrateVectorFaceIDLSAdapted() [2/3]

IntegrateVectorFaceIDLSAdapted ( const IntegrateVectorFaceIDLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType > &  integrator)

Copy constructor.

Definition at line 285 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ ~IntegrateVectorFaceIDLSAdapted()

Destructor.

Definition at line 358 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ IntegrateVectorFaceIDLSAdapted() [3/3]

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( VectorType &  vec)
inline

Operator wrapping the addTo method.

Definition at line 120 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ operator>>() [2/2]

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

Operator wrapping the addTo method (for shared_ptr)

Definition at line 127 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ check()

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

Ouput method.

Definition at line 378 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ addTo() [1/2]

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 397 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ addTo() [2/2]

void addTo ( std::shared_ptr< VectorType >  vec)
inline

Definition at line 153 of file IntegrateVectorFaceIDLSAdapted.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 172 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_boundaryId

UInt M_boundaryId
private

Definition at line 175 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_qrAdapter

BDQRAdapter_Type M_qrAdapter
private

Definition at line 178 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 181 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 184 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_globalCFE

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

Definition at line 186 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_testCFE

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

Definition at line 188 of file IntegrateVectorFaceIDLSAdapted.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 190 of file IntegrateVectorFaceIDLSAdapted.hpp.


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