#include <matrixBasis.hh>
Public Member Functions | |
MatrixCounterCell (const concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, const uint points=5) | |
virtual | ~MatrixCounterCell () |
Destructor. | |
int | getDimensionsOfMatrices (uint i) |
returns the dimension og | |
int | getDim () |
void | setDim (int dim) |
virtual void | operator() (const concepts::Element< Real > &elm) |
Writes data of the given element in the matrices. | |
virtual void | operator() (const concepts::Cell &cell) |
Writes Data of the given cell in the matrices. | |
virtual void | operator() (const Element< Real > &elm)=0 |
Public Attributes | |
uint | dimensionsOfMatrices [5] |
std::map< std::string, uint > | noRows |
Number of rows for the matrices. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
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.
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.
|
inline |
Definition at line 53 of file matrixBasis.hh.
|
inline |
returns the dimension og
Definition at line 49 of file matrixBasis.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CellPostprocess< Real >.
|
virtual |
Writes Data of the given cell in the matrices.
Implements concepts::CellPostprocess< Real >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
inline |
Definition at line 57 of file matrixBasis.hh.
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.
std::map<std::string, uint> graphics::MatrixCounterCell::noRows |
Number of rows for the matrices.
Definition at line 78 of file matrixBasis.hh.