Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Static Public Member Functions | Protected Member Functions | Static Private Member Functions
graphics::TecplotMesh Class Reference

Routines for writing mesh and formula for a single cell for different cell types. More...

#include <tecplot.hh>

Inheritance diagram for graphics::TecplotMesh:
Inheritance graph
[legend]
Collaboration diagram for graphics::TecplotMesh:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Routines for writing mesh and formula for a single cell for different cell types.

Author:
Kersten Schmidt, 2005

Definition at line 269 of file tecplot.hh.


Member Function Documentation

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.

Parameters:
cntvector with 2 components, (1st number of nodes, 2nd number of elements)
template<int dim>
void graphics::TecplotMesh::writeCoord_ ( concepts::Point< Real, dim >  x,
std::ostream &  os 
) [static, private]

Writes the coordinates of one point to output streams.

Parameters:
xcoordinates
osoutput stream

Definition at line 375 of file tecplot.hh.

template<int dim, class F >
void graphics::TecplotMesh::writeData ( const concepts::Array< concepts::Point< Real, dim > > &  coord,
std::ostream &  os,
const F *  values = 0 
) [static]

Writes coordinates and data.

Parameters:
coordArray of coordinates
osoutput streams
valuesC array of values

Definition at line 362 of file tecplot.hh.

template<class F >
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.

Parameters:
cellCell
osoutput streams
npnumber of points (per direction)
cntcounter
frmFormula

Definition at line 333 of file tecplot.hh.

Here is the call graph for this function:

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.

Parameters:
cellCell
osoutput streams
npnumber of points (per direction)
cntcounter
boundaryif true, only on points on boundary are set
coordif true, output of coordinates

The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)