graphics::BaseOutputCell< F > Class Template Referenceabstract
Writes the mesh to the given streams. More...
#include <basis.hh>
Public Member Functions | |
BaseOutputCell (std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type) | |
std::vector< uint > & | count () |
Number of points written to the files, used for mesh representation. More... | |
uint | dim () const |
Number of the elements, used for drawing mesh representation. More... | |
virtual uint | n () const =0 |
Number of components. More... | |
virtual void | operator() (const concepts::Cell &cell)=0 |
Application operator. More... | |
virtual void | operator() (const concepts::Element< F > &elm)=0 |
virtual void | operator() (const Element< Real > &elm)=0 |
Application operator. More... | |
uint | streams () const |
Number of streams. More... | |
std::map< std::string, std::ostream * > & | write () |
Returns the streams to write the data to. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::Sequence< uint > | cnt_ |
Some counters. More... | |
const uint | dim_ |
Number of drawn elements. More... | |
std::map< std::string, std::ostream * > & | os_ |
Streams to write the data to. More... | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
Type of Output, like Matlab, Gnuplot. More... | |
Detailed Description
template<class F = Real>
class graphics::BaseOutputCell< F >
Writes the mesh to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
Constructor & Destructor Documentation
◆ BaseOutputCell()
|
inline |
Member Function Documentation
◆ count()
|
inline |
◆ dim()
|
inline |
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CellPostprocess< Real >.
Reimplemented in graphics::BaseMeshCell, graphics::BaseFormulaCell< F, G >, graphics::BaseElementFormulaCell< F, G >, and graphics::BaseDataCell< F, G >.
◆ n()
|
pure virtual |
Number of components.
◆ operator()() [1/3]
|
pure virtual |
Application operator.
This application operator has to be overloaded to post process a mesh.
- Parameters
-
cell Current cell
Implements concepts::CellPostprocess< Real >.
Implemented in graphics::BaseMeshCell, graphics::BaseFormulaCell< F, G >, graphics::BaseElementFormulaCell< F, G >, and graphics::BaseDataCell< F, G >.
◆ operator()() [2/3]
|
pure virtual |
Implemented in graphics::BaseMeshCell.
◆ operator()() [3/3]
|
pure virtualinherited |
Application operator.
This application operator has to be overloaded to post process a space.
- Parameters
-
elm Current element
Implemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.
◆ streams()
|
inline |
◆ write()
|
inline |
Member Data Documentation
◆ cnt_
|
protected |
◆ dim_
|
protected |
◆ os_
|
protected |
◆ type_
|
protected |
The documentation for this class was generated from the following file:
- graphics/basis.hh