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

Collaboration diagram for cv2DControls:

Public Member Functions

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

Public Attributes

scalar minCellSize_
 Minimum cell size below which protusions through the surface are. 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_
 Minumum edge-length of the cell size below which protusions. More...
 
scalar minEdgeLen2_
 Square of minEdgeLen. More...
 
scalar maxNotchLen_
 Maximum notch size below which protusions into the surface are. More...
 
scalar maxNotchLen2_
 Square of maxNotchLen. More...
 
scalar minNearPointDist_
 The minimum distance alowed 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

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

Detailed Description

Controls for the 2D CV mesh generator.

Source files

Definition at line 52 of file cv2DControls.H.

Constructor & Destructor Documentation

cv2DControls ( const dictionary controlDict,
const boundBox bb 
)

Destructor.

Member Function Documentation

Foam::scalar minCellSize ( ) const
inline

Return the minimum cell size.

Definition at line 26 of file cv2DControlsI.H.

References cv2DControls::minCellSize().

Referenced by cv2DControls::minCellSize().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minCellSize2 ( ) const
inline

Return the square of the minimum cell size.

Definition at line 32 of file cv2DControlsI.H.

References cv2DControls::minCellSize2().

Referenced by cv2DControls::minCellSize2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar maxQuadAngle ( ) const
inline

Return the maximum quadrant angle.

Definition at line 38 of file cv2DControlsI.H.

References cv2DControls::maxQuadAngle().

Referenced by cv2DControls::maxQuadAngle().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar nearWallAlignedDist ( ) const
inline

Return number of layers to align with the nearest wall.

Definition at line 44 of file cv2DControlsI.H.

References cv2DControls::nearWallAlignedDist().

Referenced by cv2DControls::nearWallAlignedDist().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar nearWallAlignedDist2 ( ) const
inline

Return square of nearWallAlignedDist.

Definition at line 50 of file cv2DControlsI.H.

References cv2DControls::nearWallAlignedDist2().

Referenced by cv2DControls::nearWallAlignedDist2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch insertSurfaceNearestPointPairs ( ) const
inline

Return insertSurfaceNearestPointPairs Switch.

Definition at line 56 of file cv2DControlsI.H.

References cv2DControls::insertSurfaceNearestPointPairs().

Referenced by cv2DControls::insertSurfaceNearestPointPairs().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch mirrorPoints ( ) const
inline

Return mirrorPoints Switch.

Definition at line 62 of file cv2DControlsI.H.

References cv2DControls::mirrorPoints().

Referenced by cv2DControls::mirrorPoints().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch insertSurfaceNearPointPairs ( ) const
inline

Return insertSurfaceNearPointPairs Switch.

Definition at line 68 of file cv2DControlsI.H.

References cv2DControls::insertSurfaceNearPointPairs().

Referenced by cv2DControls::insertSurfaceNearPointPairs().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch objOutput ( ) const
inline

Return the objOutput Switch.

Definition at line 74 of file cv2DControlsI.H.

References cv2DControls::objOutput().

Referenced by cv2DControls::objOutput().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch meshedSurfaceOutput ( ) const
inline

Return the meshedSurfaceOutput Switch.

Definition at line 80 of file cv2DControlsI.H.

References cv2DControls::meshedSurfaceOutput().

Referenced by cv2DControls::meshedSurfaceOutput().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::Switch randomiseInitialGrid ( ) const
inline

Return the randomise initial point layout Switch.

Definition at line 86 of file cv2DControlsI.H.

References cv2DControls::randomiseInitialGrid().

Referenced by cv2DControls::randomiseInitialGrid().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar randomPerturbation ( ) const
inline

Return the random perturbation factor.

Definition at line 92 of file cv2DControlsI.H.

References cv2DControls::randomPerturbation().

Referenced by cv2DControls::randomPerturbation().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label maxBoundaryConformingIter ( ) const
inline

Return the maximum number of boundary conformation iterations.

Definition at line 98 of file cv2DControlsI.H.

References cv2DControls::maxBoundaryConformingIter().

Referenced by cv2DControls::maxBoundaryConformingIter().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar span ( ) const
inline

Return the span.

Definition at line 104 of file cv2DControlsI.H.

References cv2DControls::span().

Referenced by cv2DControls::span().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar span2 ( ) const
inline

Return the span squared.

Definition at line 110 of file cv2DControlsI.H.

References cv2DControls::span2().

Referenced by cv2DControls::span2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minEdgeLen ( ) const
inline

Return the minEdgeLen.

Definition at line 116 of file cv2DControlsI.H.

References cv2DControls::minEdgeLen().

Referenced by cv2DControls::minEdgeLen().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minEdgeLen2 ( ) const
inline

Return the minEdgeLen squared.

Definition at line 122 of file cv2DControlsI.H.

References cv2DControls::minEdgeLen2().

Referenced by cv2DControls::minEdgeLen2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar maxNotchLen ( ) const
inline

Return the maxNotchLen.

Definition at line 128 of file cv2DControlsI.H.

References cv2DControls::maxNotchLen().

Referenced by cv2DControls::maxNotchLen().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar maxNotchLen2 ( ) const
inline

Return the maxNotchLen squared.

Definition at line 134 of file cv2DControlsI.H.

References cv2DControls::maxNotchLen2().

Referenced by cv2DControls::maxNotchLen2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minNearPointDist ( ) const
inline

Return the minNearPointDist.

Definition at line 140 of file cv2DControlsI.H.

References cv2DControls::minNearPointDist().

Referenced by cv2DControls::minNearPointDist().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar minNearPointDist2 ( ) const
inline

Return the minNearPointDist squared.

Definition at line 146 of file cv2DControlsI.H.

References cv2DControls::minNearPointDist2().

Referenced by cv2DControls::minNearPointDist2().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::scalar ppDist ( ) const
inline

Return the ppDist.

Definition at line 152 of file cv2DControlsI.H.

References cv2DControls::ppDist().

Referenced by cv2DControls::ppDist().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const

Write controls to output stream.

Friends And Related Function Documentation

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

Ostream Operator.

Member Data Documentation

scalar minCellSize_

Minimum cell size below which protusions through the surface are.

not split

Definition at line 79 of file cv2DControls.H.

scalar minCellSize2_

Square of minCellSize.

Definition at line 82 of file cv2DControls.H.

scalar maxQuadAngle_

Maximum quadrant angle allowed at a concave corner before.

additional "mitering" lines are added

Definition at line 86 of file cv2DControls.H.

scalar nearWallAlignedDist_

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

Definition at line 89 of file cv2DControls.H.

scalar nearWallAlignedDist2_

Square of nearWallAlignedDist.

Definition at line 92 of file cv2DControls.H.

Switch insertSurfaceNearestPointPairs_

Insert near-boundary point mirror or point-pairs.

Definition at line 95 of file cv2DControls.H.

Switch mirrorPoints_

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

Definition at line 98 of file cv2DControls.H.

Switch insertSurfaceNearPointPairs_

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

Definition at line 101 of file cv2DControls.H.

Switch objOutput_

Definition at line 103 of file cv2DControls.H.

Switch meshedSurfaceOutput_

Definition at line 105 of file cv2DControls.H.

Switch randomiseInitialGrid_

Definition at line 107 of file cv2DControls.H.

scalar randomPerturbation_

Definition at line 109 of file cv2DControls.H.

label maxBoundaryConformingIter_

Definition at line 111 of file cv2DControls.H.

scalar span_

Maximum cartesian span of the geometry.

Definition at line 117 of file cv2DControls.H.

scalar span2_

Square of span.

Definition at line 120 of file cv2DControls.H.

scalar minEdgeLen_

Minumum edge-length of the cell size below which protusions.

through the surface are not split

Definition at line 124 of file cv2DControls.H.

scalar minEdgeLen2_

Square of minEdgeLen.

Definition at line 127 of file cv2DControls.H.

scalar maxNotchLen_

Maximum notch size below which protusions into the surface are.

not filled

Definition at line 131 of file cv2DControls.H.

scalar maxNotchLen2_

Square of maxNotchLen.

Definition at line 134 of file cv2DControls.H.

scalar minNearPointDist_

The minimum distance alowed between a dual-cell vertex.

and the surface before a point-pair is introduced

Definition at line 138 of file cv2DControls.H.

scalar minNearPointDist2_

Square of minNearPoint.

Definition at line 141 of file cv2DControls.H.

scalar ppDist_

Distance between boundary conforming point-pairs.

Definition at line 144 of file cv2DControls.H.

scalar ppDist2_

Square of ppDist.

Definition at line 147 of file cv2DControls.H.


The documentation for this class was generated from the following files:
  • applications/utilities/mesh/generation/foamyQuadMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControls.H
  • applications/utilities/mesh/generation/foamyQuadMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControlsI.H