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

Classes | Functions
graphics Namespace Reference

Graphics. More...

Classes

class  BaseDataCell
 Class for writing the graphical output of a FE solution represented by a coefficient vector (and possibly an element function) to the given streams. More...
class  BaseElementFormulaCell
 Writes element formula for a cell to the given streams. More...
class  BaseFormulaCell
 Writes formula for a cell to the given streams. More...
class  BaseMeshCell
 Writes the mesh to the given streams (for a cell). More...
class  BaseOutputCell
 Writes the mesh to the given streams. More...
class  BoundaryDXCell
 Gathers information about boundary faces (or edges in 2D) and prepares information to be written to an OpenDX file. More...
class  DataDX
 Draws a picture of data in DX format and stores the result in a file. More...
class  DataDXConnections
 Graphics in OpenDX - connections. More...
class  DataDXCoordinates
 Graphics in OpenDX - coordinates. More...
class  DataDXCounts
 Graphics in OpenDX - point counter. More...
class  DataDXData
 Graphics in OpenDX - data. More...
class  DataGnuplotCell
 Writes the data which describe the elements to the given streams. More...
class  DataMatlab
 Draws a picture of data in Matlab format and stores the result in files. More...
class  DataMatlabCell
 Writes the data which describe the elements to the given streams. More...
class  MatlabBinaryGraphics
class  MatlabBinaryMeshGraphics
class  MatlabGraphics
 Draws a picture of data in Matlab format and stores the result in a single file. More...
class  MatlabMesh
 Routines for writing mesh and formula for a single cell for different cell types. More...
class  MatrixBaseDataCell
 Class for writing the graphical output of a FE solution represented by a coefficient vector (and possibly an element function) to dense matrices. More...
class  MatrixBaseElementFormulaCell
 Class for writing the graphical output of an element formula to dense matrices. More...
class  MatrixBaseMeshCell
class  MatrixBaseOutputCell
 Basis class for graphical output over dense matrices. More...
class  MatrixSolutionEvaluationCell
 Class for writing the values of the solution of a pde on the quadraturepoints of the space in a DenseMatrix. More...
class  MeshDAT
 Creates files which are suitable for mesh input using Import2dMesh or Import3dMesh. More...
class  MeshDATCell
 Cell by cell output for MeshDAT. More...
class  MeshDX
 Draws a picture of a mesh in DX format and stores the result in a file. More...
class  MeshDXCell
 Draws a picture of a mesh in DX. More...
class  MeshEPS
 Draws a picture of a mesh in EPS format and stores the result in a file. More...
class  MeshEPSCell
 Draws a picture of a mesh in EPS. More...
class  MeshGnuplotCell
 Writes the data which describe the elements to the given streams. More...
class  MeshMatlab
 Creates data for Matlab to draw the mesh. More...
class  MeshMatlabCell
 Writes the data which describe the elements to the three streams. More...
class  MeshTecplot
 Creates files to show the mesh using Tecplot. More...
class  MeshTecplotCell
 Cell by cell output for MeshTecplot. More...
class  OutputBase
 Base class for graphical output to a file. More...
struct  Size
 Number of components of data types. More...
struct  Size< concepts::Cmplx >
struct  Size< concepts::Mapping< F, dim > >
struct  Size< concepts::Point< F, dim > >
struct  Size< Real >
struct  spaceTraits
 Traits for a space. More...
struct  spaceTraits< hp2D::Space >
 Traits for hp2D::Space. More...
struct  spaceTraits< hp3D::Space >
 Traits for hp3D::Space. More...
struct  spaceTraits< linDG2D::Space >
struct  spaceTraits< linDG2D::SpaceP0 >
struct  spaceTraits< linDG2D::SpaceP1 >
struct  spaceTraits< linDG3D::FvdgSpace >
 Traits for FvdgSpace. More...
struct  spaceTraits< linDG3D::FvdgSpaceP0 >
 Traits for FvdgSpaceP0. More...
struct  spaceTraits< linDG3D::FvdgSpaceP1 >
 Traits for FvdgSpaceP1. More...
struct  spaceTraits< linearFEM::Linear2d >
 Traits for linearFEM::Linear2d. More...
struct  spaceTraits< linearFEM::Linear3d >
 Traits for linearFEM::Linear3d. More...
struct  spaceTraits< vectorial::Space< concepts::Real > >
 Traits for vectorial::Space. More...
struct  spcDim
 Determines the traits class belonging to a space by a default template parameter. More...
struct  spcPosCon
 Determines the traits class belonging to a space by a default template parameter. More...
class  TecplotGraphics
 Output to Tecplot. More...
class  TecplotMesh
 Routines for writing mesh and formula for a single cell for different cell types. More...
class  TopologyDotty
 Executor class for TopologyDottyCell. More...
