33 {
"wall",
"external",
"cellZone",
"rotatingZone",
"baffle"};
40 const searchableSurfaces::triSurface& surf
44 return surf.markZones(
boolList(surf.nEdges(),
false), faceZone);
55 type_(surfaceType::wall),
67 name_(word(file_.lessExt())),
68 type_(surfaceType::wall),
76 searchableSurfaces::triSurface surf
84 triSurface(path_/file_)
90 closed_ = surf.hasVolumeType();
91 nParts_ = nSurfaceParts(surf);
95 regions_.append(surf.patches()[i].name());
101 if (!strncmp(regions_[r].c_str(),
"inlet", 5))
103 inletRegions_.append(regions_[r]);
110 if (!strncmp(regions_[r].c_str(),
"outlet", 6))
112 outletRegions_.append(regions_[r]);
127 const word ext(
file.ext());
129 if (ext ==
"stl" || ext ==
"stlb" || ext ==
"obj" || ext ==
"vtk")
#define forAll(list, i)
Loop across all elements in list.
Initialise the NamedEnum HashTable from the static list of names.
A bounding box defined in terms of the points at its extremities.
A class for handling file names.
meshingSurface()
Construct null.
static const NamedEnum< surfaceType, 5 > surfaceTypeNames
Enumeration names for surfaceTypes.
static bool isSurfaceExt(const fileName &file)
~meshingSurface()
Destructor.
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< bool > boolList
Bool container classes.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.