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