class  TopologyDottyCell
 Produces an input file for dot / dotty to display the topology as a directed graph. More...
class  VertexInfo
 Class containing information about one single vertex. More...
class  VertexList
 Class containing a list of vertices. More...
class  VtkGraphics

Functions

template<typename T >
DataDX< Real > drawDataDX (T &spc, const std::string filename, const uint dim=2)
 Trampoline function to create a DataDX.
template<typename T , typename S >
void drawDataGnuplot (T &msh_spc, std::string filename, const S &sol, const concepts::ElementFunction< Real > *fun=0)
 Creates a data file for viewing the data with Gnuplot using DataGnuplotCell.
void drawMeshDAT (concepts::Mesh &msh, const std::string &filename)
 Trampoline function to create an instance of MeshDAT.
template<typename F >
void drawMeshDAT (concepts::Space< F > &spc, const std::string &filename)
 Trampoline function to create an instance of MeshDAT.
MeshDX< Real > drawMeshDX (concepts::Mesh &msh, std::string filename)
 Trampoline function to create a MeshDX.
template<typename T >
MeshDX< Real > drawMeshDX (T &spc, std::string filename)
 Trampoline function to create a MeshDX.
MeshEPS< Real > drawMeshEPS (concepts::Mesh &msh, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=2)
 Trampoline function to create a MeshEPS.
