Dune Core Modules (2.9.1)

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