Class documentation of Concepts

Loading...
Searching...
No Matches
graphics Namespace Reference

Classes

class  BaseDataCell
 
class  BaseElementFormulaCell
 
class  BaseFormulaCell
 
class  BaseMeshCell
 
class  BaseOutputCell
 
class  BoundaryDXCell
 
class  DataDX
 
class  DataDXConnections
 
class  DataDXCoordinates
 
class  DataDXCounts
 
class  DataDXData
 
class  DataGnuplotCell
 
class  DataMatlab
 
class  DataMatlabCell
 
class  DenseMatrixCollection
 
class  DenseMatrixGraphics
 
class  MatlabBinaryGraphics
 
class  MatlabBinaryMeshGraphics
 
class  MatlabElasticityGraphics
 
class  MatlabGraphics
 
class  MatlabMesh
 
class  MatrixBaseElementFormulaCell
 
class  MatrixBaseMeshCell
 
class  MatrixBasisOutputCell
 
class  MatrixCounterCell
 
class  MatrixSolutionEvaluationCell
 
class  MatrixSpaceOutputCell
 
class  MeshDAT
 
class  MeshDATCell
 
class  MeshDX
 
class  MeshDXCell
 
class  MeshEPS
 
class  MeshEPSCell
 
class  MeshGnuplotCell
 
class  MeshMatlab
 
class  MeshMatlabCell
 
class  MeshTecplot
 
class  MeshTecplotCell
 
class  OutputBase
 
struct  Size
 
struct  Size< concepts::Cmplx >
 
struct  Size< concepts::Mapping< F, dim > >
 
struct  Size< concepts::Point< F, dim > >
 
struct  Size< Real >
 
struct  spaceTraits
 
struct  spaceTraits< hp2D::Space >
 
struct  spaceTraits< hp3D::Space >
 
struct  spaceTraits< linDG2D::Space >
 
struct  spaceTraits< linDG2D::SpaceP0 >
 
struct  spaceTraits< linDG2D::SpaceP1 >
 
struct  spaceTraits< linDG3D::FvdgSpace >
 
struct  spaceTraits< linDG3D::FvdgSpaceP0 >
 
struct  spaceTraits< linDG3D::FvdgSpaceP1 >
 
struct  spaceTraits< linearFEM::Linear2d >
 
struct  spaceTraits< linearFEM::Linear3d >
 
struct  spaceTraits< vectorial::Space< concepts::Real > >
 
struct  spcDim
 
struct  spcPosCon
 
class  TecplotGraphics
 
class  TecplotMesh
 
class  TopologyDotty
 
class  TopologyDottyCell
 
class  VertexInfo
 
class  VertexList
 
class  VtkGraphics
 

Functions

template<typename T >
bool spacePosCon (const T &spc)
 
template<typename T >
bool spaceBoundary (const T &spc)
 
template<typename T >
DataDX< Real > drawDataDX (T &spc, const std::string filename, const uint dim=2)
 
template<typename T , typename S >
void drawDataGnuplot (T &msh_spc, std::string filename, const S &sol, const concepts::ElementFunction< Real > *fun=0)
 
std::string matlabEnding (const std::string &filename)
 Returns a string with ".m" ending.
 
void drawMeshDAT (concepts::Mesh &msh, const std::string &filename)
 
template<typename F >
void drawMeshDAT (concepts::Space< F > &spc, const std::string &filename)
 
template<typename T >
uint spaceDimension (const T &spc)
 
MeshDX< Real > drawMeshDX (concepts::Mesh &msh, std::string filename)
 
template<typename T >
MeshDX< Real > drawMeshDX (T &spc, std::string filename)
 
MeshEPS< Real > drawMeshEPS (concepts::Mesh &msh, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=2)
 
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)
 
template<typename T >
void drawMeshGnuplot (T &msh_spc, std::string filename)
 
void drawMeshMatlab (concepts::Mesh &msh, std::string filename)
 
template<class F >
void drawMeshMatlab (concepts::Space< F > &spc, std::string filename)
 
void drawMeshTecplot (concepts::Mesh &msh, const std::string &filename)
 
template<typename F >
void drawMeshTecplot (concepts::Space< F > &spc, const std::string &filename, const uint dim)
 
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

◆ drawDataDX()

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 187 of file dataDX.hh.

◆ drawDataGnuplot()

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

 @author Philipp Frauenfelder, 2002
Examples
hpFEM2d.cc, linearDG1d.cc, and linearFEM1d.cc.

Definition at line 107 of file dataGnuplot.hh.

◆ drawMeshDAT() [1/2]

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

Trampoline function to create an instance of MeshDAT.

Author
Philipp Frauenfelder, 2003

◆ drawMeshDAT() [2/2]

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

◆ drawMeshDX() [1/2]

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.

◆ drawMeshDX() [2/2]

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.

◆ drawMeshEPS() [1/2]

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, RobinBCs.cc, cig_load_input_data.cc, elasticity2D_tutorial.cc, exactDtN.cc, hpFEM2d.cc, inhomDirichletBCs.cc, inhomDirichletBCsLagrange.cc, and inhomNeumannBCs.cc.

◆ drawMeshEPS() [2/2]

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.

◆ drawMeshGnuplot()

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.

◆ drawMeshMatlab() [1/2]

void graphics::drawMeshMatlab ( concepts::Mesh msh,
std::string  filename 
)

Trampoline function to create an instance of MeshMatlab.

Author
Philipp Frauenfelder, 2002

◆ drawMeshMatlab() [2/2]

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

◆ drawMeshTecplot() [1/2]

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.

◆ drawMeshTecplot() [2/2]

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

◆ spaceBoundary()

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 84 of file dataDX.hh.

◆ spaceDimension()

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 60 of file meshDX.hh.

◆ spacePosCon()

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 67 of file dataDX.hh.