dune-grid
2.11
Toggle main menu visibility
Loading...
Searching...
No Matches
dune
grid
io
file
dgfparser
blocks
simplexgeneration.hh
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright © 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
12
namespace
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
basic.hh
Dune
Include standard header files.
Definition
agrid.hh:60
Dune::dgf
Definition
basic.cc:12
Dune::dgf::BasicBlock::BasicBlock
BasicBlock(std::istream &in, const char *id)
Definition
basic.cc:17
Dune::dgf::SimplexGenerationBlock::filename
std::string filename()
Definition
simplexgeneration.hh:66
Dune::dgf::SimplexGenerationBlock::maxArea
double maxArea()
Definition
simplexgeneration.hh:36
Dune::dgf::SimplexGenerationBlock::haspath
bool haspath()
Definition
simplexgeneration.hh:51
Dune::dgf::SimplexGenerationBlock::parameter
std::string parameter()
Definition
simplexgeneration.hh:81
Dune::dgf::SimplexGenerationBlock::dimension
int dimension()
Definition
simplexgeneration.hh:76
Dune::dgf::SimplexGenerationBlock::path
std::string path()
Definition
simplexgeneration.hh:56
Dune::dgf::SimplexGenerationBlock::dumpFileName
const std::string dumpFileName() const
Definition
simplexgeneration.hh:86
Dune::dgf::SimplexGenerationBlock::display
bool display()
Definition
simplexgeneration.hh:46
Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock
SimplexGenerationBlock(std ::istream &in)
Definition
simplexgeneration.cc:17
Dune::dgf::SimplexGenerationBlock::minAngle
double minAngle()
Definition
simplexgeneration.hh:41
Dune::dgf::SimplexGenerationBlock::hasfile
bool hasfile()
Definition
simplexgeneration.hh:61
Dune::dgf::SimplexGenerationBlock::filetype
std::string filetype()
Definition
simplexgeneration.hh:71
Generated by
1.17.0