graphics::MeshMatlabCell< F > Class Template Reference
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. More... | |
virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
Application operator. More... | |
virtual void | operator() (const concepts::Element< F > &elm) throw (concepts::MissingFeature) |
Application operator. More... | |
virtual | ~MeshMatlabCell () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
uint | cnt_ |
Counter. More... | |
std::unique_ptr< concepts::DynArray< uint > > | map_ |
Map for vertices of the elements. More... | |
std::ostream * | os1_ |
Output streams. More... | |
std::ostream * | os2_ |
std::ostream * | os3_ |
Detailed Description
template<typename F>
class graphics::MeshMatlabCell< F >
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 97 of file meshMatlab.hh.
Constructor & Destructor Documentation
◆ MeshMatlabCell()
graphics::MeshMatlabCell< F >::MeshMatlabCell | ( | std::ostream * | os1, |
std::ostream * | os2, | ||
std::ostream * | os3 | ||
) |
Constructor.
◆ ~MeshMatlabCell()
|
virtual |
Member Function Documentation
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::CellEdgeIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellIntegral< F >, concepts::PRefinement< F, dim >, concepts::HRefinement< F, dim >, hp3D::APrioriRefinement, hp2D::APrioriRefinement, graphics::VertexList, graphics::MatrixBaseElementFormulaCell< F, G >, graphics::MatrixCounterCell, graphics::BaseMeshCell, graphics::BaseFormulaCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseDataCell< F, G >, graphics::BaseOutputCell< F >, graphics::BaseOutputCell< typename concepts::Realtype< F >::type >, and graphics::BaseOutputCell< Real >.
◆ operator()() [1/2]
|
virtual |
Application operator.
This application operator has to be overloaded to post process a mesh.
- Parameters
-
cell Current cell
Implements concepts::CellPostprocess< F >.
◆ operator()() [2/2]
|
virtual |
Application operator.
This application operator has to be overloaded to post process a space.
- Parameters
-
elm Current element
Implements concepts::CellPostprocess< F >.
Member Data Documentation
◆ cnt_
|
private |
Counter.
Definition at line 112 of file meshMatlab.hh.
◆ map_
|
private |
Map for vertices of the elements.
Definition at line 110 of file meshMatlab.hh.
◆ os1_
|
private |
Output streams.
Definition at line 108 of file meshMatlab.hh.
◆ os2_
|
private |
Definition at line 108 of file meshMatlab.hh.
◆ os3_
|
private |
Definition at line 108 of file meshMatlab.hh.
The documentation for this class was generated from the following file:
- graphics/meshMatlab.hh