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. | |
Graphics. Most of the classes in this namespace generate an input file for a graphical application.
DataDX< Real > graphics::drawDataDX | ( | T & | spc, |
const std::string | filename, | ||
const uint | dim = 2 |
||
) |
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
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.
void graphics::drawMeshDAT | ( | concepts::Space< F > & | spc, |
const std::string & | filename | ||
) |
Trampoline function to create an instance of MeshDAT.
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
.
msh | Mesh which should be drawn |
filename | File where the data for OpenDX should be stored |
MeshDX
for the complete description 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.
spc | Space which should be drawn |
filename | File where the data for OpenDX should be stored |
MeshDX
for the complete description MeshEPS< Real > graphics::drawMeshEPS | ( | concepts::Mesh & | msh, |
std::string | filename, | ||
const Real | scale = 100 , |
||
const Real | greyscale = 1.0 , |
||
const unsigned int | nPoints = 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 |
||
) |
void graphics::drawMeshGnuplot | ( | T & | msh_spc, |
std::string | filename | ||
) |
Creates a data file for viewing the mesh with Gnuplot using MeshGnuplotCell.
Definition at line 44 of file meshGnuplot.hh.
void graphics::drawMeshMatlab | ( | concepts::Mesh & | msh, |
std::string | filename | ||
) |
Trampoline function to create an instance of MeshMatlab.
void graphics::drawMeshMatlab | ( | concepts::Space< F > & | spc, |
std::string | filename | ||
) |
Trampoline function to create an instance of MeshMatlab.
void graphics::drawMeshTecplot | ( | concepts::Mesh & | msh, |
const std::string & | filename | ||
) |
Trampoline function to create an instance of MeshTecplot.
void graphics::drawMeshTecplot | ( | concepts::Space< F > & | spc, |
const std::string & | filename, | ||
const uint | dim | ||
) |
Trampoline function to create an instance of MeshTecplot.
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.
spc | Space whose attribute shoul be returned. This parameter is only used to determine the parameter type. |
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.
spc | Space whose dimension should be returned. This parameter is only used to determine the parameter type. |
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.
spc | Space whose attribute shoul be returned. This parameter is only used to determine the parameter type. |