Class that collects data for graphical output and stores it in concepts::ElementMatrices and graphics::DenseMatrixCollection. More...

#include <denseMatrixGraphics.hh>

Inheritance diagram for graphics::DenseMatrixGraphics:
graphics::MatlabBinaryGraphics graphics::VtkGraphics graphicspy::PythonGraphics graphics::MatlabElasticityGraphics

Public Member Functions

 DenseMatrixGraphics ()
 Constructor. More...
 
virtual ~DenseMatrixGraphics ()
 Destructor. More...
 

Static Public Attributes

static uint noPoints
 

Protected Member Functions

template<class F , class G >
concepts::RCP< concepts::ElementMatrix< typename concepts::Datatype< F >::type > > getFunction (const concepts::Space< G > &spc, const concepts::ElementFormula< F, G > &frm)
 Returns a vector with the value of the function on the quadrature-points of a given space using the given concepts::ElementFormula. More...
 
DenseMatrixCollection< Real > getMesh (concepts::Mesh &msh, const uint points=5)
 Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given mesh. More...
 
template<class F , class G >
concepts::RCP< concepts::ElementMatrix< F > > getSolution (const concepts::Space< G > &spc, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0)
 Returns a vector with the value of the solution on the quadrature-points of a given space using a given coefficient vector. More...
 
template<class G >
DenseMatrixCollection< G > getSpace (const concepts::Space< G > &spc)
 Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given space. More...
 

Detailed Description

Class that collects data for graphical output and stores it in concepts::ElementMatrices and graphics::DenseMatrixCollection.

Author
Christian Heier, 2012

Definition at line 69 of file denseMatrixGraphics.hh.

Constructor & Destructor Documentation

◆ DenseMatrixGraphics()

graphics::DenseMatrixGraphics::DenseMatrixGraphics ( )

Constructor.

◆ ~DenseMatrixGraphics()

virtual graphics::DenseMatrixGraphics::~DenseMatrixGraphics ( )
virtual

Destructor.

Member Function Documentation

◆ getFunction()

template<class F , class G >
concepts::RCP< concepts::ElementMatrix< typename concepts::Datatype< F >::type > > graphics::DenseMatrixGraphics::getFunction ( const concepts::Space< G > &  spc,
const concepts::ElementFormula< F, G > &  frm 
)
protected

Returns a vector with the value of the function on the quadrature-points of a given space using the given concepts::ElementFormula.

Parameters
spcThe space on which the Element Formula is defined
frmThe ElementFormula of the function that should be plotted

Definition at line 194 of file denseMatrixGraphics.hh.

◆ getMesh()

DenseMatrixCollection<Real> graphics::DenseMatrixGraphics::getMesh ( concepts::Mesh msh,
const uint  points = 5 
)
protected

Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given mesh.

Parameters
mshThe mesh
dimThe dimension of the mesh

◆ getSolution()

template<class F , class G >
concepts::RCP< concepts::ElementMatrix< F > > graphics::DenseMatrixGraphics::getSolution ( const concepts::Space< G > &  spc,
const concepts::Vector< F > &  sol,
const concepts::ElementFunction< F, G > *  fun = 0 
)
protected

Returns a vector with the value of the solution on the quadrature-points of a given space using a given coefficient vector.

Parameters
spcThe space from which the solution vector was generated
solThe solution vector
funFunction of the solution (e.g. solution itself, its gradient, it's Laplacien etc.)

Definition at line 130 of file denseMatrixGraphics.hh.

◆ getSpace()

template<class G >
DenseMatrixCollection< G > graphics::DenseMatrixGraphics::getSpace ( const concepts::Space< G > &  spc)
protected

Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given space.

Parameters
spcThe space
dimThe dimension of the space

Definition at line 171 of file denseMatrixGraphics.hh.

Member Data Documentation

◆ noPoints

uint graphics::DenseMatrixGraphics::noPoints
static

Definition at line 78 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