#include <surfaceZonesInfo.H>

Public Types | |
| enum | areaSelectionAlgo { INSIDE , OUTSIDE , INSIDEPOINT , NONE } |
| Types of selection of area. More... | |
| enum | faceZoneNaming { NOZONE , SINGLE , REGION } |
| How to generate faceZone name. More... | |
| enum | faceZoneType { INTERNAL , BAFFLE , BOUNDARY } |
| What to do with faceZone faces. More... | |
Public Member Functions | |
| surfaceZonesInfo (const searchableSurface &surface, const dictionary &surfacesDict, const wordList ®ionNames) | |
| Construct from surfaces and dictionary and fully resolved. | |
| surfaceZonesInfo (const wordList &faceZoneNames, const word &cellZoneNames, const areaSelectionAlgo &zoneInside, const pointField &zoneInsidePoints, const faceZoneType &faceType) | |
| Construct from components. | |
| surfaceZonesInfo (const surfaceZonesInfo &) | |
| Copy constructor. | |
| autoPtr< surfaceZonesInfo > | clone () const |
| Return clone. | |
| const wordList & | faceZoneNames () const |
| Per 'interface' surface : empty or names of faceZones to put. | |
| const word & | cellZoneName () const |
| Per 'interface' surface : empty or name of cellZone to put. | |
| const areaSelectionAlgo & | zoneInside () const |
| const point | zoneInsidePoint () const |
| Get specified inside location for surfaces with a cellZone. | |
| const pointField & | zoneInsidePoints () const |
| Get specified inside locations for surfaces with a cellZone. | |
| const faceZoneType & | faceType () const |
| How to handle face of surfaces with a faceZone. | |
Static Public Member Functions | |
| static labelList | getUnnamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of unnamed surfaces (surfaces without faceZoneName). | |
| static labelList | getNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of named surfaces (surfaces with faceZoneName). | |
| static labelList | getStandaloneNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of named surfaces without a cellZone. | |
| static labelList | getClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are closed and. | |
| static labelList | getUnclosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are unclosed. | |
| static labelList | getAllClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are closed. | |
| static labelList | getInsidePointNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of surfaces with a cellZone that have 'insidePoint'. | |
| static label | addCellZone (const word &name, const labelList &addressing, polyMesh &mesh) |
| static labelList | addCellZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
| static label | addFaceZone (const word &name, const labelList &addressing, const boolList &flipMap, polyMesh &mesh) |
| static labelListList | addFaceZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
Static Public Attributes | |
| static const Enum< areaSelectionAlgo > | areaSelectionAlgoNames |
| static const Enum< faceZoneNaming > | faceZoneNamingNames |
| static const Enum< faceZoneType > | faceZoneTypeNames |
Definition at line 56 of file surfaceZonesInfo.H.
| enum areaSelectionAlgo |
Types of selection of area.
| Enumerator | |
|---|---|
| INSIDE | |
| OUTSIDE | |
| INSIDEPOINT | |
| NONE | |
Definition at line 63 of file surfaceZonesInfo.H.
| enum faceZoneNaming |
How to generate faceZone name.
| Enumerator | |
|---|---|
| NOZONE | |
| SINGLE | |
| REGION | |
Definition at line 76 of file surfaceZonesInfo.H.
| enum faceZoneType |
What to do with faceZone faces.
| Enumerator | |
|---|---|
| INTERNAL | |
| BAFFLE | |
| BOUNDARY | |
Definition at line 88 of file surfaceZonesInfo.H.
| surfaceZonesInfo | ( | const searchableSurface & | surface, |
| const dictionary & | surfacesDict, | ||
| const wordList & | regionNames ) |
Construct from surfaces and dictionary and fully resolved.
region names (for optional automatic faceZone naming)
Definition at line 69 of file surfaceZonesInfo.C.
References INTERNAL, NONE, NOZONE, dictionary::readIfPresent(), regionNames, and SINGLE.
Referenced by surfaceZonesInfo().


| surfaceZonesInfo | ( | const wordList & | faceZoneNames, |
| const word & | cellZoneNames, | ||
| const areaSelectionAlgo & | zoneInside, | ||
| const pointField & | zoneInsidePoints, | ||
| const faceZoneType & | faceType ) |
Construct from components.
Definition at line 229 of file surfaceZonesInfo.C.
References cellZoneName(), faceType(), faceZoneNames(), zoneInside(), and zoneInsidePoints().

| surfaceZonesInfo | ( | const surfaceZonesInfo & | surfZone | ) |
Copy constructor.
Definition at line 246 of file surfaceZonesInfo.C.
References cellZoneName(), faceType(), faceZoneNames(), surfaceZonesInfo(), zoneInside(), and zoneInsidePoints().

