
Public Types | |
| enum | areaSelectionAlgo { INSIDE , OUTSIDE , INSIDEPOINT , NONE } |
| Types of selection of area. More... | |
| enum | faceZoneType { INTERNAL , BAFFLE , BOUNDARY } |
| What to do with faceZone faces. More... | |
Public Member Functions | |
| surfaceZonesInfo (const searchableSurface &surface, const dictionary &surfacesDict) | |
| Construct from surfaces and dictionary. More... | |
| surfaceZonesInfo (const word &faceZoneNames, const word &cellZoneNames, const areaSelectionAlgo &zoneInside, const point &zoneInsidePoints, const faceZoneType &faceType) | |
| Construct from components. More... | |
| surfaceZonesInfo (const surfaceZonesInfo &) | |
| Copy constructor. More... | |
| autoPtr< surfaceZonesInfo > | clone () const |
| Return clone. More... | |
| const word & | faceZoneName () const |
| Per 'interface' surface : empty or name of faceZone to put. More... | |
| const word & | cellZoneName () const |
| Per 'interface' surface : empty or name of cellZone to put. More... | |
| const areaSelectionAlgo & | zoneInside () const |
| const point & | zoneInsidePoint () const |
| Get specified inside locations for surfaces with a cellZone. More... | |
| const faceZoneType & | faceType () const |
| How to handle face of surfaces with a faceZone. More... | |
| void | operator= (const surfaceZonesInfo &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
| static labelList | getUnnamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of unnamed surfaces (surfaces without faceZoneName) More... | |
| static labelList | getNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of named surfaces (surfaces with faceZoneName) More... | |
| static labelList | getClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are closed and. More... | |
| static labelList | getUnclosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are unclosed. More... | |
| static labelList | getAllClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &allGeometry, const labelList &surfaces) |
| Get indices of surfaces with a cellZone that are closed. More... | |
| static labelList | getInsidePointNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
| Get indices of surfaces with a cellZone that have 'insidePoint'. More... | |
| static labelList | addCellZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
| static labelList | addFaceZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
Static Public Attributes | |
| static const NamedEnum< areaSelectionAlgo, 4 > | areaSelectionAlgoNames |
| static const NamedEnum< faceZoneType, 3 > | faceZoneTypeNames |
Definition at line 56 of file surfaceZonesInfo.H.
| enum areaSelectionAlgo |
Types of selection of area.
| Enumerator | |
|---|---|
| INSIDE | |
| OUTSIDE | |
| INSIDEPOINT | |
| NONE | |
Definition at line 61 of file surfaceZonesInfo.H.
| enum faceZoneType |
What to do with faceZone faces.
| Enumerator | |
|---|---|
| INTERNAL | |
| BAFFLE | |
| BOUNDARY | |
Definition at line 72 of file surfaceZonesInfo.H.
| surfaceZonesInfo | ( | const searchableSurface & | surface, |
| const dictionary & | surfacesDict | ||
| ) |
Construct from surfaces and dictionary.
Definition at line 54 of file surfaceZonesInfo.C.
References surfaceZonesInfo::areaSelectionAlgoNames, Foam::dimLength, Foam::endl(), surfaceZonesInfo::faceZoneTypeNames, searchableSurface::hasVolumeType(), surfaceZonesInfo::INSIDE, surfaceZonesInfo::INSIDEPOINT, IOWarningInFunction, dictionary::lookup(), surfaceZonesInfo::OUTSIDE, and dictionary::readIfPresent().
Referenced by surfaceZonesInfo::clone().


| surfaceZonesInfo | ( | const word & | faceZoneNames, |
| const word & | cellZoneNames, | ||
| const areaSelectionAlgo & | zoneInside, | ||
| const point & | zoneInsidePoints, | ||
| const faceZoneType & | faceType | ||
| ) |
Construct from components.
Definition at line 130 of file surfaceZonesInfo.C.
| surfaceZonesInfo | ( | const surfaceZonesInfo & | surfZone | ) |
Copy constructor.
Definition at line 147 of file surfaceZonesInfo.C.
|
inline |
Return clone.
Definition at line 130 of file surfaceZonesInfo.H.
References surfaceZonesInfo::surfaceZonesInfo().

|
inline |
Per 'interface' surface : empty or name of faceZone to put.
faces into
Definition at line 142 of file surfaceZonesInfo.H.
|
inline |
Per 'interface' surface : empty or name of cellZone to put.
cells into
Definition at line 149 of file surfaceZonesInfo.H.
|
inline |
Definition at line 154 of file surfaceZonesInfo.H.
|
inline |
Get specified inside locations for surfaces with a cellZone.
Definition at line 160 of file surfaceZonesInfo.H.
|
inline |
How to handle face of surfaces with a faceZone.
Definition at line 166 of file surfaceZonesInfo.H.
|
static |
Get indices of unnamed surfaces (surfaces without faceZoneName)
Definition at line 157 of file surfaceZonesInfo.C.
References forAll, List< T >::setSize(), and UPtrList< T >::size().
Referenced by snappySnapDriver::calcNearestSurface(), snappySnapDriver::detectNearSurfaces(), and snappySnapDriver::repatchToSurface().


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


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


|
static |
Get indices of surfaces with a cellZone that are unclosed.
Definition at line 235 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 262 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 290 of file surfaceZonesInfo.C.
References forAll, surfaceZonesInfo::INSIDEPOINT, PtrList< T >::set(), List< T >::setSize(), and UPtrList< T >::size().
Referenced by meshRefinement::zonify().


|
static |
Definition at line 316 of file surfaceZonesInfo.C.
References polyMesh::cellZones(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, PtrListDictionary< T >::findIndex(), forAll, Pstream::gatherList(), mesh, UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), word::null, Pstream::scatterList(), PtrListDictionary< T >::set(), PtrList< T >::setSize(), UPtrList< T >::size(), List< T >::size(), and DictionaryBase< IDLListType, T >::toc().
Referenced by meshRefinement::zonify().


|
static |
Definition at line 380 of file surfaceZonesInfo.C.
References Foam::exit(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, PtrListDictionary< T >::findIndex(), forAll, Pstream::gatherList(), mesh, UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), Pstream::scatterList(), PtrListDictionary< T >::set(), PtrList< T >::setSize(), UPtrList< T >::size(), List< T >::size(), and DictionaryBase< IDLListType, T >::toc().
Referenced by meshRefinement::zonify().


|
delete |
Disallow default bitwise assignment.
|
static |
Definition at line 69 of file surfaceZonesInfo.H.
Referenced by refinementSurfaces::findInside(), and surfaceZonesInfo::surfaceZonesInfo().
|
static |
Definition at line 79 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo::surfaceZonesInfo().