Public Member Functions | Private Member Functions | Private Attributes
snapParameters Class Reference

Simple container to keep together snap specific information. More...

Collaboration diagram for snapParameters:
Collaboration graph
[legend]

Public Member Functions

 snapParameters (const dictionary &dict)
 Construct from dictionary. More...
 
label nSmoothPatch () const
 Number of patch smoothing iterations before finding. More...
 
label nSmoothInternal () const
 Number of internal point smoothing iterations (combined with. More...
 
scalar snapTol () const
 Relative distance for points to be attracted by surface. More...
 
label nSmoothDispl () const
 Number of mesh displacement smoothing iterations. More...
 
label nSnap () const
 Maximum number of snapping relaxation iterations. Should stop. More...
 
Switch detectNearSurfacesSnap () const
 Override attraction to nearest with intersection location. More...
 
Switch strictRegionSnap () const
 Attract point to corresponding surface region only. More...
 
label nFeatureSnap () const
 
Switch explicitFeatureSnap () const
 
Switch implicitFeatureSnap () const
 
Switch multiRegionFeatureSnap () const
 
Switch detectBaffles () const
 
Switch baffleFeaturePoints () const
 
Switch releasePoints () const
 
Switch stringFeatures () const
 
Switch avoidDiagonal () const
 
label nFaceSplitInterval () const
 
scalar concaveAngle () const
 
scalar minAreaRatio () const
 

Private Member Functions

 snapParameters (const snapParameters &)
 Disallow default bitwise copy construct. More...
 
void operator= (const snapParameters &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const label nSmoothPatch_
 
const label nSmoothInternal_
 
const scalar snapTol_
 
const label nSmoothDispl_
 
const label nSnap_
 
const label nFeatureSnap_
 
const Switch explicitFeatureSnap_
 
const Switch implicitFeatureSnap_
 
const Switch multiRegionFeatureSnap_
 
const Switch detectNearSurfacesSnap_
 
const Switch strictRegionSnap_
 
const Switch detectBaffles_
 
const Switch baffleFeaturePoints_
 
const Switch releasePoints_
 
const Switch stringFeatures_
 
const Switch avoidDiagonal_
 
label nFaceSplitInterval_
 How often needs face splitting be run. More...
 
scalar concaveAngle_
 When is angle too concave too split. More...
 
scalar minAreaRatio_
 When is face-split not sufficiently diagonal. More...
 

Detailed Description

Simple container to keep together snap specific information.

Source files

Definition at line 50 of file snapParameters.H.

Constructor & Destructor Documentation

◆ snapParameters() [1/2]

snapParameters ( const snapParameters )
private

Disallow default bitwise copy construct.

◆ snapParameters() [2/2]

snapParameters ( const dictionary dict)

Construct from dictionary.

Definition at line 31 of file snapParameters.C.

Member Function Documentation

◆ operator=()

void operator= ( const snapParameters )
private

Disallow default bitwise assignment.

◆ nSmoothPatch()

label nSmoothPatch ( ) const
inline

Number of patch smoothing iterations before finding.

correspondence to surface

Definition at line 120 of file snapParameters.H.

Referenced by autoSnapDriver::preSmoothPatch().

Here is the caller graph for this function:

◆ nSmoothInternal()

label nSmoothInternal ( ) const
inline

Number of internal point smoothing iterations (combined with.

nSmoothPatch

Definition at line 127 of file snapParameters.H.

Referenced by autoSnapDriver::preSmoothPatch().

Here is the caller graph for this function:

◆ snapTol()

scalar snapTol ( ) const
inline

Relative distance for points to be attracted by surface.

feature point or edge. True distance is this factor times local maximum edge length.

Definition at line 136 of file snapParameters.H.

Referenced by autoSnapDriver::calcSnapDistance().

Here is the caller graph for this function:

◆ nSmoothDispl()

label nSmoothDispl ( ) const
inline

Number of mesh displacement smoothing iterations.

Definition at line 142 of file snapParameters.H.

References snapParameters::nSmoothDispl_.

Referenced by autoSnapDriver::smoothDisplacement().

Here is the caller graph for this function:

◆ nSnap()

label nSnap ( ) const
inline

Maximum number of snapping relaxation iterations. Should stop.

before upon reaching a correct mesh.

Definition at line 149 of file snapParameters.H.

Referenced by autoSnapDriver::preSmoothPatch(), and autoSnapDriver::scaleMesh().

Here is the caller graph for this function:

◆ detectNearSurfacesSnap()

Switch detectNearSurfacesSnap ( ) const
inline

Override attraction to nearest with intersection location.

at near surfaces

Definition at line 159 of file snapParameters.H.

Referenced by autoSnapDriver::doSnap().

Here is the caller graph for this function:

◆ strictRegionSnap()

Switch strictRegionSnap ( ) const
inline

Attract point to corresponding surface region only.

Definition at line 165 of file snapParameters.H.

References snapParameters::strictRegionSnap_.

Referenced by autoSnapDriver::doSnap(), and meshRefinement::markFacesOnProblemCellsGeometric().

Here is the caller graph for this function:

◆ nFeatureSnap()

label nFeatureSnap ( ) const
inline

Definition at line 173 of file snapParameters.H.

References snapParameters::nFeatureSnap_.

Referenced by autoSnapDriver::doSnap().

Here is the caller graph for this function:

◆ explicitFeatureSnap()

Switch explicitFeatureSnap ( ) const
inline

Definition at line 178 of file snapParameters.H.

References snapParameters::explicitFeatureSnap_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ implicitFeatureSnap()

Switch implicitFeatureSnap ( ) const
inline

Definition at line 183 of file snapParameters.H.

References snapParameters::implicitFeatureSnap_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ multiRegionFeatureSnap()

Switch multiRegionFeatureSnap ( ) const
inline

Definition at line 188 of file snapParameters.H.

References snapParameters::multiRegionFeatureSnap_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ detectBaffles()

Switch detectBaffles ( ) const
inline

Definition at line 193 of file snapParameters.H.

References snapParameters::detectBaffles_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ baffleFeaturePoints()

Switch baffleFeaturePoints ( ) const
inline

Definition at line 198 of file snapParameters.H.

References snapParameters::baffleFeaturePoints_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ releasePoints()

Switch releasePoints ( ) const
inline

Definition at line 203 of file snapParameters.H.

References snapParameters::releasePoints_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ stringFeatures()

Switch stringFeatures ( ) const
inline

Definition at line 208 of file snapParameters.H.

References snapParameters::stringFeatures_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ avoidDiagonal()

Switch avoidDiagonal ( ) const
inline

Definition at line 213 of file snapParameters.H.

References snapParameters::avoidDiagonal_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ nFaceSplitInterval()

label nFaceSplitInterval ( ) const
inline

Definition at line 221 of file snapParameters.H.

References snapParameters::nFaceSplitInterval_.

Referenced by autoSnapDriver::doSnap().

Here is the caller graph for this function:

◆ concaveAngle()

scalar concaveAngle ( ) const
inline

Definition at line 226 of file snapParameters.H.

References snapParameters::concaveAngle_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

◆ minAreaRatio()

scalar minAreaRatio ( ) const
inline

Definition at line 231 of file snapParameters.H.

References snapParameters::minAreaRatio_.

Referenced by autoSnapDriver::calcNearestSurfaceFeature().

Here is the caller graph for this function:

Field Documentation

◆ nSmoothPatch_

const label nSmoothPatch_
private

Definition at line 54 of file snapParameters.H.

◆ nSmoothInternal_

const label nSmoothInternal_
private

Definition at line 56 of file snapParameters.H.

◆ snapTol_

const scalar snapTol_
private

Definition at line 58 of file snapParameters.H.

◆ nSmoothDispl_

const label nSmoothDispl_
private

Definition at line 60 of file snapParameters.H.

Referenced by snapParameters::nSmoothDispl().

◆ nSnap_

const label nSnap_
private

Definition at line 62 of file snapParameters.H.

◆ nFeatureSnap_

const label nFeatureSnap_
private

Definition at line 64 of file snapParameters.H.

Referenced by snapParameters::nFeatureSnap().

◆ explicitFeatureSnap_

const Switch explicitFeatureSnap_
private

Definition at line 66 of file snapParameters.H.

Referenced by snapParameters::explicitFeatureSnap().

◆ implicitFeatureSnap_

const Switch implicitFeatureSnap_
private

Definition at line 68 of file snapParameters.H.

Referenced by snapParameters::implicitFeatureSnap().

◆ multiRegionFeatureSnap_

const Switch multiRegionFeatureSnap_
private

Definition at line 70 of file snapParameters.H.

Referenced by snapParameters::multiRegionFeatureSnap().

◆ detectNearSurfacesSnap_

const Switch detectNearSurfacesSnap_
private

Definition at line 72 of file snapParameters.H.

◆ strictRegionSnap_

const Switch strictRegionSnap_
private

Definition at line 74 of file snapParameters.H.

Referenced by snapParameters::strictRegionSnap().

◆ detectBaffles_

const Switch detectBaffles_
private

Definition at line 76 of file snapParameters.H.

Referenced by snapParameters::detectBaffles().

◆ baffleFeaturePoints_

const Switch baffleFeaturePoints_
private

Definition at line 78 of file snapParameters.H.

Referenced by snapParameters::baffleFeaturePoints().

◆ releasePoints_

const Switch releasePoints_
private

Definition at line 80 of file snapParameters.H.

Referenced by snapParameters::releasePoints().

◆ stringFeatures_

const Switch stringFeatures_
private

Definition at line 82 of file snapParameters.H.

Referenced by snapParameters::stringFeatures().

◆ avoidDiagonal_

const Switch avoidDiagonal_
private

Definition at line 84 of file snapParameters.H.

Referenced by snapParameters::avoidDiagonal().

◆ nFaceSplitInterval_

label nFaceSplitInterval_
private

How often needs face splitting be run.

Definition at line 88 of file snapParameters.H.

Referenced by snapParameters::nFaceSplitInterval().

◆ concaveAngle_

scalar concaveAngle_
private

When is angle too concave too split.

Definition at line 91 of file snapParameters.H.

Referenced by snapParameters::concaveAngle().

◆ minAreaRatio_

scalar minAreaRatio_
private

When is face-split not sufficiently diagonal.

Definition at line 94 of file snapParameters.H.

Referenced by snapParameters::minAreaRatio().


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