cv2DControls Class Reference

Controls for the 2D CV mesh generator. More...

Collaboration diagram for cv2DControls:
[legend]

Public Member Functions

 cv2DControls (const dictionary &controlDict, const boundBox &bb)
 
 ~cv2DControls ()=default
 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...
 

Public Attributes

scalar minCellSize_
 
scalar minCellSize2_
 Square of minCellSize. More...
 
scalar maxQuadAngle_
 
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_
 
scalar minEdgeLen2_
 Square of minEdgeLen. More...
 
scalar maxNotchLen_
 
scalar maxNotchLen2_
 Square of maxNotchLen. More...
 
scalar minNearPointDist_
 
scalar minNearPointDist2_
 Square of minNearPoint. More...
 
scalar ppDist_
 Distance between boundary conforming point-pairs. More...
 
scalar ppDist2_
 Square of ppDist. More...
 

Friends

Ostreamoperator<< (Ostream &os, const cv2DControls &s)
 Ostream Operator. More...
 

Detailed Description

Controls for the 2D CV mesh generator.

Source files

Definition at line 60 of file cv2DControls.H.

Constructor & Destructor Documentation

◆ cv2DControls()

cv2DControls ( const dictionary controlDict,
const boundBox bb 
)

◆ ~cv2DControls()

~cv2DControls ( )
default

Destructor.

Member Function Documentation

◆ minCellSize()

Foam::scalar minCellSize ( ) const
inline

Return the minimum cell size.

Definition at line 28 of file cv2DControlsI.H.

References cv2DControls::minCellSize_.

◆ minCellSize2()

Foam::scalar minCellSize2 ( ) const
inline

Return the square of the minimum cell size.

Definition at line 34 of file cv2DControlsI.H.

◆ maxQuadAngle()

Foam::scalar maxQuadAngle ( ) const
inline

Return the maximum quadrant angle.

Definition at line 40 of file cv2DControlsI.H.

◆ nearWallAlignedDist()

Foam::scalar nearWallAlignedDist ( ) const
inline

Return number of layers to align with the nearest wall.

Definition at line 46 of file cv2DControlsI.H.

◆ nearWallAlignedDist2()

Foam::scalar nearWallAlignedDist2 ( ) const
inline

Return square of nearWallAlignedDist.

Definition at line 52 of file cv2DControlsI.H.

◆ insertSurfaceNearestPointPairs()

Foam::Switch insertSurfaceNearestPointPairs ( ) const
inline

Return insertSurfaceNearestPointPairs Switch.

Definition at line 58 of file cv2DControlsI.H.

◆ mirrorPoints()

Foam::Switch mirrorPoints ( ) const
inline

Return mirrorPoints Switch.

Definition at line 64 of file cv2DControlsI.H.

◆ insertSurfaceNearPointPairs()

Foam::Switch insertSurfaceNearPointPairs ( ) const
inline

Return insertSurfaceNearPointPairs Switch.

Definition at line 70 of file cv2DControlsI.H.

◆ objOutput()

Foam::Switch objOutput ( ) const
inline

Return the objOutput Switch.

Definition at line 76 of file cv2DControlsI.H.

◆ meshedSurfaceOutput()

Foam::Switch meshedSurfaceOutput ( ) const
inline

Return the meshedSurfaceOutput Switch.

Definition at line 82 of file cv2DControlsI.H.

◆ randomiseInitialGrid()

Foam::Switch randomiseInitialGrid ( ) const
inline

Return the randomise initial point layout Switch.

Definition at line 88 of file cv2DControlsI.H.

◆ randomPerturbation()

Foam::scalar randomPerturbation ( ) const
inline

Return the random perturbation factor.

Definition at line 94 of file cv2DControlsI.H.

◆ maxBoundaryConformingIter()

Foam::label maxBoundaryConformingIter ( ) const
inline

Return the maximum number of boundary conformation iterations.

Definition at line 100 of file cv2DControlsI.H.

◆ span()

Foam::scalar span ( ) const
inline

Return the span.

Definition at line 106 of file cv2DControlsI.H.

◆ span2()

Foam::scalar span2 ( ) const
inline

Return the span squared.

Definition at line 112 of file cv2DControlsI.H.

◆ minEdgeLen()

Foam::scalar minEdgeLen ( ) const
inline

Return the minEdgeLen.

Definition at line 118 of file cv2DControlsI.H.

◆ minEdgeLen2()

Foam::scalar minEdgeLen2 ( ) const
inline

Return the minEdgeLen squared.

Definition at line 124 of file cv2DControlsI.H.