template<class F >
MeshEPS< F > drawMeshEPS (concepts::Space< F > &spc, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
 Trampoline function to create a MeshEPS.
template<typename T >
void drawMeshGnuplot (T &msh_spc, std::string filename)
 Creates a data file for viewing the mesh with Gnuplot using MeshGnuplotCell.
template<class F >
void drawMeshMatlab (concepts::Space< F > &spc, std::string filename)
 Trampoline function to create an instance of MeshMatlab.
void drawMeshMatlab (concepts::Mesh &msh, std::string filename)
 Trampoline function to create an instance of MeshMatlab.
void drawMeshTecplot (concepts::Mesh &msh, const std::string &filename)
 Trampoline function to create an instance of MeshTecplot.
template<typename F >
void drawMeshTecplot (concepts::Space< F > &spc, const std::string &filename, const uint dim)
 Trampoline function to create an instance of MeshTecplot.
std::string matlabEnding (const std::string &filename)
 Returns a string with ".m" ending.
template<typename T >
bool spaceBoundary (const T &spc)
 Trampoline function for the class spcPosCon.
template<typename T >
uint spaceDimension (const T &spc)
 Trampoline function for the class spcDim.
template<typename T >
bool spacePosCon (const T &spc)
 Trampoline function for the class spcPosCon.
std::string tecplotEnding (const std::string &filename)
 Returns a string with ".dat" ending.

Detailed Description

Graphics.

Most of the classes in this namespace generate an input file for a graphical application.


Function Documentation

template<typename T >
DataDX<Real> graphics::drawDataDX ( T &  spc,
const std::string  filename,
const uint  dim = 2 
)

Trampoline function to create a DataDX.

The purpose of this function is to hide the template parameters of DataDX.

See also:
DataDX for the complete description
Author:
Philipp Frauenfelder, 2001.

Definition at line 200 of file dataDX.hh.

Here is the call graph for this function:

template<typename T , typename S >
void graphics::drawDataGnuplot ( T &  msh_spc,
std::string  filename,
const S sol,
const concepts::ElementFunction< Real > *  fun = 0 
)

Creates a data file for viewing the data with Gnuplot using DataGnuplotCell.

The data can be plotted in gnuplot with

set data style lines
splot 'file.gnuplot'
Author:
Philipp Frauenfelder, 2002
Examples:
hpFEM2d.cc, linearDG1d.cc, and linearFEM1d.cc.

Definition at line 107 of file dataGnuplot.hh.

void graphics::drawMeshDAT ( concepts::Mesh msh,
const std::string &  filename 
)

Trampoline function to create an instance of MeshDAT.

Author:
Philipp Frauenfelder, 2003
template<typename F >
void graphics::drawMeshDAT ( concepts::Space< F > &  spc,
const std::string &  filename 
)

Trampoline function to create an instance of MeshDAT.

Author:
Philipp Frauenfelder, 2003
MeshDX<Real> graphics::drawMeshDX ( concepts::Mesh msh,
std::string  filename 
)

Trampoline function to create a MeshDX.

The purpose of this function is to hide the template parameters of MeshDX.

Parameters:
mshMesh which should be drawn
filenameFile where the data for OpenDX should be stored
See also:
MeshDX for the complete description
Author:
Philipp Frauenfelder, 2001
Examples:
hpFEM2d.cc.
template<typename T >
MeshDX<Real> graphics::drawMeshDX ( T &  spc,
std::string  filename 
)

Trampoline function to create a MeshDX.

The purpose of this function is to hide the template parameters of MeshDX.

This function uses the space traits spaceDimensionTraits to fill in the dimension argument of the constructor of MeshDX with the correct value.

Parameters:
spcSpace which should be drawn
filenameFile where the data for OpenDX should be stored
See also:
MeshDX for the complete description
Author:
Philipp Frauenfelder, 2001

Definition at line 145 of file meshDX.hh.

Here is the call graph for this function:

MeshEPS<Real> graphics::drawMeshEPS ( concepts::Mesh msh,
std::string  filename,
const Real  scale = 100,
const Real  greyscale = 1.0,
const unsigned int  nPoints = 2 
)

Trampoline function to create a MeshEPS.

The purpose of this function is to hide the template parameters of MeshEPS.

See also:
MeshEPS for the complete description
Author:
Philipp Frauenfelder, 2001.
Examples:
BGT_0.cc, exactDtN.cc, hpFEM2d.cc, inhomDirichletBCs.cc, inhomDirichletBCsLagrange.cc, inhomNeumannBCs.cc, and RobinBCs.cc.
template<class F >
MeshEPS<F> graphics::drawMeshEPS ( concepts::Space< F > &  spc,
std::string  filename,
const Real  scale = 100,
const Real  greyscale = 1.0,
const unsigned int  nPoints = 20 
)

Trampoline function to create a MeshEPS.

The purpose of this function is to hide the template parameters of MeshEPS.

See also:
MeshEPS for the complete description
Author:
Philipp Frauenfelder, 2001.
template<typename T >
void graphics::drawMeshGnuplot ( T &  msh_spc,
std::string  filename 
)

Creates a data file for viewing the mesh with Gnuplot using MeshGnuplotCell.

Author:
Philipp Frauenfelder, 2002

Definition at line 44 of file meshGnuplot.hh.

template<class F >
void graphics::drawMeshMatlab ( concepts::Space< F > &  spc,
std::string  filename 
)

Trampoline function to create an instance of MeshMatlab.

Author:
Philipp Frauenfelder, 2002
void graphics::drawMeshMatlab ( concepts::Mesh msh,
std::string  filename 
)

Trampoline function to create an instance of MeshMatlab.

Author:
Philipp Frauenfelder, 2002
void graphics::drawMeshTecplot ( concepts::Mesh msh,
const std::string &  filename 
)

Trampoline function to create an instance of MeshTecplot.

Author:
Philipp Frauenfelder, 2003
Examples:
hpFEM3d-EV.cc.
template<typename F >
void graphics::drawMeshTecplot ( concepts::Space< F > &  spc,
const std::string &  filename,
const uint  dim 
)

Trampoline function to create an instance of MeshTecplot.

Author:
Philipp Frauenfelder, 2003
std::string graphics::matlabEnding ( const std::string &  filename)

Returns a string with ".m" ending.

template<typename T >
bool graphics::spaceBoundary ( const T &  spc)

Trampoline function for the class spcPosCon.

There, the actual work is done: the class calls the respective function in the traits class and it determines (by a default template argument) which traits class should be used.

Returns:
true if the space is a boundary element space. In this case, the elements have one dimension less than the coordinates (ie. triangles with 3D coordinates and lines with 2D coordinates).
Parameters:
spcSpace whose attribute shoul be returned. This parameter is only used to determine the parameter type.
Author:
Philipp Frauenfelder, 2002

Definition at line 97 of file dataDX.hh.

Here is the call graph for this function:

template<typename T >
uint graphics::spaceDimension ( const T &  spc)

Trampoline function for the class spcDim.

There, the actual work is done: the class calls the respective function in the traits class and it determines (by a default template argument) which traits class should be used.

Returns:
the dimension of the space. In a 2D and 3D space, quads and hexahedrons are depicted, respectively.
Parameters:
spcSpace whose dimension should be returned. This parameter is only used to determine the parameter type.
Author:
Philipp Frauenfelder, 2002

Definition at line 58 of file meshDX.hh.

Here is the call graph for this function:

template<typename T >
bool graphics::spacePosCon ( const T &  spc)

Trampoline function for the class spcPosCon.

There, the actual work is done: the class calls the respective function in the traits class and it determines (by a default template argument) which traits class should be used.

Returns:
true if the elements of the space have the values depending on connections. It returns fals if the values depend on the positions.
Parameters:
spcSpace whose attribute shoul be returned. This parameter is only used to determine the parameter type.
Author:
Philipp Frauenfelder, 2002

Definition at line 80 of file dataDX.hh.

Here is the call graph for this function:

std::string graphics::tecplotEnding ( const std::string &  filename)

Returns a string with ".dat" ending.


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