Class documentation of Concepts

Loading...
Searching...
No Matches

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixBaseMeshCell:
graphics::MatrixSpaceOutputCell< Real > graphics::MatrixBasisOutputCell< G > concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 MatrixBaseMeshCell (DenseMatrixCollection< Real > &dense_ptr, const uint dim=2, const uint points=5, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
 
virtual ~MatrixBaseMeshCell ()
 Destructor.
 
virtual void operator() (const concepts::Element< Real > &elm)
 Output of the mesh of the element elm.
 
virtual void operator() (const concepts::Cell &cell)
 Output of the mesh of of the cell cell.
 
virtual void operator() (const concepts::Element< G > &elm)=0
 Writes data of the given element in the matrices.
 
virtual void operator() (const Element< F > &elm)=0
 
virtual void resetCounter ()
 Resets all counter.
 
DenseMatrixCollection< Real > & getMapping ()
 Returns a mapping with all dense matrices, where data should be stored.
 
uint dim () const
 returns the space dimension of the mesh (two by default)
 

Public Attributes

uint indexOfMesh
 Index of the (next) graphics quad (the small one).
 
uint indexOfFaceMesh
 Index of the (next) graphics quad.
 
uint indexOfEdgeMesh
 Index of the (next) graphics edge in the edge mesh.
 
uint indexOfVertexMesh
 Index of the (next) quad (used for the vertex mesh).
 
uint indexOfAttributes
 Index of the (next) quad (used for the attributes).
 
uint indexOfEdgAttr
 Index of the (next) graphics edge (used for edge attribute)
 
uint indexOfFaceAttr
 Index of the (next) graphics edge (used for edge attribute)
 
uint indexOfVtxAttr
 Index of the (next) quad (used for the vertex attribute)
 
uint indexOfPolynomialDegree
 Index of the (next) quad (used for the polynomial degree)
 
uint counter
 
uint indexOfPoints
 Index of the (next) graphics point.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

DenseMatrixCollection< Real > & dense_ptr_
 The mapping that holds the matrices.
 
uint dim_
 The space dimension of the mesh (1, 2, or 3)
 
enum concepts::ElementGraphicsBase::graphicsType type_
 

Detailed Description

Class that iterates over a mesh and collects graphical informations in a set of ElementMatrices.

Author
Christian Heier, 2012

Definition at line 433 of file matrixBasis.hh.

Constructor & Destructor Documentation

◆ MatrixBaseMeshCell()

graphics::MatrixBaseMeshCell::MatrixBaseMeshCell ( DenseMatrixCollection< Real > &  dense_ptr,
const uint  dim = 2,
const uint  points = 5,
const enum concepts::ElementGraphicsBase::graphicsType  type = concepts::ElementGraphicsBase::MESH_DENSEMATRIX 
)
inline

Constructor (for single and repeated output)

Parameters
dense_ptrpointer to dense matrices
dimSpatial dimension of the elements
pointsNumber of points in one direction
typeGraphics type, e.g. MESH_DENSEMATRIX

Definition at line 442 of file matrixBasis.hh.

Member Function Documentation

◆ dim()

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::dim ( ) const
inlineinherited

returns the space dimension of the mesh (two by default)

Definition at line 128 of file matrixBasis.hh.

◆ getMapping()

DenseMatrixCollection< Real > & graphics::MatrixSpaceOutputCell< Real >::getMapping ( )
inlineinherited

Returns a mapping with all dense matrices, where data should be stored.

Definition at line 242 of file matrixBasis.hh.

◆ info()

◆ operator()() [1/4]

virtual void graphics::MatrixBaseMeshCell::operator() ( const concepts::Cell cell)
virtual

Output of the mesh of of the cell cell.

Reimplemented from graphics::MatrixSpaceOutputCell< Real >.

◆ operator()() [2/4]

template<class G = Real>
virtual void graphics::MatrixBasisOutputCell< G >::operator() ( const concepts::Element< G > &  elm)
pure virtualinherited

◆ operator()() [3/4]

virtual void graphics::MatrixBaseMeshCell::operator() ( const concepts::Element< Real > &  elm)
virtual

Output of the mesh of the element elm.

Reimplemented from graphics::MatrixSpaceOutputCell< Real >.

◆ operator()() [4/4]

◆ resetCounter()

virtual void graphics::MatrixSpaceOutputCell< Real >::resetCounter ( )
inlinevirtualinherited

Resets all counter.

Reimplemented from graphics::MatrixBasisOutputCell< G >.

Definition at line 227 of file matrixBasis.hh.

Member Data Documentation

◆ counter

uint graphics::MatrixSpaceOutputCell< Real >::counter
inherited

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

Definition at line 224 of file matrixBasis.hh.

◆ dense_ptr_

DenseMatrixCollection<Real >& graphics::MatrixSpaceOutputCell< Real >::dense_ptr_
protectedinherited

The mapping that holds the matrices.

Definition at line 248 of file matrixBasis.hh.

◆ dim_

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::dim_
protectedinherited

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

Definition at line 143 of file matrixBasis.hh.

◆ indexOfAttributes

uint graphics::MatrixSpaceOutputCell< Real >::indexOfAttributes
inherited

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

Definition at line 207 of file matrixBasis.hh.

◆ indexOfEdgAttr

uint graphics::MatrixSpaceOutputCell< Real >::indexOfEdgAttr
inherited

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

Definition at line 210 of file matrixBasis.hh.

◆ indexOfEdgeMesh

uint graphics::MatrixSpaceOutputCell< Real >::indexOfEdgeMesh
inherited

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

Definition at line 201 of file matrixBasis.hh.

◆ indexOfFaceAttr

uint graphics::MatrixSpaceOutputCell< Real >::indexOfFaceAttr
inherited

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

Definition at line 213 of file matrixBasis.hh.

◆ indexOfFaceMesh

uint graphics::MatrixSpaceOutputCell< Real >::indexOfFaceMesh
inherited

Index of the (next) graphics quad.

Definition at line 198 of file matrixBasis.hh.

◆ indexOfMesh

uint graphics::MatrixSpaceOutputCell< Real >::indexOfMesh
inherited

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

Definition at line 195 of file matrixBasis.hh.

◆ indexOfPoints

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::indexOfPoints
inherited

Index of the (next) graphics point.

Definition at line 138 of file matrixBasis.hh.

◆ indexOfPolynomialDegree

uint graphics::MatrixSpaceOutputCell< Real >::indexOfPolynomialDegree
inherited

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

Definition at line 219 of file matrixBasis.hh.

◆ indexOfVertexMesh

uint graphics::MatrixSpaceOutputCell< Real >::indexOfVertexMesh
inherited

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

Definition at line 204 of file matrixBasis.hh.

◆ indexOfVtxAttr

uint graphics::MatrixSpaceOutputCell< Real >::indexOfVtxAttr
inherited

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

Definition at line 216 of file matrixBasis.hh.

◆ type_

template<class G = Real>
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBasisOutputCell< G >::type_
protectedinherited

The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)

Definition at line 149 of file matrixBasis.hh.


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