Loading...
Searching...
No Matches
snapParameters Class Reference

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

#include <snapParameters.H>

Public Member Functions

 snapParameters (const dictionary &dict, const bool dryRun=false)
 Construct from dictionary.
label nSmoothPatch () const
 Number of patch smoothing iterations before finding.
label nSmoothInternal () const
 Number of internal point smoothing iterations (combined with.
scalar snapTol () const
 Relative distance for points to be attracted by surface.
label nSmoothDispl () const
 Number of mesh displacement smoothing iterations.
label nSnap () const
 Maximum number of snapping relaxation iterations. Should stop.
Switch detectNearSurfacesSnap () const
 Override attraction to nearest with intersection location.
Switch strictRegionSnap () const
 Attract point to corresponding surface region only.
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

Detailed Description

Simple container to keep together snap specific information.

Source files

Definition at line 48 of file snapParameters.H.

Constructor & Destructor Documentation

◆ snapParameters()

snapParameters ( const dictionary & dict,
const bool dryRun = false )

Construct from dictionary.

Definition at line 28 of file snapParameters.C.

References dict, and Foam::labelMin.

Member Function Documentation

◆ nSmoothPatch()

label nSmoothPatch ( ) const
inline

Number of patch smoothing iterations before finding.

correspondence to surface

Definition at line 139 of file snapParameters.H.

Referenced by snappySnapDriver::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 149 of file snapParameters.H.

Referenced by snappySnapDriver::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 161 of file snapParameters.H.

Referenced by snappySnapDriver::calcSnapDistance().

Here is the caller graph for this function:

◆ nSmoothDispl()

label nSmoothDispl ( ) const
inline

Number of mesh displacement smoothing iterations.

Definition at line 169 of file snapParameters.H.

Referenced by snappySnapDriver::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 179 of file snapParameters.H.

Referenced by snappySnapDriver::preSmoothPatch(), and snappySnapDriver::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 192 of file snapParameters.H.

Referenced by snappySnapDriver::doSnap().

Here is the caller graph for this function:

◆ strictRegionSnap()

Switch strictRegionSnap ( ) const
inline

Attract point to corresponding surface region only.

Definition at line 200 of file snapParameters.H.

Referenced by snappySnapDriver::doSnap().

Here is the caller graph for this function:

◆ nFeatureSnap()

label nFeatureSnap ( ) const
inline

Definition at line 208 of file snapParameters.H.

Referenced by snappySnapDriver::doSnap().

Here is the caller graph for this function:

◆ explicitFeatureSnap()

Switch explicitFeatureSnap ( ) const
inline

Definition at line 213 of file snapParameters.H.

◆ implicitFeatureSnap()

Switch implicitFeatureSnap ( ) const
inline

Definition at line 218 of file snapParameters.H.

◆ multiRegionFeatureSnap()

Switch multiRegionFeatureSnap ( ) const
inline

Definition at line 223 of file snapParameters.H.

◆ detectBaffles()

Switch detectBaffles ( ) const
inline

Definition at line 228 of file snapParameters.H.

◆ baffleFeaturePoints()

Switch baffleFeaturePoints ( ) const
inline

Definition at line 233 of file snapParameters.H.

◆ releasePoints()

Switch releasePoints ( ) const
inline

Definition at line 238 of file snapParameters.H.

◆ stringFeatures()

Switch stringFeatures ( ) const
inline

Definition at line 243 of file snapParameters.H.

◆ avoidDiagonal()

Switch avoidDiagonal ( ) const
inline

Definition at line 248 of file snapParameters.H.

◆ nFaceSplitInterval()

label nFaceSplitInterval ( ) const
inline

Definition at line 256 of file snapParameters.H.

Referenced by snappySnapDriver::doSnap().

Here is the caller graph for this function:

◆ concaveAngle()

scalar concaveAngle ( ) const
inline

Definition at line 261 of file snapParameters.H.

◆ minAreaRatio()

scalar minAreaRatio ( ) const
inline

Definition at line 266 of file snapParameters.H.


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