Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::MeshEPSCell< F > Class Template Referenceabstract

#include <meshEPS.hh>

Inheritance diagram for graphics::MeshEPSCell< F >:
concepts::CellPostprocess< Real > concepts::OutputOperator

Public Member Functions

 MeshEPSCell (std::ostream &os, concepts::Mesh2 &msh, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
 
 MeshEPSCell (std::ostream &os, concepts::Space< F > &spc, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
 
virtual void operator() (const concepts::Element< Real > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 
void offsetMin (const concepts::Real2d &x)
 
void maxMax (const concepts::Real2d &x)
 
virtual void operator() (const Element< Real > &elm)=0
 

Protected Member Functions

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

Detailed Description

template<class F>
class graphics::MeshEPSCell< F >

Draws a picture of a mesh in EPS. The application operator of this class sketches the mesh in EPS format for each cell or element.

You should not use this class directly. Instead, use the executor class MeshEPS or (even simpler) its trampoline function drawMeshEPS (which hides the template parameter of MeshEPS).

See also
MeshEPS the executor class
drawMeshEPS the trampoline function of MeshEPS
Author
Philipp Frauenfelder, 2000

Definition at line 98 of file meshEPS.hh.

Constructor & Destructor Documentation

◆ MeshEPSCell() [1/2]

template<class F >
graphics::MeshEPSCell< F >::MeshEPSCell ( std::ostream &  os,
concepts::Mesh2 msh,
const Real  scale = 100,
const Real  greyscale = 1.0,
const unsigned int  nPoints = 20 
)

Constructor. First scanns the mesh for the top right and bottom left point and then prints the header of the EPS file.

Parameters
osOutput stream where the data should be written to
mshThe mesh which should be draw
scaleOptional scaling parameter

◆ MeshEPSCell() [2/2]

template<class F >
graphics::MeshEPSCell< F >::MeshEPSCell ( std::ostream &  os,
concepts::Space< F > &  spc,
const Real  scale = 100,
const Real  greyscale = 1.0,
const unsigned int  nPoints = 20 
)

Constructor. First scanns the mesh for the top right and bottom left point and then prints the header of the EPS file.

Parameters
osOutput stream where the data should be written to
spcThe space which should be drawn
scaleOptional scaling parameter

Member Function Documentation

◆ info()

virtual std::ostream & concepts::CellPostprocess< Real >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ operator()() [1/2]

template<class F >
virtual void graphics::MeshEPSCell< F >::operator() ( const concepts::Cell cell)
virtual

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

Parameters
cellCurrent cell

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 >.


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