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