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 -------------------------------------------------------------------------------
11 License
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 
31 inline const Foam::dictionary&
33 {
34  return collapseEdgesCoeffDict_;
35 }
36 
37 inline const Foam::dictionary&
39 {
40  return collapseFacesCoeffDict_;
41 }
42 
43 inline const Foam::dictionary&
45 {
46  return meshQualityCoeffDict_;
47 }
48 
49 
51 {
52  return controlMeshQuality_;
53 }
54 
55 inline const Foam::scalar& Foam::polyMeshFilterSettings::minLen() const
56 {
57  return minLen_;
58 }
59 
60 inline const Foam::scalar& Foam::polyMeshFilterSettings::maxCos() const
61 {
62  return maxCos_;
63 }
64 
65 inline const Foam::scalar&
67 {
68  return edgeReductionFactor_;
69 }
70 
71 inline const Foam::label& Foam::polyMeshFilterSettings::maxIterations() const
72 {
73  return maxIterations_;
74 }
75 
76 inline const Foam::label& Foam::polyMeshFilterSettings::maxSmoothIters() const
77 {
78  return maxSmoothIters_;
79 }
80 
81 inline const Foam::scalar&
83 {
84  return initialFaceLengthFactor_;
85 }
86 
87 inline const Foam::scalar&
89 {
90  return faceReductionFactor_;
91 }
92 
93 inline const Foam::label&
95 {
96  return maxPointErrorCount_;
97 }
98 
99 
100 // ************************************************************************* //
Foam::Switch
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Definition: Switch.H:77
Foam::polyMeshFilterSettings::meshQualityCoeffDict
const dictionary & meshQualityCoeffDict() const
Definition: polyMeshFilterSettingsI.H:44
Foam::polyMeshFilterSettings::collapseFacesCoeffDict
const dictionary & collapseFacesCoeffDict() const
Definition: polyMeshFilterSettingsI.H:38
Foam::polyMeshFilterSettings::controlMeshQuality
Switch controlMeshQuality() const
Definition: polyMeshFilterSettingsI.H:50
Foam::polyMeshFilterSettings::maxSmoothIters
const label & maxSmoothIters() const
Definition: polyMeshFilterSettingsI.H:76
Foam::polyMeshFilterSettings::initialFaceLengthFactor
const scalar & initialFaceLengthFactor() const
Definition: polyMeshFilterSettingsI.H:82
Foam::polyMeshFilterSettings::minLen
const scalar & minLen() const
Definition: polyMeshFilterSettingsI.H:55
Foam::polyMeshFilterSettings::collapseEdgesCoeffDict
const dictionary & collapseEdgesCoeffDict() const
Definition: polyMeshFilterSettingsI.H:32
Foam::polyMeshFilterSettings::faceReductionFactor
const scalar & faceReductionFactor() const
Definition: polyMeshFilterSettingsI.H:88
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::polyMeshFilterSettings::edgeReductionFactor
const scalar & edgeReductionFactor() const
Definition: polyMeshFilterSettingsI.H:66
Foam::polyMeshFilterSettings::maxPointErrorCount
const label & maxPointErrorCount() const
Definition: polyMeshFilterSettingsI.H:94
Foam::polyMeshFilterSettings::maxCos
const scalar & maxCos() const
Definition: polyMeshFilterSettingsI.H:60
Foam::polyMeshFilterSettings::maxIterations
const label & maxIterations() const
Definition: polyMeshFilterSettingsI.H:71