Class documentation of Concepts

Loading...
Searching...
No Matches
topologyDotty.hh
Go to the documentation of this file.
1
6#ifndef topologyDotty_hh
7#define topologyDotty_hh
8
9#include <string>
10#include <fstream>
11#include "space/postProcess.hh"
12#include "basics/typedefs.hh"
13
14namespace concepts {
15 // forward declarations
16 template<class F>
17 class Element;
18
19 template<class F>
20 class Space;
21
22 class Cell;
23 class Connector1;
24 class Mesh;
25}
26
27namespace graphics {
28
29 using concepts::Real;
30
31 // ********************************************************* TopologyDotty **
32
44 template<class F>
46 public:
50 TopologyDotty(concepts::Mesh& msh, std::string filename);
51
55 TopologyDotty(concepts::Space<F>& spc, std::string filename);
56 private:
59
61 concepts::Mesh* msh_;
62
64 std::string filename_;
65 };
66
67 // ***************************************************** TopologyDottyCell **
68
76 template<class F>
78 public:
82 TopologyDottyCell(const std::string file);
84 virtual void operator() (const concepts::Element<F>& elm);
85 virtual void operator() (const concepts::Cell& cell);
86 private:
87 void edge_(const concepts::Connector1& cntr);
88
90 std::ofstream os_;
91 };
92
93} // namespace graphics
94
95#endif // topologyDotty_hh
virtual void operator()(const concepts::Element< F > &elm)
TopologyDottyCell(const std::string file)
TopologyDotty(concepts::Space< F > &spc, std::string filename)
TopologyDotty(concepts::Mesh &msh, std::string filename)
double Real
Definition typedefs.hh:39
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition element.hh:267