Class to store the settings for the polyMeshFilter class. More...
Public Member Functions | |
polyMeshFilterSettings (const dictionary &dict) | |
Construct from dictionary. More... | |
~polyMeshFilterSettings () | |
Destructor. More... | |
const dictionary & | collapseEdgesCoeffDict () const |
const dictionary & | collapseFacesCoeffDict () const |
const dictionary & | meshQualityCoeffDict () const |
const Switch & | controlMeshQuality () const |
const scalar & | minLen () const |
const scalar & | maxCos () const |
const scalar & | edgeReductionFactor () const |
const label & | maxIterations () const |
const label & | maxSmoothIters () const |
const scalar & | initialFaceLengthFactor () const |
const scalar & | faceReductionFactor () const |
const label & | maxPointErrorCount () 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 dictionary & | collapseEdgesCoeffDict_ |
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... | |
Class to store the settings for the polyMeshFilter class.
Definition at line 52 of file polyMeshFilterSettings.H.
|
explicit |
Construct from dictionary.
Definition at line 31 of file polyMeshFilterSettings.C.
|
inline |
Destructor.
Definition at line 113 of file polyMeshFilterSettings.H.
|
inline |
Definition at line 29 of file polyMeshFilterSettingsI.H.
References polyMeshFilterSettings::collapseEdgesCoeffDict_.
|
inline |
Definition at line 35 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 41 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 48 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 53 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 58 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 64 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 69 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 74 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 80 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 86 of file polyMeshFilterSettingsI.H.
|
inline |
Definition at line 92 of file polyMeshFilterSettingsI.H.
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().
|
private |
Dictionary containing the coefficient sub-dictionaries.
Definition at line 57 of file polyMeshFilterSettings.H.
|
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.
|
private |
Coefficients for collapsing edges.
Definition at line 64 of file polyMeshFilterSettings.H.
Referenced by polyMeshFilterSettings::collapseEdgesCoeffDict().
|
private |
Coefficients for collapsing faces.
Definition at line 67 of file polyMeshFilterSettings.H.
|
private |
Coefficients for controlling the mesh quality.
Definition at line 70 of file polyMeshFilterSettings.H.
|
private |
Remove edges shorter than this length.
Definition at line 73 of file polyMeshFilterSettings.H.
|
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.
|
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.
|
private |
Maximum number of outer iterations.
Definition at line 85 of file polyMeshFilterSettings.H.
|
private |
Maximum number of smoothing iterations of minEdgeLen_ and.
faceFilterFactor_
Definition at line 89 of file polyMeshFilterSettings.H.
|
private |
Initialisation value of faceFilterFactor_.
Definition at line 92 of file polyMeshFilterSettings.H.
|
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.
|
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.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.