tecplot.hh
static void writeData(const concepts::Array< concepts::Point< Real, dim > > &coord, std::ostream &os, const F *values=0)
Writes coordinates and data.
Definition: tecplot.hh:364
An abstract class for a function in a FE space.
Definition: elementFormula.hh:25
Piecewise defined function on a number of cells.
Definition: piecewiseFormula.hh:43
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
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.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Routines for writing mesh and formula for a single cell for different cell types.
Definition: tecplot.hh:271
#define DEBUGL(doit, msg)
Class for writing the graphical output of a FE solution represented by a coefficient vector (and poss...
Definition: basis.hh:140
static void writeCoord_(concepts::Point< Real, dim > x, std::ostream &os)
Writes the coordinates of one point to output streams.
Definition: tecplot.hh:377
std::map< std::string, std::ostream * > s_ptr_
Pointer to the streams, i.e. *(s_ptr_["vtxmsh"]) for FE mesh.
Definition: tecplot.hh:142
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
TecplotGraphics(concepts::Mesh &msh, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL, const uint points=noPoints)
Constructor for output of mesh only.
Writes element formula for a cell to the given streams.
Definition: basis.hh:186
std::vector< uint > & count()
Number of points written to the files, used for mesh representation.
Definition: basis.hh:108
void write_(concepts::GlobalPostprocess< G > &postProcess, BaseOutputCell< G > &tecplot, const F v)
Creates standard streams, writes to streams, writes to file and clear and delete all streams.
Definition: tecplot.hh:246
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.
Definition: tecplot.hh:335
const std::string typeStr_() const
Returns a string for the element type.
static void writeConnect(const concepts::Quad2d &quad, std::ostream &os, const concepts::Array< uint > &np, std::vector< uint > &cnt)
Writes the connectivity data.
std::string tecplotEnding(const std::string &filename)
Returns a string with ".dat" ending.
void closeStreams_(const std::vector< uint > &cnt)
Closes the streams.
void header(std::ostream &os, std::string name, uint cnt=0)
Output of a header.
Definition: outputTecplot.hh:44
TecplotGraphics(const concepts::Space< G > &spc, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL)
Constructor for output of mesh only.
Definition: tecplot.hh:150