Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::MatrixCounterCell Class Referenceabstract

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixCounterCell:
concepts::CellPostprocess< Real > concepts::OutputOperator

Public Member Functions

 MatrixCounterCell (const concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, const uint points=5)
 
virtual ~MatrixCounterCell ()
 Destructor.
 
int getDimensionsOfMatrices (uint i)
 returns the dimension og
 
int getDim ()
 
void setDim (int dim)
 
virtual void operator() (const concepts::Element< Real > &elm)
 Writes data of the given element in the matrices.
 
virtual void operator() (const concepts::Cell &cell)
 Writes Data of the given cell in the matrices.
 
virtual void operator() (const Element< Real > &elm)=0
 

Public Attributes

uint dimensionsOfMatrices [5]
 
std::map< std::string, uint > noRows
 Number of rows for the matrices.
 

Protected Member Functions

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

Detailed Description

Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisOutputCell and derived classes to allocate the matrices where the data will be stored.

Author
Christian Heier, 2012

Definition at line 33 of file matrixBasis.hh.

Constructor & Destructor Documentation

◆ MatrixCounterCell()

graphics::MatrixCounterCell::MatrixCounterCell ( const concepts::ElementGraphicsBase::graphicsType  type = concepts::ElementGraphicsBase::DENSEMATRIX,
const uint  points = 5 
)

Constructor.

The default values are for MatrixBasisOutputCell and derived classes.

If you want to calculate the dimensions of the matrices for a MatrixBaseMeshCell you have to set type to MESH_DENSEMATRIX.

Member Function Documentation

◆ getDim()

int graphics::MatrixCounterCell::getDim ( )
inline

Definition at line 53 of file matrixBasis.hh.

◆ getDimensionsOfMatrices()

int graphics::MatrixCounterCell::getDimensionsOfMatrices ( uint  i)
inline

returns the dimension og

Definition at line 49 of file matrixBasis.hh.

◆ info()

virtual std::ostream & graphics::MatrixCounterCell::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< Real >.

◆ operator()() [1/2]

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

Writes Data of the given cell in the matrices.

Implements concepts::CellPostprocess< Real >.

◆ operator()() [2/2]

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

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

Parameters
elmCurrent element

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

◆ setDim()

void graphics::MatrixCounterCell::setDim ( int  dim)
inline

Definition at line 57 of file matrixBasis.hh.

Member Data Documentation

◆ dimensionsOfMatrices

uint graphics::MatrixCounterCell::dimensionsOfMatrices[5]

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. fifth component: number of faces in a 3-d mesh

Definition at line 75 of file matrixBasis.hh.

◆ noRows

std::map<std::string, uint> graphics::MatrixCounterCell::noRows

Number of rows for the matrices.

Definition at line 78 of file matrixBasis.hh.


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