graphics::MatrixCounterCell Class Referenceabstract
Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisOutputCell and derived classes to allocate the matrices where the data will be stored. More...
#include <matrixBasis.hh>
Public Member Functions | |
int | getDim () |
int | getDimensionsOfMatrices (uint i) |
returns the dimension og More... | |
MatrixCounterCell (const concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, const uint points=5) | |
Constructor. More... | |
virtual void | operator() (const concepts::Cell &cell) |
Writes Data of the given cell in the matrices. More... | |
virtual void | operator() (const concepts::Element< Real > &elm) |
Writes data of the given element in the matrices. More... | |
virtual void | operator() (const Element< Real > &elm)=0 |
Application operator. More... | |
void | setDim (int dim) |
virtual | ~MatrixCounterCell () |
Destructor. More... | |
Public Attributes | |
uint | dimensionsOfMatrices [5] |
Four counters that stores space-dependent values (for ex. More... | |
std::map< std::string, uint > | noRows |
Number of rows for the matrices. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
int | dim_ |
concepts::Array< uint > | points_ |
Number of points in one direction. More... | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) More... | |
Detailed Description
Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisOutputCell and derived classes to allocate the matrices where the data will be stored.
Definition at line 33 of file matrixBasis.hh.
Constructor & Destructor Documentation
◆ MatrixCounterCell()
graphics::MatrixCounterCell::MatrixCounterCell | ( | const concepts::ElementGraphicsBase::graphicsType | type = concepts::ElementGraphicsBase::DENSEMATRIX , |
const uint | points = 5 |
||
) |
Constructor.
The default values are for MatrixBasisOutputCell and derived classes.
If you want to calculate the dimensions of the matrices for a MatrixBaseMeshCell you have to set type
to MESH_DENSEMATRIX.
◆ ~MatrixCounterCell()
|
virtual |
Destructor.
Member Function Documentation
◆ getDim()
|
inline |
Definition at line 53 of file matrixBasis.hh.
◆ getDimensionsOfMatrices()
|
inline |
returns the dimension og
Definition at line 49 of file matrixBasis.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CellPostprocess< Real >.
◆ operator()() [1/3]
|
virtual |
Writes Data of the given cell in the matrices.
Implements concepts::CellPostprocess< Real >.
◆ operator()() [2/3]
|
virtual |
Writes data of the given element in the matrices.
◆ operator()() [3/3]
|
pure virtualinherited |
Application operator.
This application operator has to be overloaded to post process a space.
- Parameters
-
elm Current element
Implemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.
◆ setDim()
|
inline |
Definition at line 57 of file matrixBasis.hh.
Member Data Documentation
◆ dim_
|
private |
Definition at line 84 of file matrixBasis.hh.
◆ dimensionsOfMatrices
uint graphics::MatrixCounterCell::dimensionsOfMatrices[5] |
Four counters that stores space-dependent values (for ex.
of integration points) first component: number of integration points in the whole mesh. second component: number of quads, build by integration points in the whole mesh. third component: number of edges, build by integration points in the whole mesh". fourth component: number of big quads. fifth component: number of faces in a 3-d mesh
Definition at line 75 of file matrixBasis.hh.
◆ noRows
std::map<std::string, uint> graphics::MatrixCounterCell::noRows |
Number of rows for the matrices.
Definition at line 78 of file matrixBasis.hh.
◆ points_
|
private |
Number of points in one direction.
Definition at line 93 of file matrixBasis.hh.
◆ type_
|
private |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
Definition at line 84 of file matrixBasis.hh.
The documentation for this class was generated from the following file:
- graphics/matrixBasis.hh