Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::MeshDXCell< F > Class Template Reference

#include <meshDX.hh>

Inheritance diagram for graphics::MeshDXCell< F >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 MeshDXCell (std::ostream &os, VertexList &vtxList, uint nelms, uint nfaces, uint dim=2)
 
virtual void operator() (const concepts::Element< F > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 

Protected Member Functions

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

Detailed Description

template<class F>
class graphics::MeshDXCell< F >

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

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

See also
MeshDX the executor class
drawMeshDX the trampoline function of MeshDX
Author
Philipp Frauenfelder, 2000

Definition at line 163 of file meshDX.hh.

Constructor & Destructor Documentation

◆ MeshDXCell()

template<class F >
graphics::MeshDXCell< F >::MeshDXCell ( std::ostream &  os,
VertexList vtxList,
uint  nelms,
uint  nfaces,
uint  dim = 2 
)

Constructor. Creates the header of the file and writes the coordinates of the vertices to the file. The order of the vertices is stored in the vertex list.

Parameters
osOutput stream where the data should be written to.
vtxListList of vertices with coordinates and connectivity information
nelmsNumber of elements
nfacesNumber of boundary faces
dimNumber of spatial dimensions of the mesh or space
Precondition
dim = 2 or dim = 3 corresponds to the spatial dimension of the mesh or space.

Member Function Documentation

◆ info()

◆ operator()() [1/2]

template<class F >
virtual void graphics::MeshDXCell< 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< F >.

◆ operator()() [2/2]

template<class F >
virtual void graphics::MeshDXCell< F >::operator() ( const concepts::Element< F > &  elm)
virtual

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

Parameters
elmCurrent element

Implements concepts::CellPostprocess< F >.


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