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

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

#include <IntegrateVectorElementLSAdapted.hpp>

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

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
QRAdapter_Type M_QRAdapter
 
std::shared_ptr< TestSpaceType > M_testSpace
 
evaluation_Type M_evaluation
 
ETCurrentFE< 3, 1 > * M_globalCFE_unadapted
 
ETCurrentFE< 3, 1 > * M_globalCFE_adapted
 
ETCurrentFE< 3, TestSpaceType::S_fieldDim > * M_testCFE_unadapted
 
ETCurrentFE< 3, TestSpaceType::S_fieldDim > * M_testCFE_adapted
 
ETVectorElemental M_elementalVector
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::S_fieldDim, 0, 3 >::evaluation_Type evaluation_Type
 Type of the Evaluation. More...
 
typedef LevelSetQRAdapter< LSFESpaceType, LSVectorType > QRAdapter_Type
 

Constructors, destructor

 IntegrateVectorElementLSAdapted (const std::shared_ptr< MeshType > &mesh, const QRAdapter_Type &QRAdapter, const std::shared_ptr< TestSpaceType > &testSpace, const ExpressionType &expression)
 Full data constructor. More...
 
 IntegrateVectorElementLSAdapted (const IntegrateVectorElementLSAdapted< MeshType, TestSpaceType, ExpressionType, LSFESpaceType, LSVectorType > &integrator)
 Copy constructor. More...
 
 ~IntegrateVectorElementLSAdapted ()
 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)
 

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

 IntegrateVectorElementLSAdapted ()
 

Detailed Description

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

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

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).

The quadrature used is given by the structure adapting the quadrature to the situation.

Definition at line 76 of file IntegrateVectorElementLSAdapted.hpp.

Member Typedef Documentation

◆ evaluation_Type

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

Type of the Evaluation.

Definition at line 87 of file IntegrateVectorElementLSAdapted.hpp.

◆ QRAdapter_Type

typedef LevelSetQRAdapter<LSFESpaceType, LSVectorType> QRAdapter_Type

Definition at line 89 of file IntegrateVectorElementLSAdapted.hpp.

Constructor & Destructor Documentation

◆ IntegrateVectorElementLSAdapted() [1/3]

IntegrateVectorElementLSAdapted ( const std::shared_ptr< MeshType > &  mesh,
const QRAdapter_Type QRAdapter,
const std::shared_ptr< TestSpaceType > &  testSpace,
const ExpressionType &  expression 
)

Full data constructor.

Definition at line 205 of file IntegrateVectorElementLSAdapted.hpp.

◆ IntegrateVectorElementLSAdapted() [2/3]

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

Copy constructor.

Definition at line 234 of file IntegrateVectorElementLSAdapted.hpp.

◆ ~IntegrateVectorElementLSAdapted()

Destructor.

Definition at line 261 of file IntegrateVectorElementLSAdapted.hpp.

◆ IntegrateVectorElementLSAdapted() [3/3]

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( VectorType &  vector)
inline

Operator wrapping the addTo method.

Definition at line 118 of file IntegrateVectorElementLSAdapted.hpp.

◆ operator>>() [2/2]

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

Definition at line 124 of file IntegrateVectorElementLSAdapted.hpp.

◆ check()

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

Ouput method.

Definition at line 280 of file IntegrateVectorElementLSAdapted.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 298 of file IntegrateVectorElementLSAdapted.hpp.

◆ addTo() [2/2]

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

Definition at line 149 of file IntegrateVectorElementLSAdapted.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 167 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_QRAdapter

QRAdapter_Type M_QRAdapter
private

Definition at line 170 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 173 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 176 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_globalCFE_unadapted

ETCurrentFE<3, 1>* M_globalCFE_unadapted
private

Definition at line 180 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_globalCFE_adapted

ETCurrentFE<3, 1>* M_globalCFE_adapted
private

Definition at line 181 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_testCFE_unadapted

ETCurrentFE<3, TestSpaceType::S_fieldDim>* M_testCFE_unadapted
private

Definition at line 183 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_testCFE_adapted

ETCurrentFE<3, TestSpaceType::S_fieldDim>* M_testCFE_adapted
private

Definition at line 184 of file IntegrateVectorElementLSAdapted.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 187 of file IntegrateVectorElementLSAdapted.hpp.


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