LifeV
|
The class to actually perform the loop over the elements to assemble a vector. More...
#include <IntegrateVectorVolumeID.hpp>
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 () | |
The class to actually perform the loop over the elements to assemble a vector.
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.
typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, 3 >::evaluation_Type evaluation_Type |
Type of the Evaluation.
Definition at line 85 of file IntegrateVectorVolumeID.hpp.
typedef MeshType::element_Type element_Type |
Definition at line 87 of file IntegrateVectorVolumeID.hpp.
typedef std::shared_ptr<std::vector<element_Type*> > vectorVolumesPtr_Type |
Definition at line 90 of file IntegrateVectorVolumeID.hpp.
typedef std::shared_ptr<std::vector<UInt> > vectorIndexesPtr_Type |
Definition at line 91 of file IntegrateVectorVolumeID.hpp.
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 | ( | const IntegrateVectorVolumeID< MeshType, TestSpaceType, ExpressionType, QRAdapterType > & | integrator | ) |
Copy constructor.
Definition at line 224 of file IntegrateVectorVolumeID.hpp.
Destructor.
Definition at line 247 of file IntegrateVectorVolumeID.hpp.
|
private |
|
inline |
Operator wrapping the addTo method.
Definition at line 120 of file IntegrateVectorVolumeID.hpp.
|
inline |
Operator wrapping the addTo method (for shared_ptr)
Definition at line 127 of file IntegrateVectorVolumeID.hpp.
void check | ( | std::ostream & | out = std::cout | ) |
Ouput method.
Definition at line 262 of file IntegrateVectorVolumeID.hpp.
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.
|
private |
Definition at line 165 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 166 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 169 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 172 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 175 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 177 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 178 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 180 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 181 of file IntegrateVectorVolumeID.hpp.
|
private |
Definition at line 183 of file IntegrateVectorVolumeID.hpp.