Class documentation of Concepts

Loading...
Searching...
No Matches

#include <matlab.hh>

Inheritance diagram for graphics::MatlabMesh:
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, uint &cnt, bool boundary=false, bool coord=true)
 
template<class F >
static void writeFormula (const concepts::Cell &cell, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, uint &cnt, const concepts::PiecewiseFormulaBase< F > *frm)
 
static void writeAttributes (const concepts::Connector &cntr, std::map< std::string, std::ostream * > &os)
 
template<uint dim>
static void writeCoord (typename concepts::Point< Real, dim > x, std::map< std::string, std::ostream * > &os)
 
static void writeCoord (concepts::Point< Real, 2 > x, std::map< std::string, std::ostream * > &os)
 
static void writeCoord (const concepts::Point< Real, 3 > x, std::map< std::string, std::ostream * > &os, const uint dim)
 

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 325 of file matlab.hh.

Member Function Documentation

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ writeAttributes()

static void graphics::MatlabMesh::writeAttributes ( const concepts::Connector cntr,
std::map< std::string, std::ostream * > &  os 
)
static

Writes for a cell the attributes to output streams.

Parameters
cntrconnector
osoutput streams
npnumber of points (per direction)
cntcounter

◆ writeCoord()

template<uint dim>
void graphics::MatlabMesh::writeCoord ( typename concepts::Point< Real, dim >  x,
std::map< std::string, std::ostream * > &  os 
)
static

Writes the coordinates of one point to output streams.

Parameters
xcoordinates
osoutput streams

Definition at line 396 of file matlab.hh.

◆ writeFormula()

template<class F >
void graphics::MatlabMesh::writeFormula ( const concepts::Cell cell,
std::map< std::string, std::ostream * > &  os,
const concepts::Array< uint > &  np,
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 411 of file matlab.hh.

◆ writeMesh()

static void graphics::MatlabMesh::writeMesh ( const concepts::Cell cell,
std::map< std::string, std::ostream * > &  os,
const concepts::Array< uint > &  np,
uint &  cnt,
bool  boundary = false,
bool  coord = true 
)
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: