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 | DenseMatrixCollection |
Class that hold and manage a std::map with concepts::ElementMatrices for graphical output, collected by graphics::DenseMatrixGraphics . More... | |
class | DenseMatrixGraphics |
Class that collects data for graphical output and stores it in concepts::ElementMatrices and graphics::DenseMatrixCollection. More... | |
class | MatlabBinaryGraphics |
Class that allows to store graphical infomations in .mat files to use them in Matlab. More... | |
class | MatlabBinaryMeshGraphics |
class | MatlabElasticityGraphics |
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 | MatrixBaseElementFormulaCell |
Class for writing the graphical output of an element formula to ElementMatrices. More... | |
class | MatrixBaseMeshCell |
Class that iterates over a mesh and collects graphical informations in a set of ElementMatrices. More... | |
class | MatrixBasisOutputCell |
Basis class for graphical output using dense matrices. More... | |
class | MatrixCounterCell |
Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisOutputCell and derived classes to allocate the matrices where the data will be stored. More... | |
class | MatrixSolutionEvaluationCell |
Class for writing the values of the solution of a PDE on the quadrature points of the space in a DenseMatrix. More... | |
class | MatrixSpaceOutputCell |
Class that collects graphical informations about a given space in a set of ElementMatrices. 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 |
Class that allows to store graphical infomations in .vtk files to use them in paraview. More... | |
Functions | |
template<typename T > | |
DataDX< Real > | drawDataDX (T &spc, const std::string filename, const uint dim=2) |
Trampoline function to create a DataDX. More... | |
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. More... | |
void | drawMeshDAT (concepts::Mesh &msh, const std::string &filename) |
Trampoline function to create an instance of MeshDAT. More... | |
template<typename F > | |
void | drawMeshDAT (concepts::Space< F > &spc, const std::string &filename) |
Trampoline function to create an instance of MeshDAT. More... | |
MeshDX< Real > | drawMeshDX (concepts::Mesh &msh, std::string filename) |
Trampoline function to create a MeshDX . More... | |
template<typename T > | |
MeshDX< Real > | drawMeshDX (T &spc, std::string filename) |
Trampoline function to create a MeshDX . More... | |
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. More... | |
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. More... | |
template<typename T > | |
void | drawMeshGnuplot (T &msh_spc, std::string filename) |
Creates a data file for viewing the mesh with Gnuplot using MeshGnuplotCell. More... | |
void | drawMeshMatlab (concepts::Mesh &msh, std::string filename) |
Trampoline function to create an instance of MeshMatlab. More... | |
template<class F > | |
void | drawMeshMatlab (concepts::Space< F > &spc, std::string filename) |
Trampoline function to create an instance of MeshMatlab. More... | |
void | drawMeshTecplot (concepts::Mesh &msh, const std::string &filename) |
Trampoline function to create an instance of MeshTecplot. More... | |
template<typename F > | |
void | drawMeshTecplot (concepts::Space< F > &spc, const std::string &filename, const uint dim) |
Trampoline function to create an instance of MeshTecplot. More... | |
std::string | matlabEnding (const std::string &filename) |
Returns a string with ".m" ending. More... | |
template<typename T > | |
bool | spaceBoundary (const T &spc) |
Trampoline function for the class spcPosCon. More... | |
template<typename T > | |
uint | spaceDimension (const T &spc) |
Trampoline function for the class spcDim. More... | |
template<typename T > | |
bool | spacePosCon (const T &spc) |
Trampoline function for the class spcPosCon. More... | |
std::string | tecplotEnding (const std::string &filename) |
Returns a string with ".dat" ending. More... | |
Detailed Description
Graphics.
Most of the classes in this namespace generate an input file for a graphical application.
Function Documentation
◆ drawDataDX()
DataDX<Real> graphics::drawDataDX | ( | T & | spc, |
const std::string | filename, | ||
const uint | dim = 2 |
||
) |
◆ drawDataGnuplot()
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 109 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.
◆ drawMeshDAT() [2/2]
void graphics::drawMeshDAT | ( | concepts::Space< F > & | spc, |
const std::string & | filename | ||
) |
Trampoline function to create an instance of MeshDAT.
◆ 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
-
msh Mesh which should be drawn filename File where the data for OpenDX should be stored
- See also
MeshDX
for the complete description
- Examples
- hpFEM2d.cc.
◆ drawMeshDX() [2/2]
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
-
spc Space which should be drawn filename File where the data for OpenDX should be stored
- See also
MeshDX
for the complete description
◆ 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 |
||
) |
◆ drawMeshEPS() [2/2]
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 |
||
) |
◆ drawMeshGnuplot()
void graphics::drawMeshGnuplot | ( | T & | msh_spc, |
std::string | filename | ||
) |
Creates a data file for viewing the mesh with Gnuplot using MeshGnuplotCell.
Definition at line 46 of file meshGnuplot.hh.
◆ drawMeshMatlab() [1/2]
void graphics::drawMeshMatlab | ( | concepts::Mesh & | msh, |
std::string | filename | ||
) |
Trampoline function to create an instance of MeshMatlab.
◆ drawMeshMatlab() [2/2]
void graphics::drawMeshMatlab | ( | concepts::Space< F > & | spc, |
std::string | filename | ||
) |
Trampoline function to create an instance of MeshMatlab.
◆ drawMeshTecplot() [1/2]
void graphics::drawMeshTecplot | ( | concepts::Mesh & | msh, |
const std::string & | filename | ||
) |
Trampoline function to create an instance of MeshTecplot.
- Examples
- hpFEM3d-EV.cc.
◆ drawMeshTecplot() [2/2]
void graphics::drawMeshTecplot | ( | concepts::Space< F > & | spc, |
const std::string & | filename, | ||
const uint | dim | ||
) |
Trampoline function to create an instance of MeshTecplot.
◆ matlabEnding()
std::string graphics::matlabEnding | ( | const std::string & | filename | ) |
Returns a string with ".m" ending.
◆ spaceBoundary()
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
-
spc Space whose attribute shoul be returned. This parameter is only used to determine the parameter type.
◆ spaceDimension()
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
-
spc Space whose dimension should be returned. This parameter is only used to determine the parameter type.
◆ spacePosCon()
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
-
spc Space whose attribute shoul be returned. This parameter is only used to determine the parameter type.
◆ tecplotEnding()
std::string graphics::tecplotEnding | ( | const std::string & | filename | ) |
Returns a string with ".dat" ending.