cv2DControlsI.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-2015 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 inline Foam::scalar Foam::cv2DControls::minCellSize() const
29 {
30  return minCellSize_;
31 }
32 
33 
34 inline Foam::scalar Foam::cv2DControls::minCellSize2() const
35 {
36  return minCellSize2_;
37 }
38 
39 
40 inline Foam::scalar Foam::cv2DControls::maxQuadAngle() const
41 {
42  return maxQuadAngle_;
43 }
44 
45 
46 inline Foam::scalar Foam::cv2DControls::nearWallAlignedDist() const
47 {
48  return nearWallAlignedDist_;
49 }
50 
51 
52 inline Foam::scalar Foam::cv2DControls::nearWallAlignedDist2() const
53 {
54  return nearWallAlignedDist2_;
55 }
56 
57 
59 {
60  return insertSurfaceNearestPointPairs_;
61 }
62 
63 
65 {
66  return mirrorPoints_;
67 }
68 
69 
71 {
72  return insertSurfaceNearPointPairs_;
73 }
74 
75 
77 {
78  return objOutput_;
79 }
80 
81 
83 {
84  return meshedSurfaceOutput_;
85 }
86 
87 
89 {
90  return randomiseInitialGrid_;
91 }
92 
93 
94 inline Foam::scalar Foam::cv2DControls::randomPerturbation() const
95 {
96  return randomPerturbation_;
97 }
98 
99 
100 inline Foam::label Foam::cv2DControls::maxBoundaryConformingIter() const
101 {
102  return maxBoundaryConformingIter_;
103 }
104 
106 inline Foam::scalar Foam::cv2DControls::span() const
107 {
108  return span_;
109 }
110 
112 inline Foam::scalar Foam::cv2DControls::span2() const
113 {
114  return span2_;
115 }
116 
118 inline Foam::scalar Foam::cv2DControls::minEdgeLen() const
119 {
120  return minEdgeLen_;
121 }
122 
124 inline Foam::scalar Foam::cv2DControls::minEdgeLen2() const
125 {
126  return minEdgeLen2_;
127 }
128 
130 inline Foam::scalar Foam::cv2DControls::maxNotchLen() const
131 {
132  return maxNotchLen_;
133 }
134 
136 inline Foam::scalar Foam::cv2DControls::maxNotchLen2() const
137 {
138  return maxNotchLen2_;
139 }
140 
142 inline Foam::scalar Foam::cv2DControls::minNearPointDist() const
143 {
144  return minNearPointDist_;
145 }
146 
148 inline Foam::scalar Foam::cv2DControls::minNearPointDist2() const
149 {
150  return minNearPointDist2_;
151 }
152 
153 
154 inline Foam::scalar Foam::cv2DControls::ppDist() const
155 {
156  return ppDist_;
157 }
158 
159 
160 // ************************************************************************* //
scalar minCellSize_
Minimum cell size below which protrusions through the surface are not split.
Definition: cv2DControls.H:90
scalar maxNotchLen() const
Return the maxNotchLen.
Switch objOutput() const
Return the objOutput Switch.
Definition: cv2DControlsI.H:69
scalar span() const
Return the span.
Definition: cv2DControlsI.H:99
scalar maxNotchLen2() const
Return the maxNotchLen squared.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Definition: Switch.H:77
scalar nearWallAlignedDist2() const
Return square of nearWallAlignedDist.
Definition: cv2DControlsI.H:45
scalar minNearPointDist2() const
Return the minNearPointDist squared.
Switch meshedSurfaceOutput() const
Return the meshedSurfaceOutput Switch.
Definition: cv2DControlsI.H:75
scalar minNearPointDist() const
Return the minNearPointDist.
scalar ppDist() const
Return the ppDist.
label maxBoundaryConformingIter() const
Return the maximum number of boundary conformation iterations.
Definition: cv2DControlsI.H:93
scalar minCellSize2() const
Return the square of the minimum cell size.
Definition: cv2DControlsI.H:27
scalar maxQuadAngle() const
Return the maximum quadrant angle.
Definition: cv2DControlsI.H:33
scalar minEdgeLen2() const
Return the minEdgeLen squared.
Switch mirrorPoints() const
Return mirrorPoints Switch.
Definition: cv2DControlsI.H:57
Switch insertSurfaceNearPointPairs() const
Return insertSurfaceNearPointPairs Switch.
Definition: cv2DControlsI.H:63
scalar minCellSize() const
Return the minimum cell size.
Definition: cv2DControlsI.H:21
scalar minEdgeLen() const
Return the minEdgeLen.
scalar span2() const
Return the span squared.
Switch insertSurfaceNearestPointPairs() const
Return insertSurfaceNearestPointPairs Switch.
Definition: cv2DControlsI.H:51
Switch randomiseInitialGrid() const
Return the randomise initial point layout Switch.
Definition: cv2DControlsI.H:81
scalar randomPerturbation() const
Return the random perturbation factor.
Definition: cv2DControlsI.H:87
scalar nearWallAlignedDist() const
Return number of layers to align with the nearest wall.
Definition: cv2DControlsI.H:39