LifeV
IntegrateMatrixFaceID< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType > Class Template Reference

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

#include <IntegrateMatrixFaceID.hpp>

+ Collaboration diagram for IntegrateMatrixFaceID< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
UInt M_boundaryId
 
QuadratureBoundary M_quadratureBoundary
 
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...
 

Constructors, destructor

 IntegrateMatrixFaceID (const std::shared_ptr< MeshType > &mesh, const UInt boundaryID, const QuadratureBoundary &quadratureBD, const std::shared_ptr< TestSpaceType > testSpace, const std::shared_ptr< SolutionSpaceType > solutionSpace, const ExpressionType &expression)
 Full data constructor. More...
 
 IntegrateMatrixFaceID (const IntegrateMatrixFaceID< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType > &integrator)
 Copy constructor. More...
 
 ~IntegrateMatrixFaceID ()
 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

 IntegrateMatrixFaceID ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename SolutionSpaceType, typename ExpressionType>
class LifeV::ExpressionAssembly::IntegrateMatrixFaceID< MeshType, TestSpaceType, SolutionSpaceType, 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 71 of file IntegrateMatrixFaceID.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 82 of file IntegrateMatrixFaceID.hpp.

Constructor & Destructor Documentation

◆ IntegrateMatrixFaceID() [1/3]

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

Full data constructor.

Definition at line 198 of file IntegrateMatrixFaceID.hpp.

◆ IntegrateMatrixFaceID() [2/3]

IntegrateMatrixFaceID ( const IntegrateMatrixFaceID< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType > &  integrator)

Copy constructor.

Definition at line 278 of file IntegrateMatrixFaceID.hpp.

◆ ~IntegrateMatrixFaceID()

Destructor.

Definition at line 352 of file IntegrateMatrixFaceID.hpp.

◆ IntegrateMatrixFaceID() [3/3]

IntegrateMatrixFaceID ( )
private

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( MatrixType &  mat)
inline

Operator wrapping the addTo method.

Definition at line 112 of file IntegrateMatrixFaceID.hpp.

◆ operator>>() [2/2]

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

Operator wrapping the addTo method (for shared_ptr)

Definition at line 119 of file IntegrateMatrixFaceID.hpp.

◆ check()

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

Ouput method.

Definition at line 369 of file IntegrateMatrixFaceID.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 383 of file IntegrateMatrixFaceID.hpp.

◆ addTo() [2/2]

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

Definition at line 145 of file IntegrateMatrixFaceID.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 164 of file IntegrateMatrixFaceID.hpp.

◆ M_boundaryId

UInt M_boundaryId
private

Definition at line 167 of file IntegrateMatrixFaceID.hpp.

◆ M_quadratureBoundary

QuadratureBoundary M_quadratureBoundary
private

Definition at line 170 of file IntegrateMatrixFaceID.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 173 of file IntegrateMatrixFaceID.hpp.

◆ M_solutionSpace

std::shared_ptr<SolutionSpaceType> M_solutionSpace
private

Definition at line 174 of file IntegrateMatrixFaceID.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 177 of file IntegrateMatrixFaceID.hpp.

◆ M_globalCFE

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

Definition at line 179 of file IntegrateMatrixFaceID.hpp.

◆ M_testCFE

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

Definition at line 181 of file IntegrateMatrixFaceID.hpp.

◆ M_solutionCFE

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

Definition at line 182 of file IntegrateMatrixFaceID.hpp.

◆ M_elementalMatrix

ETMatrixElemental M_elementalMatrix
private

Definition at line 184 of file IntegrateMatrixFaceID.hpp.


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