Class documentation of Concepts

Loading...
Searching...
No Matches
meshTecplot.hh
Go to the documentation of this file.
1
6#ifndef graphMeshTecplot_hh
7#define graphMeshTecplot_hh
8
9#include <string>
10#include <fstream>
11#include <memory>
12#include "basics/typedefs.hh"
14#include "basics/exceptions.hh"
15#include "toolbox/dynArray.hh"
16#include "space/postProcess.hh"
17
18namespace concepts {
19 // forward declartions
20 class Mesh2;
21 class Mesh3;
22} // namespace concepts
23
24namespace graphics {
25
26 // forward declartions
27 class VertexList;
28
29 using concepts::Real;
30
31 // *********************************************************** MeshTecplot **
32
37 template<typename F>
39 public:
41 MeshTecplot(concepts::Mesh& msh, const std::string& filename);
43 MeshTecplot(concepts::Space<F>& spc, const std::string& filename,
44 const uint dim);
45 private:
46 const std::string filename_;
47 };
48
52 void drawMeshTecplot(concepts::Mesh& msh, const std::string& filename);
53
57 template<typename F>
58 void drawMeshTecplot(concepts::Space<F>& spc, const std::string& filename,
59 const uint dim);
60
61 // ******************************************************* MeshTecplotCell **
62
66 template<typename F>
68 public:
70 MeshTecplotCell(const std::string& filename, VertexList& vtxList,
71 const uint nelm, const uint dim);
72 virtual ~MeshTecplotCell();
73 virtual void operator() (const concepts::Element<F>& elm);
74 virtual void operator() (const concepts::Cell& cell);
75 private:
77 std::ofstream file_;
78
80 VertexList& vtxList_;
81 };
82
83} // namespace graphics
84
85#endif // graphMeshTecplot_hh
MeshTecplotCell(const std::string &filename, VertexList &vtxList, const uint nelm, const uint dim)
Constructor.
virtual void operator()(const concepts::Element< F > &elm)
MeshTecplot(concepts::Space< F > &spc, const std::string &filename, const uint dim)
Constructor.
MeshTecplot(concepts::Mesh &msh, const std::string &filename)
Constructor.
double Real
Definition typedefs.hh:39
void drawMeshTecplot(concepts::Mesh &msh, const std::string &filename)