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

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes
graphics::MatrixBaseMeshCell Class Reference

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixBaseMeshCell:
Inheritance graph
[legend]
Collaboration diagram for graphics::MatrixBaseMeshCell:
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
< concepts::Real > * > & 
getMapping ()
 Returns a mapping with all dense matrices, where data should be stored.
 MatrixBaseMeshCell (std::map< std::string, concepts::DenseMatrix< concepts::Real > * > &dense_ptr, const uint dim=2, const uint points=5, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
 Constructor (for single and repeated output)
virtual void operator() (const concepts::Cell &cell)
 Output of the mesh of of the cell.
virtual void operator() (const concepts::Element< concepts::Real > &elm)=0
 Writes data of the given element in the matrices.
virtual void operator() (const concepts::Element< Real > &elm)
 Output of the mesh of the element.
void resetCounter ()
virtual ~MatrixBaseMeshCell ()

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
< concepts::Real > * > & 
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)

Private Attributes

const concepts::Array< uint > points_
 Number of points in one direction.

Detailed Description

Definition at line 378 of file matrixBasis.hh.


Constructor & Destructor Documentation

graphics::MatrixBaseMeshCell::MatrixBaseMeshCell ( std::map< std::string, concepts::DenseMatrix< concepts::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 388 of file matrixBasis.hh.

virtual graphics::MatrixBaseMeshCell::~MatrixBaseMeshCell ( ) [inline, virtual]

Definition at line 397 of file matrixBasis.hh.


Member Function Documentation

uint graphics::MatrixBaseOutputCell< concepts::Real >::dim ( ) const [inline, inherited]

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

Definition at line 56 of file matrixBasis.hh.

std::map<std::string, concepts::DenseMatrix<concepts::Real >*>& graphics::MatrixBaseOutputCell< concepts::Real >::getMapping ( ) [inline, inherited]

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< concepts::Real >::info ( std::ostream &  os) const [protected, virtual, inherited]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

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

Output of the mesh of the element.

Definition at line 402 of file matrixBasis.hh.

Here is the call graph for this function:

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

Output of the mesh of of the cell.

Implements graphics::MatrixBaseOutputCell< concepts::Real >.

virtual void graphics::MatrixBaseOutputCell< concepts::Real >::operator() ( const concepts::Element< concepts::Real > &  elm) [pure virtual, inherited]

Writes data of the given element in the matrices.

Implements concepts::CellPostprocess< concepts::Real >.

void graphics::MatrixBaseOutputCell< concepts::Real >::resetCounter ( ) [inline, inherited]

Definition at line 104 of file matrixBasis.hh.


Member Data Documentation

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.

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<concepts::Real >*>& graphics::MatrixBaseOutputCell< concepts::Real >::dense_ptr_ [protected, inherited]

A mapping that holds all data in concepts::DenseMatrix<F>

Definition at line 122 of file matrixBasis.hh.

uint graphics::MatrixBaseOutputCell< concepts::Real >::dim_ [protected, inherited]

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

Definition at line 119 of file matrixBasis.hh.

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.

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

Definition at line 73 of file matrixBasis.hh.

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

Definition at line 76 of file matrixBasis.hh.

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

Definition at line 67 of file matrixBasis.hh.

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

Definition at line 64 of file matrixBasis.hh.

Index of the (next) graphics point.

Definition at line 61 of file matrixBasis.hh.

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

Definition at line 82 of file matrixBasis.hh.

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

Definition at line 70 of file matrixBasis.hh.

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

Definition at line 79 of file matrixBasis.hh.

Number of points in one direction.

Definition at line 414 of file matrixBasis.hh.


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

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