Writes the mesh to the given streams (for a cell). More...
#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) | |
| Constructor (for single and repeated output) | |
| 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. | |
| virtual uint | n () const |
| Number of components. | |
| virtual void | operator() (const concepts::Element< Real > &elm) |
| Output of the mesh of the element. | |
| virtual void | operator() (const Element< Real > &elm)=0 |
| Application operator. | |
| virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
| Output of the mesh for this cell. | |
| uint | streams () const |
| Number of streams. | |
| std::map< std::string, std::ostream * > & | write () |
| Returns the streams to write the data to. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| 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. | |
| enum concepts::ElementGraphicsBase::graphicsType | type_ |
| Type of Output, like Matlab, Gnuplot. | |
Private Attributes | |
| const concepts::Array< uint > | Points_ |
| Number of points in one direction. | |
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 |
| std::vector<uint>& graphics::BaseOutputCell< Real >::count | ( | ) | [inline, inherited] |
| uint graphics::BaseOutputCell< Real >::dim | ( | ) | const [inline, inherited] |
| virtual std::ostream& graphics::BaseMeshCell::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< Real >.
| virtual uint graphics::BaseMeshCell::n | ( | ) | const [inline, virtual] |
Number of components.
Implements graphics::BaseOutputCell< Real >.
| virtual void graphics::BaseMeshCell::operator() | ( | const concepts::Cell & | cell | ) | throw (concepts::MissingFeature) [virtual] |
Output of the mesh for this cell.
Implements graphics::BaseOutputCell< Real >.
| virtual void concepts::CellPostprocess< Real >::operator() | ( | const Element< Real > & | elm | ) | [pure virtual, inherited] |
Application operator.
This application operator has to be overloaded to post process a space.
| elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
| virtual void graphics::BaseMeshCell::operator() | ( | const concepts::Element< Real > & | elm | ) | [virtual] |
Output of the mesh of the element.
Implements graphics::BaseOutputCell< Real >.
| uint graphics::BaseOutputCell< Real >::streams | ( | ) | const [inline, inherited] |
| std::map<std::string, std::ostream*>& graphics::BaseOutputCell< Real >::write | ( | ) | [inline, inherited] |
concepts::Sequence<uint> graphics::BaseOutputCell< Real >::cnt_ [protected, inherited] |
const uint graphics::BaseOutputCell< Real >::dim_ [protected, inherited] |
std::map<std::string, std::ostream*>& graphics::BaseOutputCell< Real >::os_ [protected, inherited] |
const concepts::Array<uint> graphics::BaseMeshCell::Points_ [private] |
enum concepts::ElementGraphicsBase::graphicsType graphics::BaseOutputCell< Real >::type_ [protected, inherited] |