#include <basis.hh>
Public Member Functions | |
BaseMeshCell (std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const uint points=5) | |
virtual void | operator() (const concepts::Element< Real > &elm) |
virtual void | operator() (const concepts::Cell &cell) |
virtual uint | n () const |
Number of components. | |
virtual void | operator() (const Element< F > &elm)=0 |
std::map< std::string, std::ostream * > & | write () |
Returns the streams to write the data to. | |
uint | streams () const |
Number of streams. | |
std::vector< uint > & | count () |
Number of points written to the files, used for mesh representation. | |
uint | dim () const |
Number of the elements, used for drawing mesh representation. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
Type of Output, like Matlab, Gnuplot. | |
concepts::Sequence< uint > | cnt_ |
Some counters. | |
const uint | dim_ |
Number of drawn elements. | |
std::map< std::string, std::ostream * > & | os_ |
Streams to write the data to. | |
Writes the mesh to the given streams (for a cell).
It can be used for different formats, like Matlab, Gnuplot.
graphics::BaseMeshCell::BaseMeshCell | ( | std::map< std::string, std::ostream * > & | os, |
const uint | dim, | ||
const concepts::ElementGraphicsBase::graphicsType | type, | ||
const uint | points = 5 |
||
) |
Constructor (for single and repeated output)
os | Streams |
dim | Spatial dimension of the elements |
type | Graphics type, e.g. MESH_MATLAB |
points | Number of points in one direction |
|
inlineinherited |
|
inlineinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< Real >.
|
inlinevirtual |
Number of components.
Implements graphics::BaseOutputCell< Real >.
|
virtual |
Output of the mesh for this cell
Implements graphics::BaseOutputCell< Real >.
|
virtual |
Output of the mesh of the element
Implements graphics::BaseOutputCell< Real >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implemented in graphics::DataGnuplotCell< F >, graphics::MeshDATCell< F >, graphics::MeshDXCell< F >, graphics::BoundaryDXCell< F >, graphics::MeshGnuplotCell< F >, graphics::MeshMatlabCell< F >, graphics::MeshTecplotCell< F >, graphics::TopologyDottyCell< F >, hp1D::RefineOrRaise< F >, hp3D::RefineOrRaise< F, G >, graphics::BaseOutputCell< F >, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |