polyMeshFilterSettingsI.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2013 OpenFOAM Foundation
9 Copyright (C) 2020 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27\*---------------------------------------------------------------------------*/
28
29// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
30
31inline const Foam::dictionary&
33{
34 return collapseEdgesCoeffDict_;
35}
36
37inline const Foam::dictionary&
39{
40 return collapseFacesCoeffDict_;
41}
42
43inline const Foam::dictionary&
45{
46 return meshQualityCoeffDict_;
47}
48
49
51{
52 return controlMeshQuality_;
53}
54
55inline const Foam::scalar& Foam::polyMeshFilterSettings::minLen() const
56{
57 return minLen_;
58}
59
60inline const Foam::scalar& Foam::polyMeshFilterSettings::maxCos() const
61{
62 return maxCos_;
63}
64
65inline const Foam::scalar&
67{
68 return edgeReductionFactor_;
69}
70
71inline const Foam::label& Foam::polyMeshFilterSettings::maxIterations() const
72{
73 return maxIterations_;
74}
75
76inline const Foam::label& Foam::polyMeshFilterSettings::maxSmoothIters() const
77{
78 return maxSmoothIters_;
79}
80
81inline const Foam::scalar&
83{
84 return initialFaceLengthFactor_;
85}
86
87inline const Foam::scalar&
89{
90 return faceReductionFactor_;
91}
92
93inline const Foam::label&
95{
96 return maxPointErrorCount_;
97}
98
99
100// ************************************************************************* //
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Definition: Switch.H:78
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
const label & maxPointErrorCount() const
const label & maxSmoothIters() const
const scalar & initialFaceLengthFactor() const
const scalar & faceReductionFactor() const
const scalar & edgeReductionFactor() const
const dictionary & collapseEdgesCoeffDict() const
const dictionary & collapseFacesCoeffDict() const
const dictionary & meshQualityCoeffDict() const