Dune Core Modules (2.5.0)

simplexgeneration.hh
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
8#include <dune/grid/io/file/dgfparser/blocks/basic.hh>
9
10namespace Dune
11{
12
13 namespace dgf
14 {
15
16 class SimplexGenerationBlock
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
Dune namespace.
Definition: alignment.hh:11
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)