34 #ifndef surfaceZonesInfo_H 35 #define surfaceZonesInfo_H 48 class searchableSurface;
49 class searchableSurfaces;
99 point zoneInsidePoint_;
126 const word& faceZoneNames,
127 const word& cellZoneNames,
129 const point& zoneInsidePoints,
151 return faceZoneName_;
158 return cellZoneName_;
169 return zoneInsidePoint_;
static labelList getInsidePointNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of surfaces with a cellZone that have 'insidePoint'.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines. WIP.
faceZoneType
What to do with faceZone faces.
surfaceZonesInfo(const searchableSurface &surface, const dictionary &surfacesDict)
Construct from surfaces and dictionary.
areaSelectionAlgo
Types of selection of area.
static const NamedEnum< areaSelectionAlgo, 4 > areaSelectionAlgoNames
static labelList getUnnamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of unnamed surfaces (surfaces without faceZoneName)
A class for handling words, derived from string.
const word & cellZoneName() const
Per 'interface' surface : empty or name of cellZone to put.
static labelList getNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of named surfaces (surfaces with faceZoneName)
static const NamedEnum< faceZoneType, 3 > faceZoneTypeNames
A list of keyword definitions, which are a keyword followed by any number of values (e...
static labelList getClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are closed and.
const word & faceZoneName() const
Per 'interface' surface : empty or name of faceZone to put.
static labelList addFaceZonesToMesh(const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh)
static labelList addCellZonesToMesh(const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh)
autoPtr< surfaceZonesInfo > clone() const
Return clone.
const point & zoneInsidePoint() const
Get specified inside locations for surfaces with a cellZone.
static labelList getUnclosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are unclosed.
Mesh consisting of general polyhedral cells.
const areaSelectionAlgo & zoneInside() const
Container for searchableSurfaces.
const faceZoneType & faceType() const
How to handle face of surfaces with a faceZone.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static labelList getAllClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are closed.