Public Member Functions | Private Attributes
polyMeshFilterSettings Class Reference

Class to store the settings for the polyMeshFilter class. More...

Inheritance diagram for polyMeshFilterSettings:
Inheritance graph
[legend]
Collaboration diagram for polyMeshFilterSettings:
Collaboration graph
[legend]

Public Member Functions

 polyMeshFilterSettings (const dictionary &dict)
 Construct from dictionary. More...
 
 ~polyMeshFilterSettings ()
 Destructor. More...
 
const dictionarycollapseEdgesCoeffDict () const
 
const dictionarycollapseFacesCoeffDict () const
 
const dictionarymeshQualityCoeffDict () const
 
const SwitchcontrolMeshQuality () const
 
const scalar & minLen () const
 
const scalar & maxCos () const
 
const scalar & edgeReductionFactor () const
 
const labelmaxIterations () const
 
const labelmaxSmoothIters () const
 
const scalar & initialFaceLengthFactor () const
 
const scalar & faceReductionFactor () const
 
const labelmaxPointErrorCount () const
 
void writeSettings (Ostream &os) const
 Write the settings to a stream. More...
 

Private Attributes

const dictionary dict_
 Dictionary containing the coefficient sub-dictionaries. More...
 
Switch controlMeshQuality_
 After collapsing, check the mesh quality and redo the collapsing. More...
 
const dictionarycollapseEdgesCoeffDict_
 Coefficients for collapsing edges. More...
 
dictionary collapseFacesCoeffDict_
 Coefficients for collapsing faces. More...
 
dictionary meshQualityCoeffDict_
 Coefficients for controlling the mesh quality. More...
 
const scalar minLen_
 Remove edges shorter than this length. More...
 
const scalar maxCos_
 Merge points that are only attached to two edges and have an angle. More...
 
const scalar edgeReductionFactor_
 The amount that the local minimum edge length will be reduced by if. More...
 
const label maxIterations_
 Maximum number of outer iterations. More...
 
const label maxSmoothIters_
 Maximum number of smoothing iterations of minEdgeLen_ and. More...
 
const scalar initialFaceLengthFactor_
 Initialisation value of faceFilterFactor_. More...
 
const scalar faceReductionFactor_
 The amount that the local face size factor will be reduced by if. More...
 
const label maxPointErrorCount_
 Maximum number of times a deleted point can be associated with the. More...
 

Detailed Description

Class to store the settings for the polyMeshFilter class.

Source files

Definition at line 52 of file polyMeshFilterSettings.H.

Constructor & Destructor Documentation

◆ polyMeshFilterSettings()

polyMeshFilterSettings ( const dictionary dict)
explicit

Construct from dictionary.

Definition at line 31 of file polyMeshFilterSettings.C.

◆ ~polyMeshFilterSettings()

Destructor.

Definition at line 113 of file polyMeshFilterSettings.H.

Member Function Documentation

◆ collapseEdgesCoeffDict()

const Foam::dictionary & collapseEdgesCoeffDict ( ) const
inline

◆ collapseFacesCoeffDict()

const Foam::dictionary & collapseFacesCoeffDict ( ) const
inline

Definition at line 35 of file polyMeshFilterSettingsI.H.

◆ meshQualityCoeffDict()

const Foam::dictionary & meshQualityCoeffDict ( ) const
inline

Definition at line 41 of file polyMeshFilterSettingsI.H.

◆ controlMeshQuality()

const Foam::Switch & controlMeshQuality ( ) const
inline

Definition at line 48 of file polyMeshFilterSettingsI.H.

◆ minLen()

const Foam::scalar & minLen ( ) const
inline

Definition at line 53 of file polyMeshFilterSettingsI.H.

◆ maxCos()

const Foam::scalar & maxCos ( ) const
inline

Definition at line 58 of file polyMeshFilterSettingsI.H.

◆ edgeReductionFactor()

