Class documentation of Concepts

Loading...
Searching...
No Matches

#include <tecplot.hh>

Inheritance diagram for graphics::TecplotMesh:
concepts::OutputOperator

Static Public Member Functions

static void writeMesh (const concepts::Cell &cell, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, std::vector< uint > &cnt)
 
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)
 
template<uint dim, class F >
static void writeData (const concepts::Array< concepts::Point< Real, dim > > &coord, std::ostream &os, const F *values=0)
 
static void writeConnect (const concepts::Quad2d &quad, std::ostream &os, const concepts::Array< uint > &np, std::vector< uint > &cnt)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

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

Author
Kersten Schmidt, 2005

Definition at line 271 of file tecplot.hh.

Member Function Documentation

◆ info()

virtual std::ostream & graphics::TecplotMesh::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ writeConnect()

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)

◆ writeData()

template<uint 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 363 of file tecplot.hh.

◆ writeFormula()

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 335 of file tecplot.hh.

◆ writeMesh()

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: