Routines for writing mesh and formula for a single cell for different cell types.
More...
#include <matlab.hh>
|
static void | writeAttributes (const concepts::Connector &cntr, std::map< std::string, std::ostream * > &os) |
| Writes for a cell the attributes to output streams. More...
|
|
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) |
|
template<uint dim> |
static void | writeCoord (typename concepts::Point< Real, dim > x, std::map< std::string, std::ostream * > &os) |
| Writes the coordinates of one point to output streams. More...
|
|
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) |
| Writes for a cell a formula on the mesh, with coordinates, to output streams. More...
|
|
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) |
| Writes for a cell the mesh, eventually with coordinates, to output streams. More...
|
|
|
virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. More...
|
|
|
static void | writeMesh_ (const concepts::Edge2d &quad, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, uint &cnt, bool boundary=false, bool coord=true) |
|
static void | writeMesh_ (const concepts::InfiniteQuad2d &quad, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, uint &cnt, bool boundary=false, bool coord=true) |
|
static void | writeMesh_ (const concepts::Quad2d &quad, std::map< std::string, std::ostream * > &os, const concepts::Array< uint > &np, uint &cnt, bool boundary=false, bool coord=true) |
|
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.
◆ info()
virtual std::ostream& graphics::MatlabMesh::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ 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
-
cntr | connector |
os | output streams |
np | number of points (per direction) |
cnt | counter |
◆ writeCoord() [1/3]
static void graphics::MatlabMesh::writeCoord |
( |
concepts::Point< Real, 2 > |
x, |
|
|
std::map< std::string, std::ostream * > & |
os |
|
) |
| |
|
static |
◆ writeCoord() [2/3]
static void graphics::MatlabMesh::writeCoord |
( |
const concepts::Point< Real, 3 > |
x, |
|
|
std::map< std::string, std::ostream * > & |
os, |
|
|
const uint |
dim |
|
) |
| |
|
static |
◆ writeCoord() [3/3]
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
-
x | coordinates |
os | output streams |
Definition at line 396 of file matlab.hh.
◆ writeFormula()
Writes for a cell a formula on the mesh, with coordinates, to output streams.
- Parameters
-
cell | Cell |
os | output streams |
np | number of points (per direction) |
cnt | counter |
frm | Formula |
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
-
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 |
◆ writeMesh_() [1/3]
static void graphics::MatlabMesh::writeMesh_ |
( |
const concepts::Edge2d & |
quad, |
|
|
std::map< std::string, std::ostream * > & |
os, |
|
|
const concepts::Array< uint > & |
np, |
|
|
uint & |
cnt, |
|
|
bool |
boundary = false , |
|
|
bool |
coord = true |
|
) |
| |
|
staticprivate |
◆ writeMesh_() [2/3]
static void graphics::MatlabMesh::writeMesh_ |
( |
const concepts::InfiniteQuad2d & |
quad, |
|
|
std::map< std::string, std::ostream * > & |
os, |
|
|
const concepts::Array< uint > & |
np, |
|
|
uint & |
cnt, |
|
|
bool |
boundary = false , |
|
|
bool |
coord = true |
|
) |
| |
|
staticprivate |
◆ writeMesh_() [3/3]
static void graphics::MatlabMesh::writeMesh_ |
( |
const concepts::Quad2d & |
quad, |
|
|
std::map< std::string, std::ostream * > & |
os, |
|
|
const concepts::Array< uint > & |
np, |
|
|
uint & |
cnt, |
|
|
bool |
boundary = false , |
|
|
bool |
coord = true |
|
) |
| |
|
staticprivate |
The documentation for this class was generated from the following file: