Loading...
Searching...
No Matches
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-------------------------------------------------------------------------------
10License
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\*---------------------------------------------------------------------------*/
28inline Foam::scalar Foam::cv2DControls::minCellSize() const
29{
30 return minCellSize_;
31}
32
34inline Foam::scalar Foam::cv2DControls::minCellSize2() const
35{
36 return minCellSize2_;
37}
38
40inline Foam::scalar Foam::cv2DControls::maxQuadAngle() const
41{
42 return maxQuadAngle_;
43}
44
46inline Foam::scalar Foam::cv2DControls::nearWallAlignedDist() const
47{
49}
50
52inline Foam::scalar Foam::cv2DControls::nearWallAlignedDist2() const
53{
55}
56
61}
62
67}
68
73}
74
77{
78 return objOutput_;
79}
80
85}
86
91}
92
94inline Foam::scalar Foam::cv2DControls::randomPerturbation() const
95{
97}
98
100inline Foam::label Foam::cv2DControls::maxBoundaryConformingIter() const
101{
103}
104
106inline Foam::scalar Foam::cv2DControls::span() const
107{
108 return span_;
109}
110
112inline Foam::scalar Foam::cv2DControls::span2() const
113{
114 return span2_;
115}
116
118inline Foam::scalar Foam::cv2DControls::minEdgeLen() const
119{
120 return minEdgeLen_;
121}
122
124inline Foam::scalar Foam::cv2DControls::minEdgeLen2() const
125{
126 return minEdgeLen2_;
127}
128
130inline Foam::scalar Foam::cv2DControls::maxNotchLen() const
131{
132 return maxNotchLen_;
133}
134
136inline Foam::scalar Foam::cv2DControls::maxNotchLen2() const
137{
138 return maxNotchLen2_;
139}
140
142inline Foam::scalar Foam::cv2DControls::minNearPointDist() const
143{
144 return minNearPointDist_;
145}
146
148inline Foam::scalar Foam::cv2DControls::minNearPointDist2() const
149{
150 return minNearPointDist2_;
151}
152
153
154inline Foam::scalar Foam::cv2DControls::ppDist() const
155{
156 return ppDist_;
157}
158
159
160// ************************************************************************* //
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Definition Switch.H:81
scalar span2() const
Return the span squared.
Switch objOutput() const
Return the objOutput Switch.
Switch insertSurfaceNearPointPairs() const
Return insertSurfaceNearPointPairs Switch.
scalar minEdgeLen2_
Square of minEdgeLen.
Switch mirrorPoints_
Mirror near-boundary points rather than insert point-pairs.
scalar minNearPointDist_
The minimum distance allowed between a dual-cell vertex and the surface before a point-pair is introd...
scalar minCellSize2_
Square of minCellSize.
scalar maxNotchLen2_
Square of maxNotchLen.
Switch mirrorPoints() const
Return mirrorPoints Switch.
scalar span_
Maximum cartesian span of the geometry.
scalar minEdgeLen() const
Return the minEdgeLen.
scalar maxQuadAngle_
Maximum quadrant angle allowed at a concave corner before additional "mitering" lines are added.
scalar span2_
Square of span.
scalar nearWallAlignedDist2() const
Return square of nearWallAlignedDist.
scalar ppDist() const
Return the ppDist.
scalar nearWallAlignedDist() const
Return number of layers to align with the nearest wall.
Switch insertSurfaceNearestPointPairs() const
Return insertSurfaceNearestPointPairs Switch.
label maxBoundaryConformingIter() const
Return the maximum number of boundary conformation iterations.
scalar minCellSize2() const
Return the square of the minimum cell size.
scalar minNearPointDist2_
Square of minNearPoint.
scalar maxNotchLen2() const
Return the maxNotchLen squared.
scalar maxNotchLen() const
Return the maxNotchLen.
label maxBoundaryConformingIter_
scalar minNearPointDist() const
Return the minNearPointDist.
scalar randomPerturbation() const
Return the random perturbation factor.
scalar minCellSize_
Minimum cell size below which protrusions through the surface are not split.
scalar nearWallAlignedDist2_
Square of nearWallAlignedDist.
Switch randomiseInitialGrid() const
Return the randomise initial point layout Switch.
scalar maxNotchLen_
Maximum notch size below which protusions into the surface are not filled.
scalar ppDist_
Distance between boundary conforming point-pairs.
scalar maxQuadAngle() const
Return the maximum quadrant angle.
scalar nearWallAlignedDist_
Near-wall region where cells are aligned with the wall.
scalar minCellSize() const
Return the minimum cell size.
scalar span() const
Return the span.
scalar minNearPointDist2() const
Return the minNearPointDist squared.
Switch meshedSurfaceOutput() const
Return the meshedSurfaceOutput Switch.
scalar minEdgeLen2() const
Return the minEdgeLen squared.
Switch insertSurfaceNearestPointPairs_
Insert near-boundary point mirror or point-pairs.
Switch insertSurfaceNearPointPairs_
Insert point-pairs vor dual-cell vertices very near the surface.
scalar minEdgeLen_
Minimum edge-length of the cell size below which protrusions through the surface are not split.