LifeV
IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType > Class Template Reference

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

#include <IntegrateVectorVolumeID.hpp>

+ Collaboration diagram for IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType >:

Private Attributes

vectorVolumesPtr_Type M_volumeList
 
vectorIndexesPtr_Type M_indexList
 
QRAdapterType M_qrAdapter
 
std::shared_ptr< TestSpaceType > M_testSpace
 
evaluation_Type M_evaluation
 
ETCurrentFE< 3, 1 > * M_globalCFE_std
 
ETCurrentFE< 3, 1 > * M_globalCFE_adapted
 
ETCurrentFE< 3, TestSpaceType::field_dim > * M_testCFE_std
 
ETCurrentFE< 3, TestSpaceType::field_dim > * M_testCFE_adapted
 
ETVectorElemental M_elementalVector
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, 3 >::evaluation_Type evaluation_Type
 Type of the Evaluation. More...
 
typedef MeshType::element_Type element_Type
 
typedef std::shared_ptr< std::vector< element_Type * > > vectorVolumesPtr_Type
 
typedef std::shared_ptr< std::vector< UInt > > vectorIndexesPtr_Type
 

Constructors, destructor

 IntegrateVectorVolumeID (const vectorVolumesPtr_Type volumeList, const vectorIndexesPtr_Type indexList, const QRAdapterType &qrAdapter, const std::shared_ptr< TestSpaceType > &testSpace, const ExpressionType &expression)
 Full data constructor. More...
 
 IntegrateVectorVolumeID (const IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &integrator)
 Copy constructor. More...
 
 ~IntegrateVectorVolumeID ()
 Destructor. More...
 

Operator

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

Methods

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

Private Methods

 IntegrateVectorVolumeID ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename ExpressionType, typename QRAdapterType>
class LifeV::ExpressionAssembly::IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType >

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 74 of file IntegrateVectorVolumeID.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 85 of file IntegrateVectorVolumeID.hpp.

◆ element_Type

◆ vectorVolumesPtr_Type

typedef std::shared_ptr<std::vector<element_Type*> > vectorVolumesPtr_Type

Definition at line 90 of file IntegrateVectorVolumeID.hpp.

◆ vectorIndexesPtr_Type

typedef std::shared_ptr<std::vector<UInt> > vectorIndexesPtr_Type

Definition at line 91 of file IntegrateVectorVolumeID.hpp.

Constructor & Destructor Documentation

◆ IntegrateVectorVolumeID() [1/3]

IntegrateVectorVolumeID ( const vectorVolumesPtr_Type  volumeList,
const vectorIndexesPtr_Type  indexList,
const QRAdapterType &  qrAdapter,
const std::shared_ptr< TestSpaceType > &  testSpace,
const ExpressionType &  expression 
)

Full data constructor.

Definition at line 197 of file IntegrateVectorVolumeID.hpp.

◆ IntegrateVectorVolumeID() [2/3]

IntegrateVectorVolumeID ( const IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &  integrator)

Copy constructor.

Definition at line 224 of file IntegrateVectorVolumeID.hpp.

◆ ~IntegrateVectorVolumeID()

Destructor.

Definition at line 247 of file IntegrateVectorVolumeID.hpp.

◆ IntegrateVectorVolumeID() [3/3]

Member Function Documentation

◆ operator>>() [1/2]

void operator>> ( Vector vector)
inline

Operator wrapping the addTo method.

Definition at line 120 of file IntegrateVectorVolumeID.hpp.

◆ operator>>() [2/2]

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

Operator wrapping the addTo method (for shared_ptr)

Definition at line 127 of file IntegrateVectorVolumeID.hpp.

◆ check()

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

Ouput method.

Definition at line 262 of file IntegrateVectorVolumeID.hpp.

◆ addTo()

void addTo ( Vector 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 276 of file IntegrateVectorVolumeID.hpp.

Field Documentation

◆ M_volumeList

vectorVolumesPtr_Type M_volumeList
private

Definition at line 165 of file IntegrateVectorVolumeID.hpp.

◆ M_indexList

vectorIndexesPtr_Type M_indexList
private

Definition at line 166 of file IntegrateVectorVolumeID.hpp.

◆ M_qrAdapter

QRAdapterType M_qrAdapter
private

Definition at line 169 of file IntegrateVectorVolumeID.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 172 of file IntegrateVectorVolumeID.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 175 of file IntegrateVectorVolumeID.hpp.

◆ M_globalCFE_std

ETCurrentFE<3, 1>* M_globalCFE_std
private

Definition at line 177 of file IntegrateVectorVolumeID.hpp.

◆ M_globalCFE_adapted

ETCurrentFE<3, 1>* M_globalCFE_adapted
private

Definition at line 178 of file IntegrateVectorVolumeID.hpp.

◆ M_testCFE_std

ETCurrentFE<3, TestSpaceType::field_dim>* M_testCFE_std
private

Definition at line 180 of file IntegrateVectorVolumeID.hpp.

◆ M_testCFE_adapted

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

Definition at line 181 of file IntegrateVectorVolumeID.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 183 of file IntegrateVectorVolumeID.hpp.


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