Controls for the 2D CV mesh generator. More...
Public Member Functions | |
cv2DControls (const dictionary &controlDict, const boundBox &bb) | |
cv2DControls (const cv2DControls &)=delete | |
Disallow default bitwise copy construction. More... | |
~cv2DControls () | |
Destructor. More... | |
scalar | minCellSize () const |
Return the minimum cell size. More... | |
scalar | minCellSize2 () const |
Return the square of the minimum cell size. More... | |
scalar | maxQuadAngle () const |
Return the maximum quadrant angle. More... | |
scalar | nearWallAlignedDist () const |
Return number of layers to align with the nearest wall. More... | |
scalar | nearWallAlignedDist2 () const |
Return square of nearWallAlignedDist. More... | |
Switch | insertSurfaceNearestPointPairs () const |
Return insertSurfaceNearestPointPairs Switch. More... | |
Switch | mirrorPoints () const |
Return mirrorPoints Switch. More... | |
Switch | insertSurfaceNearPointPairs () const |
Return insertSurfaceNearPointPairs Switch. More... | |
Switch | objOutput () const |
Return the objOutput Switch. More... | |
Switch | meshedSurfaceOutput () const |
Return the meshedSurfaceOutput Switch. More... | |
Switch | randomiseInitialGrid () const |
Return the randomise initial point layout Switch. More... | |
scalar | randomPerturbation () const |
Return the random perturbation factor. More... | |
label | maxBoundaryConformingIter () const |
Return the maximum number of boundary conformation iterations. More... | |
scalar | span () const |
Return the span. More... | |
scalar | span2 () const |
Return the span squared. More... | |
scalar | minEdgeLen () const |
Return the minEdgeLen. More... | |
scalar | minEdgeLen2 () const |
Return the minEdgeLen squared. More... | |
scalar | maxNotchLen () const |
Return the maxNotchLen. More... | |
scalar | maxNotchLen2 () const |
Return the maxNotchLen squared. More... | |
scalar | minNearPointDist () const |
Return the minNearPointDist. More... | |
scalar | minNearPointDist2 () const |
Return the minNearPointDist squared. More... | |
scalar | ppDist () const |
Return the ppDist. More... | |
void | write (Ostream &os) const |
Write controls to output stream. More... | |
void | operator= (const cv2DControls &)=delete |
Disallow default bitwise assignment. More... | |
Public Attributes | |
scalar | minCellSize_ |
Minimum cell size below which protrusions through the surface. More... | |
scalar | minCellSize2_ |
Square of minCellSize. More... | |
scalar | maxQuadAngle_ |
Maximum quadrant angle allowed at a concave corner before. More... | |
scalar | nearWallAlignedDist_ |
Near-wall region where cells are aligned with the wall. More... | |
scalar | nearWallAlignedDist2_ |
Square of nearWallAlignedDist. More... | |
Switch | insertSurfaceNearestPointPairs_ |
Insert near-boundary point mirror or point-pairs. More... | |
Switch | mirrorPoints_ |
Mirror near-boundary points rather than insert point-pairs. More... | |
Switch | insertSurfaceNearPointPairs_ |
Insert point-pairs vor dual-cell vertices very near the surface. More... | |
Switch | objOutput_ |
Switch | meshedSurfaceOutput_ |
Switch | randomiseInitialGrid_ |
scalar | randomPerturbation_ |
label | maxBoundaryConformingIter_ |
scalar | span_ |
Maximum cartesian span of the geometry. More... | |
scalar | span2_ |
Square of span. More... | |
scalar | minEdgeLen_ |
Minimum edge-length of the cell size below which protrusions. More... | |
scalar | minEdgeLen2_ |
Square of minEdgeLen. More... | |
scalar | maxNotchLen_ |
Maximum notch size below which protrusions into the surface are. More... | |
scalar | maxNotchLen2_ |
Square of maxNotchLen. More... | |
scalar | minNearPointDist_ |
The minimum distance allowed between a dual-cell vertex. More... | |
scalar | minNearPointDist2_ |
Square of minNearPoint. More... | |
scalar | ppDist_ |
Distance between boundary conforming point-pairs. More... | |
scalar | ppDist2_ |
Square of ppDist. More... | |
Friends | |
Ostream & | operator<< (Ostream &os, const cv2DControls &s) |
Ostream Operator. More... | |
cv2DControls | ( | const dictionary & | controlDict, |
const boundBox & | bb | ||
) |
|
delete |
Disallow default bitwise copy construction.
~cv2DControls | ( | ) |
Destructor.
|
inline |
Return the minimum cell size.
Definition at line 26 of file cv2DControlsI.H.
References cv2DControls::minCellSize_.
|
inline |
Return the square of the minimum cell size.
Definition at line 32 of file cv2DControlsI.H.
References cv2DControls::minCellSize2_.
|
inline |
Return the maximum quadrant angle.
Definition at line 38 of file cv2DControlsI.H.
References cv2DControls::maxQuadAngle_.
|
inline |
Return number of layers to align with the nearest wall.
Definition at line 44 of file cv2DControlsI.H.
References cv2DControls::nearWallAlignedDist_.
|
inline |
Return square of nearWallAlignedDist.
Definition at line 50 of file cv2DControlsI.H.
References cv2DControls::nearWallAlignedDist2_.
|
inline |
Return insertSurfaceNearestPointPairs Switch.
Definition at line 56 of file cv2DControlsI.H.
References cv2DControls::insertSurfaceNearestPointPairs_.
|
inline |
Return mirrorPoints Switch.
Definition at line 62 of file cv2DControlsI.H.
References cv2DControls::mirrorPoints_.
|
inline |
Return insertSurfaceNearPointPairs Switch.
Definition at line 68 of file cv2DControlsI.H.
References cv2DControls::insertSurfaceNearPointPairs_.
|
inline |
Return the objOutput Switch.
Definition at line 74 of file cv2DControlsI.H.
References cv2DControls::objOutput_.
|
inline |
Return the meshedSurfaceOutput Switch.
Definition at line 80 of file cv2DControlsI.H.
References cv2DControls::meshedSurfaceOutput_.
|
inline |
Return the randomise initial point layout Switch.
Definition at line 86 of file cv2DControlsI.H.
References cv2DControls::randomiseInitialGrid_.
|
inline |
Return the random perturbation factor.
Definition at line 92 of file cv2DControlsI.H.
References cv2DControls::randomPerturbation_.
|
inline |
Return the maximum number of boundary conformation iterations.
Definition at line 98 of file cv2DControlsI.H.
References cv2DControls::maxBoundaryConformingIter_.
|
inline |
|
inline |
Return the span squared.
Definition at line 110 of file cv2DControlsI.H.
References cv2DControls::span2_.
|
inline |
Return the minEdgeLen.
Definition at line 116 of file cv2DControlsI.H.
References cv2DControls::minEdgeLen_.
|
inline |
Return the minEdgeLen squared.
Definition at line 122 of file cv2DControlsI.H.
References cv2DControls::minEdgeLen2_.
|
inline |
Return the maxNotchLen.
Definition at line 128 of file cv2DControlsI.H.
References cv2DControls::maxNotchLen_.
|
inline |
Return the maxNotchLen squared.
Definition at line 134 of file cv2DControlsI.H.
References cv2DControls::maxNotchLen2_.
|
inline |
Return the minNearPointDist.
Definition at line 140 of file cv2DControlsI.H.
References cv2DControls::minNearPointDist_.
|
inline |
Return the minNearPointDist squared.
Definition at line 146 of file cv2DControlsI.H.
References cv2DControls::minNearPointDist2_.
|
inline |
Return the ppDist.
Definition at line 152 of file cv2DControlsI.H.
References cv2DControls::ppDist_.
void write | ( | Ostream & | os | ) | const |
Write controls to output stream.
|
delete |
Disallow default bitwise assignment.
|
friend |
Ostream Operator.
scalar minCellSize_ |
Minimum cell size below which protrusions through the surface.
are not split
Definition at line 73 of file cv2DControls.H.
Referenced by cv2DControls::minCellSize().
scalar minCellSize2_ |
Square of minCellSize.
Definition at line 76 of file cv2DControls.H.
Referenced by cv2DControls::minCellSize2().
scalar maxQuadAngle_ |
Maximum quadrant angle allowed at a concave corner before.
additional "mitering" lines are added
Definition at line 80 of file cv2DControls.H.
Referenced by cv2DControls::maxQuadAngle().
scalar nearWallAlignedDist_ |
Near-wall region where cells are aligned with the wall.
Definition at line 83 of file cv2DControls.H.
Referenced by cv2DControls::nearWallAlignedDist().
scalar nearWallAlignedDist2_ |
Square of nearWallAlignedDist.
Definition at line 86 of file cv2DControls.H.
Referenced by cv2DControls::nearWallAlignedDist2().
Switch insertSurfaceNearestPointPairs_ |
Insert near-boundary point mirror or point-pairs.
Definition at line 89 of file cv2DControls.H.
Referenced by cv2DControls::insertSurfaceNearestPointPairs().
Switch mirrorPoints_ |
Mirror near-boundary points rather than insert point-pairs.
Definition at line 92 of file cv2DControls.H.
Referenced by cv2DControls::mirrorPoints().
Switch insertSurfaceNearPointPairs_ |
Insert point-pairs vor dual-cell vertices very near the surface.
Definition at line 95 of file cv2DControls.H.
Referenced by cv2DControls::insertSurfaceNearPointPairs().
Switch objOutput_ |
Definition at line 97 of file cv2DControls.H.
Referenced by cv2DControls::objOutput().
Switch meshedSurfaceOutput_ |
Definition at line 99 of file cv2DControls.H.
Referenced by cv2DControls::meshedSurfaceOutput().
Switch randomiseInitialGrid_ |
Definition at line 101 of file cv2DControls.H.
Referenced by cv2DControls::randomiseInitialGrid().
scalar randomPerturbation_ |
Definition at line 103 of file cv2DControls.H.
Referenced by cv2DControls::randomPerturbation().
label maxBoundaryConformingIter_ |
Definition at line 105 of file cv2DControls.H.
Referenced by cv2DControls::maxBoundaryConformingIter().
scalar span_ |
Maximum cartesian span of the geometry.
Definition at line 111 of file cv2DControls.H.
Referenced by cv2DControls::span().
scalar span2_ |
scalar minEdgeLen_ |
Minimum edge-length of the cell size below which protrusions.
through the surface are not split
Definition at line 118 of file cv2DControls.H.
Referenced by cv2DControls::minEdgeLen().
scalar minEdgeLen2_ |
Square of minEdgeLen.
Definition at line 121 of file cv2DControls.H.
Referenced by cv2DControls::minEdgeLen2().
scalar maxNotchLen_ |
Maximum notch size below which protrusions into the surface are.
not filled
Definition at line 125 of file cv2DControls.H.
Referenced by cv2DControls::maxNotchLen().
scalar maxNotchLen2_ |
Square of maxNotchLen.
Definition at line 128 of file cv2DControls.H.
Referenced by cv2DControls::maxNotchLen2().
scalar minNearPointDist_ |
The minimum distance allowed between a dual-cell vertex.
and the surface before a point-pair is introduced
Definition at line 132 of file cv2DControls.H.
Referenced by cv2DControls::minNearPointDist().
scalar minNearPointDist2_ |
Square of minNearPoint.
Definition at line 135 of file cv2DControls.H.
Referenced by cv2DControls::minNearPointDist2().
scalar ppDist_ |
Distance between boundary conforming point-pairs.
Definition at line 138 of file cv2DControls.H.
Referenced by cv2DControls::ppDist().
scalar ppDist2_ |
Square of ppDist.
Definition at line 141 of file cv2DControls.H.