![]() |
LifeV
|
The class to actually perform the loop over the elements to assemble a vector. More...
#include <IntegrateVectorElement.hpp>
Collaboration diagram for IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType >:Private Attributes | |
| std::shared_ptr< MeshType > | M_mesh |
| QRAdapterType | M_qrAdapter |
| std::shared_ptr< TestSpaceType > | M_testSpace |
| evaluation_Type | M_evaluation |
| ETCurrentFE< MeshType::S_geoDimensions, 1 > * | M_globalCFE_std |
| ETCurrentFE< MeshType::S_geoDimensions, 1 > * | M_globalCFE_adapted |
| ETCurrentFE< TestSpaceType::space_dim, TestSpaceType::field_dim > * | M_testCFE_std |
| ETCurrentFE< TestSpaceType::space_dim, TestSpaceType::field_dim > * | M_testCFE_adapted |
| ETVectorElemental | M_elementalVector |
| UInt | M_offset |
Public Types | |
| typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type | evaluation_Type |
| Type of the Evaluation. More... | |
Constructors, destructor | |
| IntegrateVectorElement (const std::shared_ptr< MeshType > &mesh, const QRAdapterType &qrAdapter, const std::shared_ptr< TestSpaceType > &testSpace, const ExpressionType &expression, const UInt offset=0) | |
| Full data constructor. More... | |
| IntegrateVectorElement (const IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &integrator) | |
| Copy constructor. More... | |
| ~IntegrateVectorElement () | |
| 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) |
| Operator wrapping the addTo method (for shared_ptr) More... | |
Methods | |
| void | check (std::ostream &out=std::cout) |
| Ouput method. More... | |
| template<typename VectorType > | |
| void | addTo (VectorType &vec) |
| Method that performs the assembly. More... | |
Private Methods | |
| IntegrateVectorElement () | |
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 71 of file IntegrateVectorElement.hpp.
| typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type evaluation_Type |
Type of the Evaluation.
Definition at line 82 of file IntegrateVectorElement.hpp.
| IntegrateVectorElement | ( | const std::shared_ptr< MeshType > & | mesh, |
| const QRAdapterType & | qrAdapter, | ||
| const std::shared_ptr< TestSpaceType > & | testSpace, | ||
| const ExpressionType & | expression, | ||
| const UInt | offset = 0 |
||
| ) |
Full data constructor.
Definition at line 190 of file IntegrateVectorElement.hpp.
Here is the caller graph for this function:| IntegrateVectorElement | ( | const IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType > & | integrator | ) |
Copy constructor.
Definition at line 241 of file IntegrateVectorElement.hpp.
Here is the caller graph for this function:Destructor.
Definition at line 286 of file IntegrateVectorElement.hpp.
|
private |
|
inline |
Operator wrapping the addTo method.
Definition at line 111 of file IntegrateVectorElement.hpp.
|
inline |
Operator wrapping the addTo method (for shared_ptr)
Definition at line 118 of file IntegrateVectorElement.hpp.
| void check | ( | std::ostream & | out = std::cout | ) |
Ouput method.
Definition at line 301 of file IntegrateVectorElement.hpp.
| 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 315 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 156 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 159 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 162 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 165 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 167 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 168 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 170 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 171 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 173 of file IntegrateVectorElement.hpp.
|
private |
Definition at line 176 of file IntegrateVectorElement.hpp.