#include <graphicspy.hh>

Inheritance diagram for graphicspy::PythonGraphics:
graphics::DenseMatrixGraphics

Public Member Functions

bp::dict getData ()
 
template<class T >
 PythonGraphics (const concepts::Space< T > &spc)
 

Static Public Attributes

static uint noPoints
 

Protected Member Functions

template<class T >
void addSpace_ (const concepts::Space< T > &spc)
 
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...
 

Protected Attributes

bp::dict dictionary
 

Detailed Description

Definition at line 14 of file graphicspy.hh.

Constructor & Destructor Documentation

◆ PythonGraphics()

template<class T >
graphicspy::PythonGraphics::PythonGraphics ( const concepts::Space< T > &  spc)

Member Function Documentation

◆ addSpace_()

template<class T >
void graphicspy::PythonGraphics::addSpace_ ( const concepts::Space< T > &  spc)
protected

◆ getData()

bp::dict graphicspy::PythonGraphics::getData ( )

◆ 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 
)
protectedinherited

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 
)
protectedinherited

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 
)
protectedinherited

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)
protectedinherited

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

◆ dictionary

bp::dict graphicspy::PythonGraphics::dictionary
protected

Definition at line 28 of file graphicspy.hh.

◆ noPoints

uint graphics::DenseMatrixGraphics::noPoints
staticinherited

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