Basis class for graphical output over dense matrices. More...
#include <matrixBasis.hh>


Public Member Functions | |
| uint | dim () const |
| returns the space dimension of the mesh (two by default) | |
| std::map< std::string, concepts::DenseMatrix< G > * > & | getMapping () |
| Returns a mapping with all dense matrices, where data should be stored. | |
| MatrixBaseOutputCell (std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, uint dim=2) | |
| Constructor for the pure virtual class. | |
| virtual void | operator() (const concepts::Cell &cell)=0 |
| Writes Data of the given cell in the matrices. | |
| virtual void | operator() (const concepts::Element< G > &elm)=0 |
| Writes data of the given element in the matrices. | |
| void | resetCounter () |
| virtual | ~MatrixBaseOutputCell () |
| Destructor. | |
Public Attributes | |
| bool | counted |
| Boolean that decides what the CellPostProcess have to do: false: if the length of the matrices saving the data have to be counted. | |
| uint | counter |
| Number of stored points. It is used in "void matlabBinaryMeshGraphics::writeMesh". | |
| uint | dimensionsOfMatrices [4] |
| Four counters that stores space-dependent values (for ex. | |
| uint | indexOfAttributes |
| Index of the (next) quad (used for the attributes). | |
| uint | indexOfEdgAttr |
| Index of the (next) graphics edge (used for edge attribute) | |
| uint | indexOfEdgeMesh |
| Index of the (next) graphics edge in the edge mesh. | |
| uint | indexOfMesh |
| Index of the (next) graphics quad (the small one). | |
| uint | indexOfPoints |
| Index of the (next) graphics point. | |
| uint | indexOfPolynomialDegree |
| Index of the (next) quad (used for the polynomial degree) | |
| uint | indexOfVertexMesh |
| Index of the (next) quad (used for the vertex mesh). | |
| uint | indexOfVtxAttr |
| Index of the (next) quad (used for the vertex attribute) | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ |
| A mapping that holds all data in concepts::DenseMatrix<F> | |
| uint | dim_ |
| The space dimension of the mesh (1, 2, or 3) | |
| enum concepts::ElementGraphicsBase::graphicsType | type_ |
| The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) | |
Basis class for graphical output over dense matrices.
Definition at line 26 of file matrixBasis.hh.
| graphics::MatrixBaseOutputCell< G >::MatrixBaseOutputCell | ( | std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr, |
| const enum concepts::ElementGraphicsBase::graphicsType | type = concepts::ElementGraphicsBase::DENSEMATRIX, |
||
| uint | dim = 2 |
||
| ) | [inline] |
Constructor for the pure virtual class.
Is used in the constructor of the child classes.
Definition at line 31 of file matrixBasis.hh.
| virtual graphics::MatrixBaseOutputCell< G >::~MatrixBaseOutputCell | ( | ) | [inline, virtual] |
Destructor.
Definition at line 41 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::dim | ( | ) | const [inline] |
returns the space dimension of the mesh (two by default)
Definition at line 56 of file matrixBasis.hh.
| std::map<std::string, concepts::DenseMatrix<G>*>& graphics::MatrixBaseOutputCell< G >::getMapping | ( | ) | [inline] |
Returns a mapping with all dense matrices, where data should be stored.
Definition at line 51 of file matrixBasis.hh.
| virtual std::ostream& concepts::CellPostprocess< G >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, and graphics::BaseOutputCell< G >.
| virtual void graphics::MatrixBaseOutputCell< G >::operator() | ( | const concepts::Cell & | cell | ) | [pure virtual] |
Writes Data of the given cell in the matrices.
Implements concepts::CellPostprocess< G >.
Implemented in graphics::MatrixBaseDataCell< F, G >, graphics::MatrixBaseElementFormulaCell< F, G >, graphics::MatrixSolutionEvaluationCell< F, G >, and graphics::MatrixBaseMeshCell.
| virtual void graphics::MatrixBaseOutputCell< G >::operator() | ( | const concepts::Element< G > & | elm | ) | [pure virtual] |
Writes data of the given element in the matrices.
Implements concepts::CellPostprocess< G >.
Implemented in graphics::MatrixBaseDataCell< F, G >, graphics::MatrixBaseElementFormulaCell< F, G >, and graphics::MatrixSolutionEvaluationCell< F, G >.
| void graphics::MatrixBaseOutputCell< G >::resetCounter | ( | ) | [inline] |
Definition at line 104 of file matrixBasis.hh.
| bool graphics::MatrixBaseOutputCell< G >::counted |
Boolean that decides what the CellPostProcess have to do: false: if the length of the matrices saving the data have to be counted.
true : if the length of the matrices saving the data are already counted.
Definition at line 99 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::counter |
Number of stored points. It is used in "void matlabBinaryMeshGraphics::writeMesh".
Definition at line 85 of file matrixBasis.hh.
std::map<std::string, concepts::DenseMatrix<G>*>& graphics::MatrixBaseOutputCell< G >::dense_ptr_ [protected] |
A mapping that holds all data in concepts::DenseMatrix<F>
Definition at line 122 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::dim_ [protected] |
The space dimension of the mesh (1, 2, or 3)
Definition at line 119 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::dimensionsOfMatrices[4] |
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.
Definition at line 93 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfAttributes |
Index of the (next) quad (used for the attributes).
Definition at line 73 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfEdgAttr |
Index of the (next) graphics edge (used for edge attribute)
Definition at line 76 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfEdgeMesh |
Index of the (next) graphics edge in the edge mesh.
Definition at line 67 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfMesh |
Index of the (next) graphics quad (the small one).
Definition at line 64 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfPoints |
Index of the (next) graphics point.
Definition at line 61 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfPolynomialDegree |
Index of the (next) quad (used for the polynomial degree)
Definition at line 82 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfVertexMesh |
Index of the (next) quad (used for the vertex mesh).
Definition at line 70 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::indexOfVtxAttr |
Index of the (next) quad (used for the vertex attribute)
Definition at line 79 of file matrixBasis.hh.
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBaseOutputCell< G >::type_ [protected] |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
Definition at line 127 of file matrixBasis.hh.