Handles graphics for 1D hp FEM elements. More...
#include <lineGraphics.hh>


Public Types | |
| enum | graphicsType { DATA_DX_COUNTS, DATA_DX_COORDINATES, DATA_DX_CONNECTIONS, DATA_DX_DATA, MESH_GNUPLOT, DATA_GNUPLOT, MESH_EPS, MESH_EPS_INIT, MESH_MATLAB, MESH_DX, VERTEX_LIST, TOPOLOGY_DOTTY, DATA_MATLAB, MATLAB, TECPLOT, DENSEMATRIX, MESH_DENSEMATRIX } |
Public Member Functions | |
| virtual void | operator() (const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const |
| virtual void | operator() (const Element< Real > &elm, enum graphicsType type, CellPostprocess< Real > &post) const =0 |
| Writes necessary data to a file for graphics. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| template<class G > | |
| bool | writeMatlab_ (const Element< Real > &elm, graphics::BaseElementFormulaCell< G, Real > *stream) const |
Handles graphics for 1D hp FEM elements.
Definition at line 30 of file lineGraphics.hh.
enum concepts::ElementGraphicsBase::graphicsType [inherited] |
Definition at line 25 of file elementGraphics.hh.
| virtual std::ostream& hp1D::LineGraphics::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual void concepts::ElementGraphics< Real >::operator() | ( | const Element< Real > & | elm, |
| enum graphicsType | type, | ||
| CellPostprocess< Real > & | post | ||
| ) | const [pure virtual, inherited] |
Writes necessary data to a file for graphics.
This method is called by the application operator of the object which should create the graphics file. Such an object is a specialization of CellPostprocess. It is best if an element returns an object of this type.
| elm | Element which should be depicted |
| type | Type of graphics |
| post | Calling CellPostprocess specialization, might be necessary to get some data |
| virtual void hp1D::LineGraphics::operator() | ( | const concepts::Element< Real > & | elm, |
| enum graphicsType | type, | ||
| concepts::CellPostprocess< Real > & | post | ||
| ) | const [virtual] |
| bool hp1D::LineGraphics::writeMatlab_ | ( | const Element< Real > & | elm, |
| graphics::BaseElementFormulaCell< G, Real > * | stream | ||
| ) | const [private] |