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

#include <matrixBasis.hh>

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

Public Member Functions

uint dim () const
 returns the space dimension of the mesh (two by default) More...
 
DenseMatrixCollection< Real > & getMapping ()
 Returns a mapping with all dense matrices, where data should be stored. More...
 
 MatrixBaseMeshCell (DenseMatrixCollection< 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) More...
 
virtual void operator() (const concepts::Cell &cell)
 Output of the mesh of of the cell cell. More...
 
virtual void operator() (const concepts::Element< Real > &elm)
 Output of the mesh of the element elm. More...
 
virtual void operator() (const Element< Real > &elm)=0
 Application operator. More...
 
virtual void resetCounter ()
 Resets all counter. More...
 
virtual ~MatrixBaseMeshCell ()
 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< Real > & 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...
 

Private Attributes

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

Detailed Description

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

Author
Christian Heier, 2012

Definition at line 420 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 429 of file matrixBasis.hh.

◆ ~MatrixBaseMeshCell()

virtual graphics::MatrixBaseMeshCell::~MatrixBaseMeshCell ( )
virtual

Destructor.

Member Function Documentation

◆ dim()

uint graphics::MatrixBasisOutputCell< Real >::dim
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/3]

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/3]

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()() [3/3]

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< F > &  elm)
pure virtualinherited

Application operator.

This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.

◆ resetCounter()

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

Resets all counter.

Reimplemented from graphics::MatrixBasisOutputCell< Real >.

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_

uint graphics::MatrixBasisOutputCell< Real >::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

uint graphics::MatrixBasisOutputCell< Real >::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.

◆ points_

const concepts::Array<uint> graphics::MatrixBaseMeshCell::points_
private

Number of points in one direction.

Definition at line 447 of file matrixBasis.hh.

◆ type_


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich