dune-grid  2.2.0
simplexgeneration.hh
Go to the documentation of this file.
1 #ifndef DUNE_DGF_SIMPLEXGENERATIONBLOCK_HH
2 #define DUNE_DGF_SIMPLEXGENERATIONBLOCK_HH
3 
4 #include <iostream>
5 
7 
8 namespace Dune
9 {
10 
11  namespace dgf
12  {
13 
15  : public BasicBlock
16  {
17  double area_;
18  double angle_;
19  bool display_;
20  std::string path_;
21  bool haspath_;
22  std::string filename_;
23  std::string filetype_;
24  std::string parameter_;
25  std::string dumpfilename_;
26  bool hasfile_;
27  int dimension_;
28 
29  public:
30  SimplexGenerationBlock ( std :: istream &in );
31 
32  double maxArea ()
33  {
34  return area_;
35  }
36 
37  double minAngle ()
38  {
39  return angle_;
40  }
41 
42  bool display ()
43  {
44  return display_;
45  }
46 
47  bool haspath ()
48  {
49  return haspath_;
50  }
51 
52  std :: string path ()
53  {
54  return path_;
55  }
56 
57  bool hasfile ()
58  {
59  return hasfile_;
60  }
61 
62  std :: string filename ()
63  {
64  return filename_;
65  }
66 
67  std :: string filetype ()
68  {
69  return filetype_;
70  }
71 
72  int dimension ()
73  {
74  return dimension_;
75  }
76 
77  std :: string parameter ()
78  {
79  return parameter_;
80  }
81 
82  const std::string dumpFileName ( ) const
83  {
84  return dumpfilename_;
85  }
86  };
87 
88  } // end namespace dgf
89 
90 } // end namespace Dune
91 
92 #endif
93