#include <meshDX.hh>
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. | |
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
).
MeshDX
the executor class drawMeshDX
the trampoline function of MeshDX
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.
os | Output stream where the data should be written to. |
vtxList | List of vertices with coordinates and connectivity information |
nelms | Number of elements |
nfaces | Number of boundary faces |
dim | Number of spatial dimensions of the mesh or space |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::BaseOutputCell< F >, graphics::BaseOutputCell< Real >, graphics::BaseOutputCell< typename concepts::Realtype< F >::type >, graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseMeshCell, graphics::MatrixCounterCell, graphics::MatrixBaseElementFormulaCell< F, G >, graphics::MatrixSolutionEvaluationCell< F, G >, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a mesh.
cell | Current cell |
Implements concepts::CellPostprocess< F >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implements concepts::CellPostprocess< F >.