Routines for writing mesh and formula for a single cell for different cell types. More...
#include <tecplot.hh>


Static Public Member Functions | |
| static void | writeConnect (const concepts::Quad2d &quad, std::ostream &os, const concepts::Array< uint > &np, std::vector< uint > &cnt) |
| Writes the connectivity data. | |
| template<int dim, class F > | |
| static void | writeData (const concepts::Array< concepts::Point< Real, dim > > &coord, std::ostream &os, const F *values=0) |
| Writes coordinates and data. | |
| template<class F > | |
| static void | writeFormula (const concepts::Cell &cell, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, std::vector< uint > &cnt, const concepts::PiecewiseFormulaBase< F > *frm) |
| Writes for a cell a formula on the mesh, with coordinates, to output streams. | |
| static void | writeMesh (const concepts::Cell &cell, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, std::vector< uint > &cnt) |
| Writes for a cell the mesh, eventually with coordinates, to output streams. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Static Private Member Functions | |
| template<int dim> | |
| static void | writeCoord_ (concepts::Point< Real, dim > x, std::ostream &os) |
| Writes the coordinates of one point to output streams. | |
Routines for writing mesh and formula for a single cell for different cell types.
Definition at line 269 of file tecplot.hh.
| virtual std::ostream& graphics::TecplotMesh::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| static void graphics::TecplotMesh::writeConnect | ( | const concepts::Quad2d & | quad, |
| std::ostream & | os, | ||
| const concepts::Array< uint > & | np, | ||
| std::vector< uint > & | cnt | ||
| ) | [static] |
Writes the connectivity data.
| cnt | vector with 2 components, (1st number of nodes, 2nd number of elements) |
| void graphics::TecplotMesh::writeCoord_ | ( | concepts::Point< Real, dim > | x, |
| std::ostream & | os | ||
| ) | [static, private] |
Writes the coordinates of one point to output streams.
| x | coordinates |
| os | output stream |
Definition at line 375 of file tecplot.hh.
| void graphics::TecplotMesh::writeData | ( | const concepts::Array< concepts::Point< Real, dim > > & | coord, |
| std::ostream & | os, | ||
| const F * | values = 0 |
||
| ) | [static] |
Writes coordinates and data.
| coord | Array of coordinates |
| os | output streams |
| values | C array of values |
Definition at line 362 of file tecplot.hh.
| void graphics::TecplotMesh::writeFormula | ( | const concepts::Cell & | cell, |
| std::map< std::string, std::ostream * > & | os, | ||
| const concepts::Array< uint > & | np, | ||
| std::vector< uint > & | cnt, | ||
| const concepts::PiecewiseFormulaBase< F > * | frm | ||
| ) | [static] |
Writes for a cell a formula on the mesh, with coordinates, to output streams.
| cell | Cell |
| os | output streams |
| np | number of points (per direction) |
| cnt | counter |
| frm | Formula |
Definition at line 333 of file tecplot.hh.

| static void graphics::TecplotMesh::writeMesh | ( | const concepts::Cell & | cell, |
| std::map< std::string, std::ostream * > & | os, | ||
| const concepts::Array< uint > & | np, | ||
| std::vector< uint > & | cnt | ||
| ) | [static] |
Writes for a cell the mesh, eventually with coordinates, to output streams.
| cell | Cell |
| os | output streams |
| np | number of points (per direction) |
| cnt | counter |
| boundary | if true, only on points on boundary are set |
| coord | if true, output of coordinates |