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