LifeV
|
The class to actually perform the loop over the elements to precompute a graph. More...
#include <GraphElement.hpp>
Private Attributes | |
std::shared_ptr< MeshType > | M_mesh |
QuadratureRule | M_quadrature |
std::shared_ptr< TestSpaceType > | M_testSpace |
std::shared_ptr< SolutionSpaceType > | M_solutionSpace |
OpenMPParameters | M_ompParams |
UInt | M_offsetUp |
UInt | M_offsetLeft |
Public Types | |
typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, SolutionSpaceType::field_dim, 3 >::evaluation_Type | evaluation_Type |
Type of the Evaluation. More... | |
Constructors, destructor | |
GraphElement (const std::shared_ptr< MeshType > &mesh, const QuadratureRule &quadrature, const std::shared_ptr< TestSpaceType > &testSpace, const std::shared_ptr< SolutionSpaceType > &solutionSpace, const ExpressionType &expression, const OpenMPParameters &ompParams, const UInt offsetUp=0, const UInt offsetLeft=0) | |
Full data constructor. More... | |
GraphElement (const GraphElement< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType > &integrator) | |
Copy constructor. More... | |
~GraphElement () | |
Destructor. More... | |
Operators | |
template<typename GraphType > | |
void | operator>> (std::shared_ptr< GraphType > graph) |
Operator wrapping the addTo method (for shared_ptr) More... | |
Methods | |
void | check (std::ostream &out=std::cout) |
Ouput method. More... | |
template<typename GraphType > | |
void | addTo (GraphType &graph) |
Method that builds the graph. More... | |
template<typename GraphType > | |
void | addTo (std::shared_ptr< GraphType > graph) |
Method that performs the assembly. More... | |
Private Methods | |
GraphElement () | |
No empty constructor. More... | |
The class to actually perform the loop over the elements to precompute a graph.
This class is used to store the data required for building the graph of a matrix
Definition at line 76 of file GraphElement.hpp.
typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, SolutionSpaceType::field_dim, 3 >::evaluation_Type evaluation_Type |
Type of the Evaluation.
Definition at line 87 of file GraphElement.hpp.
GraphElement | ( | const std::shared_ptr< MeshType > & | mesh, |
const QuadratureRule & | quadrature, | ||
const std::shared_ptr< TestSpaceType > & | testSpace, | ||
const std::shared_ptr< SolutionSpaceType > & | solutionSpace, | ||
const ExpressionType & | expression, | ||
const OpenMPParameters & | ompParams, | ||
const UInt | offsetUp = 0 , |
||
const UInt | offsetLeft = 0 |
||
) |
Full data constructor.
Definition at line 199 of file GraphElement.hpp.
GraphElement | ( | const GraphElement< MeshType, TestSpaceType, SolutionSpaceType, ExpressionType > & | integrator | ) |
Copy constructor.
Definition at line 219 of file GraphElement.hpp.
~GraphElement | ( | ) |
Destructor.
Definition at line 232 of file GraphElement.hpp.
|
private |
No empty constructor.
|
inline |
Operator wrapping the addTo method (for shared_ptr)
Definition at line 122 of file GraphElement.hpp.
void check | ( | std::ostream & | out = std::cout | ) |
Ouput method.
Definition at line 243 of file GraphElement.hpp.
void addTo | ( | GraphType & | graph | ) |
Method that builds the graph.
The loop over the elements is located right in this method.
Definition at line 252 of file GraphElement.hpp.
|
inline |
Method that performs the assembly.
The loop over the elements is located right in this method.
Specialized for the case where the matrix is passed as a shared_ptr
Definition at line 152 of file GraphElement.hpp.
|
private |
Definition at line 171 of file GraphElement.hpp.
|
private |
Definition at line 174 of file GraphElement.hpp.
|
private |
Definition at line 177 of file GraphElement.hpp.
|
private |
Definition at line 178 of file GraphElement.hpp.
|
private |
Definition at line 181 of file GraphElement.hpp.
|
private |
Definition at line 184 of file GraphElement.hpp.
|
private |
Definition at line 185 of file GraphElement.hpp.