graphics::DenseMatrixCollection< G > Class Template Reference

Class that hold and manage a std::map with concepts::ElementMatrices for graphical output, collected by graphics::DenseMatrixGraphics. More...

#include <denseMatrixGraphics.hh>

Inheritance diagram for graphics::DenseMatrixCollection< G >:

Public Member Functions

 DenseMatrixCollection (MatrixCounterCell &counter, bool data=true)
 Constructor: Creates a DenseMatrixCollection holding matrices for graphical output with graphics::DenseMatrixGraphics, depending of the input parameters. More...
 
virtual ~DenseMatrixCollection ()
 Destructor: deltes the pointers in the mapping. More...
 

Protected Member Functions

void createMatrices_ (MatrixCounterCell &counter)
 Creates the matrices. More...
 
void createMatrix_ (const std::string name, uint nrows, uint ncols)
 Creates one dense matrix. More...
 

Protected Attributes

bool data_
 Information which values are stored in the mapping. More...
 
int dim_
 The physical space dimension. More...
 

Detailed Description

template<class G>
class graphics::DenseMatrixCollection< G >

Class that hold and manage a std::map with concepts::ElementMatrices for graphical output, collected by graphics::DenseMatrixGraphics.

Author
Christian Heier, 2012

Definition at line 26 of file denseMatrixGraphics.hh.

Constructor & Destructor Documentation

◆ DenseMatrixCollection()

template<class G >
graphics::DenseMatrixCollection< G >::DenseMatrixCollection ( MatrixCounterCell counter,
bool  data = true 
)

Constructor: Creates a DenseMatrixCollection holding matrices for graphical output with graphics::DenseMatrixGraphics, depending of the input parameters.

Parameters
counterA MatrixCounterCell that holds informations about the size of the matrices
dataif data = false, just allocate matrices for the output of a mesh
dimthe dimension of the space (in 1D, 2D or 3D)

◆ ~DenseMatrixCollection()

template<class G >
virtual graphics::DenseMatrixCollection< G >::~DenseMatrixCollection ( )
virtual

Destructor: deltes the pointers in the mapping.

Member Function Documentation

◆ createMatrices_()

template<class G >
void graphics::DenseMatrixCollection< G >::createMatrices_ ( MatrixCounterCell counter)
protected

Creates the matrices.

◆ createMatrix_()

template<class G >
void graphics::DenseMatrixCollection< G >::createMatrix_ ( const std::string  name,
uint  nrows,
uint  ncols 
)
protected

Creates one dense matrix.

Member Data Documentation

◆ data_

template<class G >
bool graphics::DenseMatrixCollection< G >::data_
protected

Information which values are stored in the mapping.

Definition at line 53 of file denseMatrixGraphics.hh.

◆ dim_

template<class G >
int graphics::DenseMatrixCollection< G >::dim_
protected

The physical space dimension.

Definition at line 50 of file denseMatrixGraphics.hh.


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