graphics::MatrixSpaceOutputCell< G > Class Template Referenceabstract
Class that collects graphical informations about a given space in a set of ElementMatrices. More...
#include <matrixBasis.hh>
Public Member Functions | |
uint | dim () const |
returns the space dimension of the mesh (two by default) More... | |
DenseMatrixCollection< G > & | getMapping () |
Returns a mapping with all dense matrices, where data should be stored. More... | |
MatrixSpaceOutputCell (DenseMatrixCollection< G > &dense_ptr, uint dim=2, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX) | |
Constructor (for collecting space data) More... | |
virtual void | operator() (const concepts::Cell &cell) |
Writes data of the given cell in the matrices. More... | |
virtual void | operator() (const concepts::Element< G > &elm) |
Writes data of the given element in the matrices. More... | |
virtual void | operator() (const concepts::Element< Real > &elm)=0 |
Writes data of the given element in the matrices. More... | |
virtual void | operator() (const Element< Real > &elm)=0 |
Application operator. More... | |
virtual void | resetCounter () |
Resets all counter. More... | |
virtual | ~MatrixSpaceOutputCell () |
Destructor. More... | |
Public Attributes | |
uint | counter |
Number of stored points. More... | |
uint | indexOfAttributes |
Index of the (next) quad (used for the attributes). More... | |
uint | indexOfEdgAttr |
Index of the (next) graphics edge (used for edge attribute) More... | |
uint | indexOfEdgeMesh |
Index of the (next) graphics edge in the edge mesh. More... | |
uint | indexOfFaceAttr |
Index of the (next) graphics edge (used for edge attribute) More... | |
uint | indexOfFaceMesh |
Index of the (next) graphics quad. More... | |
uint | indexOfMesh |
Index of the (next) graphics quad (the small one). More... | |
uint | indexOfPoints |
Index of the (next) graphics point. More... | |
uint | indexOfPolynomialDegree |
Index of the (next) quad (used for the polynomial degree) More... | |
uint | indexOfVertexMesh |
Index of the (next) quad (used for the vertex mesh). More... | |
uint | indexOfVtxAttr |
Index of the (next) quad (used for the vertex attribute) More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
DenseMatrixCollection< G > & | dense_ptr_ |
The mapping that holds the matrices. More... | |
uint | dim_ |
The space dimension of the mesh (1, 2, or 3) More... | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) More... | |
Detailed Description
template<class G = Real>
class graphics::MatrixSpaceOutputCell< G >
Class that collects graphical informations about a given space in a set of ElementMatrices.
Definition at line 160 of file matrixBasis.hh.
Constructor & Destructor Documentation
◆ MatrixSpaceOutputCell()
|
inline |
Constructor (for collecting space data)
- Parameters
-
dense_ptr Mapping that allows to adress ElementMatrixes with strings dim The dimension of the space type Type should be MESH_DENSEMATRIX if just the mesh is readed, DENSEMATRIX else
Definition at line 169 of file matrixBasis.hh.
◆ ~MatrixSpaceOutputCell()
|
inlinevirtual |
Destructor.
Definition at line 177 of file matrixBasis.hh.
Member Function Documentation
◆ dim()
|
inlineinherited |
returns the space dimension of the mesh (two by default)
Definition at line 128 of file matrixBasis.hh.
◆ getMapping()
|
inline |
Returns a mapping with all dense matrices, where data should be stored.
Definition at line 242 of file matrixBasis.hh.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::CellEdgeIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellIntegral< F >, hp3D::APrioriRefinement, hp2D::APrioriRefinement, graphics::VertexList, graphics::MatrixCounterCell, graphics::BaseMeshCell, graphics::BaseOutputCell< F >, and graphics::BaseOutputCell< Real >.
◆ operator()() [1/4]
|
inlinevirtual |
Writes data of the given cell in the matrices.
- Parameters
-
cell The cell
Implements graphics::MatrixBasisOutputCell< Real >.
Reimplemented in graphics::MatrixBaseMeshCell.
Definition at line 190 of file matrixBasis.hh.
◆ operator()() [2/4]
|
inlinevirtual |
Writes data of the given element in the matrices.
- Parameters
-
elm The element
Reimplemented in graphics::MatrixBaseMeshCell.
Definition at line 183 of file matrixBasis.hh.
◆ operator()() [3/4]
|
pure virtualinherited |
Writes data of the given element in the matrices.
Implemented in graphics::MatrixBaseMeshCell, and graphics::MatrixSpaceOutputCell< Real >.
◆ operator()() [4/4]
|
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 >.
◆ resetCounter()
|
inlinevirtual |
Resets all counter.
Reimplemented from graphics::MatrixBasisOutputCell< Real >.
Definition at line 227 of file matrixBasis.hh.
Member Data Documentation
◆ counter
uint graphics::MatrixSpaceOutputCell< G >::counter |
Number of stored points.
It is used in "void matlabBinaryMeshGraphics::writeMesh".
Definition at line 224 of file matrixBasis.hh.
◆ dense_ptr_
|
protected |
The mapping that holds the matrices.
Definition at line 248 of file matrixBasis.hh.
◆ dim_
|
protectedinherited |
The space dimension of the mesh (1, 2, or 3)
Definition at line 143 of file matrixBasis.hh.
◆ indexOfAttributes
uint graphics::MatrixSpaceOutputCell< G >::indexOfAttributes |
Index of the (next) quad (used for the attributes).
Definition at line 207 of file matrixBasis.hh.
◆ indexOfEdgAttr
uint graphics::MatrixSpaceOutputCell< G >::indexOfEdgAttr |
Index of the (next) graphics edge (used for edge attribute)
Definition at line 210 of file matrixBasis.hh.
◆ indexOfEdgeMesh
uint graphics::MatrixSpaceOutputCell< G >::indexOfEdgeMesh |
Index of the (next) graphics edge in the edge mesh.
Definition at line 201 of file matrixBasis.hh.
◆ indexOfFaceAttr
uint graphics::MatrixSpaceOutputCell< G >::indexOfFaceAttr |
Index of the (next) graphics edge (used for edge attribute)
Definition at line 213 of file matrixBasis.hh.
◆ indexOfFaceMesh
uint graphics::MatrixSpaceOutputCell< G >::indexOfFaceMesh |
Index of the (next) graphics quad.
Definition at line 198 of file matrixBasis.hh.
◆ indexOfMesh
uint graphics::MatrixSpaceOutputCell< G >::indexOfMesh |
Index of the (next) graphics quad (the small one).
Definition at line 195 of file matrixBasis.hh.
◆ indexOfPoints
|
inherited |
Index of the (next) graphics point.
Definition at line 138 of file matrixBasis.hh.
◆ indexOfPolynomialDegree
uint graphics::MatrixSpaceOutputCell< G >::indexOfPolynomialDegree |
Index of the (next) quad (used for the polynomial degree)
Definition at line 219 of file matrixBasis.hh.
◆ indexOfVertexMesh
uint graphics::MatrixSpaceOutputCell< G >::indexOfVertexMesh |
Index of the (next) quad (used for the vertex mesh).
Definition at line 204 of file matrixBasis.hh.
◆ indexOfVtxAttr
uint graphics::MatrixSpaceOutputCell< G >::indexOfVtxAttr |
Index of the (next) quad (used for the vertex attribute)
Definition at line 216 of file matrixBasis.hh.
◆ type_
|
protectedinherited |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
Definition at line 143 of file matrixBasis.hh.
The documentation for this class was generated from the following file:
- graphics/matrixBasis.hh