LifeV
|
The class to actually perform the loop over the elements to assemble a vector. More...
#include <EvaluateNodalExpressionVectorElement.hpp>
Private Attributes | |
std::shared_ptr< MeshType > | M_mesh |
QRAdapterType | M_qrAdapter |
std::shared_ptr< SolutionSpaceType > | M_solutionSpace |
evaluation_Type | M_evaluation |
ETCurrentFE< MeshType::S_geoDimensions, 1 > * | M_globalCFE_std |
ETCurrentFE< MeshType::S_geoDimensions, 1 > * | M_globalCFE_adapted |
ETCurrentFE< SolutionSpaceType::space_dim, SolutionSpaceType::field_dim > * | M_testCFE_std |
ETCurrentFE< SolutionSpaceType::space_dim, SolutionSpaceType::field_dim > * | M_testCFE_adapted |
ETVectorElemental | M_elementalVector |
Public Types | |
typedef ExpressionToEvaluation< ExpressionType, SolutionSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type | evaluation_Type |
Type of the Evaluation. More... | |
Constructors, destructor | |
EvaluateNodalExpressionVectorElement (const std::shared_ptr< MeshType > &mesh, const QRAdapterType &qrAdapter, const std::shared_ptr< SolutionSpaceType > &testSpace, const ExpressionType &expression) | |
Full data constructor. More... | |
EvaluateNodalExpressionVectorElement (const EvaluateNodalExpressionVectorElement< MeshType, SolutionSpaceType, ExpressionType, QRAdapterType > &integrator) | |
Copy constructor. More... | |
~EvaluateNodalExpressionVectorElement () | |
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 | |
EvaluateNodalExpressionVectorElement () | |
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 68 of file EvaluateNodalExpressionVectorElement.hpp.
typedef ExpressionToEvaluation< ExpressionType, SolutionSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type evaluation_Type |
Type of the Evaluation.
Definition at line 79 of file EvaluateNodalExpressionVectorElement.hpp.
EvaluateNodalExpressionVectorElement | ( | const std::shared_ptr< MeshType > & | mesh, |
const QRAdapterType & | qrAdapter, | ||
const std::shared_ptr< SolutionSpaceType > & | testSpace, | ||
const ExpressionType & | expression | ||
) |
Full data constructor.
Definition at line 183 of file EvaluateNodalExpressionVectorElement.hpp.
EvaluateNodalExpressionVectorElement | ( | const EvaluateNodalExpressionVectorElement< MeshType, SolutionSpaceType, ExpressionType, QRAdapterType > & | integrator | ) |
Copy constructor.
Definition at line 232 of file EvaluateNodalExpressionVectorElement.hpp.
Destructor.
Definition at line 276 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
|
inline |
Operator wrapping the addTo method.
Definition at line 107 of file EvaluateNodalExpressionVectorElement.hpp.
|
inline |
Operator wrapping the addTo method (for shared_ptr)
Definition at line 114 of file EvaluateNodalExpressionVectorElement.hpp.
void check | ( | std::ostream & | out = std::cout | ) |
Ouput method.
Definition at line 291 of file EvaluateNodalExpressionVectorElement.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 305 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 152 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 155 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 158 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 161 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 163 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 164 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 166 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 167 of file EvaluateNodalExpressionVectorElement.hpp.
|
private |
Definition at line 169 of file EvaluateNodalExpressionVectorElement.hpp.