◆ maxNotchLen()

Foam::scalar maxNotchLen ( ) const
inline

Return the maxNotchLen.

Definition at line 130 of file cv2DControlsI.H.

◆ maxNotchLen2()

Foam::scalar maxNotchLen2 ( ) const
inline

Return the maxNotchLen squared.

Definition at line 136 of file cv2DControlsI.H.

◆ minNearPointDist()

Foam::scalar minNearPointDist ( ) const
inline

Return the minNearPointDist.

Definition at line 142 of file cv2DControlsI.H.

◆ minNearPointDist2()

Foam::scalar minNearPointDist2 ( ) const
inline

Return the minNearPointDist squared.

Definition at line 148 of file cv2DControlsI.H.

◆ ppDist()

Foam::scalar ppDist ( ) const
inline

Return the ppDist.

Definition at line 154 of file cv2DControlsI.H.

◆ write()

void write ( Ostream os) const

Write controls to output stream.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const cv2DControls s 
)
friend

Ostream Operator.

Member Data Documentation

◆ minCellSize_

scalar minCellSize_

Minimum cell size below which protrusions through the surface are not split

Definition at line 86 of file cv2DControls.H.

Referenced by cv2DControls::minCellSize().

◆ minCellSize2_

scalar minCellSize2_

Square of minCellSize.

Definition at line 89 of file cv2DControls.H.

◆ maxQuadAngle_

scalar maxQuadAngle_

Maximum quadrant angle allowed at a concave corner before additional "mitering" lines are added

Definition at line 93 of file cv2DControls.H.

◆ nearWallAlignedDist_

scalar nearWallAlignedDist_

Near-wall region where cells are aligned with the wall.

Definition at line 96 of file cv2DControls.H.

◆ nearWallAlignedDist2_

scalar nearWallAlignedDist2_

Square of nearWallAlignedDist.

Definition at line 99 of file cv2DControls.H.

◆ insertSurfaceNearestPointPairs_

Switch insertSurfaceNearestPointPairs_

Insert near-boundary point mirror or point-pairs.

Definition at line 102 of file cv2DControls.H.

◆ mirrorPoints_

Switch mirrorPoints_

Mirror near-boundary points rather than insert point-pairs.

Definition at line 105 of file cv2DControls.H.

◆ insertSurfaceNearPointPairs_

Switch insertSurfaceNearPointPairs_

Insert point-pairs vor dual-cell vertices very near the surface.

Definition at line 108 of file cv2DControls.H.

◆ objOutput_

Switch objOutput_

Definition at line 110 of file cv2DControls.H.

◆ meshedSurfaceOutput_

Switch meshedSurfaceOutput_

Definition at line 112 of file cv2DControls.H.

◆ randomiseInitialGrid_

Switch randomiseInitialGrid_

Definition at line 114 of file cv2DControls.H.

◆ randomPerturbation_

scalar randomPerturbation_

Definition at line 116 of file cv2DControls.H.

◆ maxBoundaryConformingIter_

label maxBoundaryConformingIter_

Definition at line 118 of file cv2DControls.H.

◆ span_

scalar span_

Maximum cartesian span of the geometry.

Definition at line 124 of file cv2DControls.H.

◆ span2_

scalar span2_

Square of span.

Definition at line 127 of file cv2DControls.H.

◆ minEdgeLen_

scalar minEdgeLen_

Minimum edge-length of the cell size below which protrusions through the surface are not split

Definition at line 131 of file cv2DControls.H.

◆ minEdgeLen2_

scalar minEdgeLen2_

Square of minEdgeLen.

Definition at line 134 of file cv2DControls.H.

◆ maxNotchLen_

scalar maxNotchLen_

Maximum notch size below which protusions into the surface are not filled

Definition at line 138 of file cv2DControls.H.

◆ maxNotchLen2_

scalar maxNotchLen2_

Square of maxNotchLen.

Definition at line 141 of file cv2DControls.H.

◆ minNearPointDist_

scalar minNearPointDist_

The minimum distance allowed between a dual-cell vertex and the surface before a point-pair is introduced

Definition at line 145 of file cv2DControls.H.

◆ minNearPointDist2_

scalar minNearPointDist2_

Square of minNearPoint.

Definition at line 148 of file cv2DControls.H.

◆ ppDist_

scalar ppDist_

Distance between boundary conforming point-pairs.

Definition at line 151 of file cv2DControls.H.

◆ ppDist2_

scalar ppDist2_

Square of ppDist.

Definition at line 154 of file cv2DControls.H.


The documentation for this class was generated from the following files: