Writes the data which describe the elements to the three streams. More...
#include <meshMatlab.hh>


Public Member Functions | |
| MeshMatlabCell (std::ostream *os1, std::ostream *os2, std::ostream *os3) | |
| Constructor. | |
| virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
| Application operator. | |
| virtual void | operator() (const concepts::Element< F > &elm) throw (concepts::MissingFeature) |
| Application operator. | |
| virtual | ~MeshMatlabCell () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| uint | cnt_ |
| Counter. | |
| std::auto_ptr < concepts::DynArray< uint > > | map_ |
| Map for vertices of the elements. | |
| std::ostream * | os1_ |
| Output streams. | |
| std::ostream * | os2_ |
| std::ostream * | os3_ |
Writes the data which describe the elements to the three streams.
There are two different output formats depending on the cell.
In the first output format every stream takes another component of the coordinates of a point. Then every line which is printed signifies a poly line in the final drawing.
In the second case the first stream takes all coordinates of a point and the second one the mesh. The third stream is not used.
Definition at line 95 of file meshMatlab.hh.
| graphics::MeshMatlabCell< F >::MeshMatlabCell | ( | std::ostream * | os1, |
| std::ostream * | os2, | ||
| std::ostream * | os3 | ||
| ) |
Constructor.
| virtual graphics::MeshMatlabCell< F >::~MeshMatlabCell | ( | ) | [virtual] |
| virtual std::ostream& concepts::CellPostprocess< F >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in EvaluateEa_of_x, CellA_M_alpha_of_x, CellA_M_of_x_MC, graphics::BaseOutputCell< F >, graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseMeshCell, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellEdgeIntegral< F >, graphics::BaseOutputCell< G >, and graphics::BaseOutputCell< Real >.
| virtual void graphics::MeshMatlabCell< F >::operator() | ( | const concepts::Element< F > & | elm | ) | throw (concepts::MissingFeature) [virtual] |
Application operator.
This application operator has to be overloaded to post process a space.
| elm | Current element |
Implements concepts::CellPostprocess< F >.
| virtual void graphics::MeshMatlabCell< F >::operator() | ( | const concepts::Cell & | cell | ) | throw (concepts::MissingFeature) [virtual] |
Application operator.
This application operator has to be overloaded to post process a mesh.
| cell | Current cell |
Implements concepts::CellPostprocess< F >.
uint graphics::MeshMatlabCell< F >::cnt_ [private] |
Counter.
Definition at line 110 of file meshMatlab.hh.
std::auto_ptr<concepts::DynArray<uint> > graphics::MeshMatlabCell< F >::map_ [private] |
Map for vertices of the elements.
Definition at line 108 of file meshMatlab.hh.
std::ostream* graphics::MeshMatlabCell< F >::os1_ [private] |
Output streams.
Definition at line 106 of file meshMatlab.hh.
std::ostream * graphics::MeshMatlabCell< F >::os2_ [private] |
Definition at line 106 of file meshMatlab.hh.
std::ostream * graphics::MeshMatlabCell< F >::os3_ [private] |
Definition at line 106 of file meshMatlab.hh.