const Foam::scalar & edgeReductionFactor ( ) const
inline

Definition at line 64 of file polyMeshFilterSettingsI.H.

◆ maxIterations()

const Foam::label & maxIterations ( ) const
inline

Definition at line 69 of file polyMeshFilterSettingsI.H.

◆ maxSmoothIters()

const Foam::label & maxSmoothIters ( ) const
inline

Definition at line 74 of file polyMeshFilterSettingsI.H.

◆ initialFaceLengthFactor()

const Foam::scalar & initialFaceLengthFactor ( ) const
inline

Definition at line 80 of file polyMeshFilterSettingsI.H.

◆ faceReductionFactor()

const Foam::scalar & faceReductionFactor ( ) const
inline

Definition at line 86 of file polyMeshFilterSettingsI.H.

◆ maxPointErrorCount()

const Foam::label & maxPointErrorCount ( ) const
inline

Definition at line 92 of file polyMeshFilterSettingsI.H.

◆ writeSettings()

void writeSettings ( Ostream os) const

Write the settings to a stream.

Definition at line 93 of file polyMeshFilterSettings.C.

References Foam::acos(), Foam::endl(), Foam::nl, and Foam::radToDeg().

Referenced by polyMeshFilter::polyMeshFilter().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ dict_

const dictionary dict_
private

Dictionary containing the coefficient sub-dictionaries.

Definition at line 57 of file polyMeshFilterSettings.H.

◆ controlMeshQuality_

Switch controlMeshQuality_
private

After collapsing, check the mesh quality and redo the collapsing.

iteration if there are too many bad faces in the mesh

Definition at line 61 of file polyMeshFilterSettings.H.

◆ collapseEdgesCoeffDict_

const dictionary& collapseEdgesCoeffDict_
private

Coefficients for collapsing edges.

Definition at line 64 of file polyMeshFilterSettings.H.

Referenced by polyMeshFilterSettings::collapseEdgesCoeffDict().

◆ collapseFacesCoeffDict_

dictionary collapseFacesCoeffDict_
private

Coefficients for collapsing faces.

Definition at line 67 of file polyMeshFilterSettings.H.

◆ meshQualityCoeffDict_

dictionary meshQualityCoeffDict_
private

Coefficients for controlling the mesh quality.

Definition at line 70 of file polyMeshFilterSettings.H.

◆ minLen_

const scalar minLen_
private

Remove edges shorter than this length.

Definition at line 73 of file polyMeshFilterSettings.H.

◆ maxCos_

const scalar maxCos_
private

Merge points that are only attached to two edges and have an angle.

between the edge greater than this value

Definition at line 77 of file polyMeshFilterSettings.H.

◆ edgeReductionFactor_

const scalar edgeReductionFactor_
private

The amount that the local minimum edge length will be reduced by if.

the edge is part of a collapse string that generates poor quality faces

Definition at line 82 of file polyMeshFilterSettings.H.

◆ maxIterations_

const label maxIterations_
private

Maximum number of outer iterations.

Definition at line 85 of file polyMeshFilterSettings.H.

◆ maxSmoothIters_

const label maxSmoothIters_
private

Maximum number of smoothing iterations of minEdgeLen_ and.

faceFilterFactor_

Definition at line 89 of file polyMeshFilterSettings.H.

◆ initialFaceLengthFactor_

const scalar initialFaceLengthFactor_
private

Initialisation value of faceFilterFactor_.

Definition at line 92 of file polyMeshFilterSettings.H.

◆ faceReductionFactor_

const scalar faceReductionFactor_
private

The amount that the local face size factor will be reduced by if.

the face is part of a collapse string that generates poor quality faces

Definition at line 97 of file polyMeshFilterSettings.H.

◆ maxPointErrorCount_

const label maxPointErrorCount_
private

Maximum number of times a deleted point can be associated with the.

creation of a bad face it is forced to be kept.

Definition at line 101 of file polyMeshFilterSettings.H.


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