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

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

#include <IntegrateMatrixFaceIDLSAdapted.hpp>

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

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
UInt M_boundaryId
 
BDQRAdapter_Type M_qrAdapter
 
std::shared_ptr< TestSpaceType > M_testSpace
 
std::shared_ptr< SolutionSpaceType > M_solutionSpace
 
evaluation_Type M_evaluation
 
std::vector< ETCurrentBDFE< 3 > * > M_globalCFE
 
std::vector< ETCurrentFE< 3, TestSpaceType::field_dim > * > M_testCFE
 
std::vector< ETCurrentFE< 3, SolutionSpaceType::field_dim > * > M_solutionCFE
 
ETMatrixElemental M_elementalMatrix
 

Public Types

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

Constructors, destructor

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

Operator

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

Methods

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

Private Methods

 IntegrateMatrixFaceIDLSAdapted ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename SolutionSpaceType, typename ExpressionType, typename LSFESpaceType, typename LSVectorType>
class LifeV::ExpressionAssembly::IntegrateMatrixFaceIDLSAdapted< MeshType, TestSpaceType, SolutionSpaceType, 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 78 of file IntegrateMatrixFaceIDLSAdapted.hpp.

Member Typedef Documentation

◆ evaluation_Type

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

Type of the Evaluation.

Definition at line 89 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ BDQRAdapter_Type

typedef LevelSetBDQRAdapter<LSFESpaceType, LSVectorType> BDQRAdapter_Type

Definition at line 91 of file IntegrateMatrixFaceIDLSAdapted.hpp.

Constructor & Destructor Documentation

◆ IntegrateMatrixFaceIDLSAdapted() [1/3]

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

Full data constructor.

Definition at line 213 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ IntegrateMatrixFaceIDLSAdapted() [2/3]

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

Copy constructor.

Definition at line 297 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ ~IntegrateMatrixFaceIDLSAdapted()

Destructor.

Definition at line 376 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ IntegrateMatrixFaceIDLSAdapted() [3/3]

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( MatrixType &  mat)
inline

Operator wrapping the addTo method.

Definition at line 122 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ operator>>() [2/2]

void operator>> ( std::shared_ptr< MatrixType >  mat)
inline

Operator wrapping the addTo method (for shared_ptr)

Definition at line 129 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ check()

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

Ouput method.

Definition at line 398 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ addTo() [1/2]

void addTo ( MatrixType &  mat)

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 418 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ addTo() [2/2]

void addTo ( std::shared_ptr< MatrixType >  mat)
inline

Definition at line 155 of file IntegrateMatrixFaceIDLSAdapted.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 174 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_boundaryId

UInt M_boundaryId
private

Definition at line 177 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_qrAdapter

BDQRAdapter_Type M_qrAdapter
private

Definition at line 180 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 183 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_solutionSpace

std::shared_ptr<SolutionSpaceType> M_solutionSpace
private

Definition at line 184 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 187 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_globalCFE

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

Definition at line 189 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_testCFE

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

Definition at line 191 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_solutionCFE

std::vector<ETCurrentFE<3, SolutionSpaceType::field_dim>*> M_solutionCFE
private

Definition at line 192 of file IntegrateMatrixFaceIDLSAdapted.hpp.

◆ M_elementalMatrix

ETMatrixElemental M_elementalMatrix
private

Definition at line 194 of file IntegrateMatrixFaceIDLSAdapted.hpp.


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