Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
graphics::MatrixBaseOutputCell< G > Class Template Reference

Basis class for graphical output over dense matrices. More...

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixBaseOutputCell< G >:
Inheritance graph
[legend]
Collaboration diagram for graphics::MatrixBaseOutputCell< G >:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

template<class G = Real>
class graphics::MatrixBaseOutputCell< G >

Basis class for graphical output over dense matrices.

Author:
Robert Gruhlke & Christian Heier, 2011

Definition at line 26 of file matrixBasis.hh.


Constructor & Destructor Documentation

template<class G = Real>
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.

template<class G = Real>
virtual graphics::MatrixBaseOutputCell< G >::~MatrixBaseOutputCell ( ) [inline, virtual]

Destructor.

Definition at line 41 of file matrixBasis.hh.


Member Function Documentation

template<class G = Real>
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.

template<class G = Real>
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]
template<class G = Real>
virtual void graphics::MatrixBaseOutputCell< G >::operator() ( const concepts::Cell cell) [pure virtual]
template<class G = Real>
virtual void graphics::MatrixBaseOutputCell< G >::operator() ( const concepts::Element< G > &  elm) [pure virtual]
template<class G = Real>
void graphics::MatrixBaseOutputCell< G >::resetCounter ( ) [inline]

Definition at line 104 of file matrixBasis.hh.


Member Data Documentation

template<class G = Real>
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.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::counter

Number of stored points. It is used in "void matlabBinaryMeshGraphics::writeMesh".

Definition at line 85 of file matrixBasis.hh.

template<class G = Real>
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.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::dim_ [protected]

The space dimension of the mesh (1, 2, or 3)

Definition at line 119 of file matrixBasis.hh.

template<class G = Real>
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.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfAttributes

Index of the (next) quad (used for the attributes).

Definition at line 73 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgAttr

Index of the (next) graphics edge (used for edge attribute)

Definition at line 76 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgeMesh

Index of the (next) graphics edge in the edge mesh.

Definition at line 67 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfMesh

Index of the (next) graphics quad (the small one).

Definition at line 64 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfPoints

Index of the (next) graphics point.

Definition at line 61 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfPolynomialDegree

Index of the (next) quad (used for the polynomial degree)

Definition at line 82 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfVertexMesh

Index of the (next) quad (used for the vertex mesh).

Definition at line 70 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfVtxAttr

Index of the (next) quad (used for the vertex attribute)

Definition at line 79 of file matrixBasis.hh.

template<class G = Real>
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBaseOutputCell< G >::type_ [protected]

The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)