You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
graphics
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
14
namespace
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
27
namespace
graphics
{
28
29
using
concepts::Real
;
30
31
// ********************************************************* TopologyDotty **
32
44
template
<
class
F>
45
class
TopologyDotty
{
46
public
:
50
TopologyDotty
(
concepts::Mesh
& msh, std::string filename);
51
55
TopologyDotty
(
concepts::Space<F>
& spc, std::string filename);
56
private
:
58
concepts::Space<F>
* spc_;
59
61
concepts::Mesh
* msh_;
62
64
std::string filename_;
65
};
66
67
// ***************************************************** TopologyDottyCell **
68
76
template
<
class
F>
77
class
TopologyDottyCell
:
public
concepts::CellPostprocess
<F> {
78
public
:
82
TopologyDottyCell
(
const
std::string file);
83
~TopologyDottyCell
();
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
concepts::CellPostprocess
Definition
postProcess.hh:38
concepts::Cell
Definition
cell.hh:39
concepts::Connector1
Definition
connector.hh:182
concepts::Element
Definition
element.hh:52
concepts::Mesh
Definition
mesh.hh:76
concepts::Space
Definition
space.hh:44
graphics::TopologyDottyCell
Definition
topologyDotty.hh:77
graphics::TopologyDottyCell::operator()
virtual void operator()(const concepts::Element< F > &elm)
graphics::TopologyDottyCell::TopologyDottyCell
TopologyDottyCell(const std::string file)
graphics::TopologyDotty
Definition
topologyDotty.hh:45
graphics::TopologyDotty::TopologyDotty
TopologyDotty(concepts::Space< F > &spc, std::string filename)
graphics::TopologyDotty::TopologyDotty
TopologyDotty(concepts::Mesh &msh, std::string filename)
concepts
Definition
pml_formula.h:16
concepts::Real
double Real
Definition
typedefs.hh:39
graphics
Definition
graphics.hh:26
hp1D::Element
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition
element.hh:267
postProcess.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8