|
inline |
Return clone.
Definition at line 177 of file surfaceZonesInfo.H.
References autoPtr< T >::New().

|
inline |
Per 'interface' surface : empty or names of faceZones to put.
faces into (according to region)
Definition at line 192 of file surfaceZonesInfo.H.
Referenced by addFaceZonesToMesh(), getUnnamedSurfaces(), surfaceZonesInfo(), and surfaceZonesInfo().

|
inline |
Per 'interface' surface : empty or name of cellZone to put.
cells into
Definition at line 202 of file surfaceZonesInfo.H.
Referenced by addCellZonesToMesh(), surfaceZonesInfo(), and surfaceZonesInfo().

|
inline |
Definition at line 207 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo(), and surfaceZonesInfo().

|
inline |
Get specified inside location for surfaces with a cellZone.
Definition at line 215 of file surfaceZonesInfo.H.
|
inline |
Get specified inside locations for surfaces with a cellZone.
Definition at line 223 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo(), and surfaceZonesInfo().

|
inline |
How to handle face of surfaces with a faceZone.
Definition at line 231 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo(), and surfaceZonesInfo().

|
static |
Get indices of unnamed surfaces (surfaces without faceZoneName).
Definition at line 256 of file surfaceZonesInfo.C.
References faceZoneNames(), forAll, List< T >::setSize(), and UPtrList< T >::size().
Referenced by snappySnapDriver::calcNearestSurface(), snappySnapDriver::detectNearSurfaces(), snappyRefineDriver::doRefine(), meshRefinement::removeGapCells(), and snappySnapDriver::repatchToSurface().


|
static |
Get indices of named surfaces (surfaces with faceZoneName).
Definition at line 277 of file surfaceZonesInfo.C.
References forAll, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().
Referenced by snappySnapDriver::calcNearestSurface(), snappySnapDriver::detectNearSurfaces(), snappySnapDriver::repatchToSurface(), and meshRefinement::zonify().


|
static |
Get indices of named surfaces without a cellZone.
Definition at line 302 of file surfaceZonesInfo.C.
References forAll, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().

|
static |
Get indices of surfaces with a cellZone that are closed and.
have 'inside' or 'outside' selection.
Definition at line 328 of file surfaceZonesInfo.C.
References forAll, INSIDE, OUTSIDE, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().

|
static |
Get indices of surfaces with a cellZone that are unclosed.
Definition at line 360 of file surfaceZonesInfo.C.
References forAll, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().

|
static |
Get indices of surfaces with a cellZone that are closed.
Definition at line 387 of file surfaceZonesInfo.C.
References forAll, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().

|
static |
Get indices of surfaces with a cellZone that have 'insidePoint'.
section.
Definition at line 415 of file surfaceZonesInfo.C.
References forAll, INSIDEPOINT, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().

Definition at line 441 of file surfaceZonesInfo.C.
References PtrList< T >::emplace_back(), ZoneMesh< ZoneType, MeshType >::findZoneID(), mesh, Foam::name(), and UPtrList< T >::size().
Referenced by refinementParameters::addCellZonesToMesh(), and addCellZonesToMesh().


|
static |
Definition at line 469 of file surfaceZonesInfo.C.
References addCellZone(), Pstream::allGatherList(), cellZoneName(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), UList< T >::size(), and UPtrList< T >::size().
Referenced by meshRefinement::zonify().


|
static |
Definition at line 520 of file surfaceZonesInfo.C.
References PtrList< T >::emplace_back(), ZoneMesh< ZoneType, MeshType >::findZoneID(), mesh, Foam::name(), and UPtrList< T >::size().
Referenced by meshRefinement::addFaceZone(), addFaceZonesToMesh(), meshRefinement::blockLeakFaces(), and meshRefinement::zonify().


|
static |
Definition at line 619 of file surfaceZonesInfo.C.
References addFaceZone(), Pstream::allGatherList(), Foam::exit(), faceZoneNames(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, UPstream::myProcNo(), ZoneMesh< ZoneType, MeshType >::names(), Foam::nl, UPstream::nProcs(), List< T >::setSize(), UList< T >::size(), and UPtrList< T >::size().
Referenced by meshRefinement::zonify().


|
static |
Definition at line 71 of file surfaceZonesInfo.H.
Referenced by refinementSurfaces::findInside().
|
static |
Definition at line 83 of file surfaceZonesInfo.H.
|
static |
Definition at line 95 of file surfaceZonesInfo.H.
Referenced by snappyRefineDriver::addFaceZones(), meshRefinement::createZoneBaffles(), meshRefinement::dupNonManifoldBoundaryPoints(), and refinementParameters::getZoneInfo().