Go to the documentation of this file.
6 #ifndef graphMeshEPS_hh
7 #define graphMeshEPS_hh
38 template<
class F = Real>
45 const Real scale = 100,
const Real greyscale = 1.0,
46 const unsigned int nPoints = 20);
52 const Real scale = 100,
const Real greyscale = 1.0,
53 const unsigned int nPoints = 20);
70 const Real scale = 100,
const Real greyscale = 1.0,
71 const unsigned int nPoints = 2);
81 const Real scale = 100,
const Real greyscale = 1.0,
82 const unsigned int nPoints = 20);
108 const Real scale = 100,
const Real greyscale = 1.0,
109 const unsigned int nPoints = 20)
120 const
Real scale = 100, const
Real greyscale = 1.0,
121 const
unsigned int nPoints = 20)
126 virtual
void operator() (const
concepts::Cell& cell)
154 #endif // graphMeshEPS_hh
Real greyscale_
Greyscaling factor.
Draws a picture of a mesh in EPS.
Abstract class for a space.
concepts::Real2d offset_
Offset of the bottom left corner from the origin.
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.
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Real scale_
Scaling factor.
void maxMax(const concepts::Real2d &x)
concepts::Mesh * msh_
The mesh.
MeshEPS(concepts::Mesh &msh, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
Constructor.
void EPSheader_(const concepts::Real2d max, std::ostream &os) const
MeshEPSCell(std::ostream &os, concepts::Mesh2 &msh, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
Constructor.
void offsetMin(const concepts::Real2d &x)
concepts::Space< F > * spc_
The space.
concepts::Real2d max_
Offset of the top right corner from the origin.
unsigned int nPoints_
Number of points per edge to be drawn.
An abstract class for 2D meshes.
An abstract class for meshes.
std::ostream & os_
Output stream.
MeshEPS(concepts::Space< F > &spc, std::string filename, const Real scale=100, const Real greyscale=1.0, const unsigned int nPoints=20)
Constructor.
Abstract class for per cell postprocessing.
Draws a picture of a mesh in EPS format and stores the result in a file.
double Real
Type normally used for a floating point number.
Basic namespace for Concepts-2.