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