36 bool Foam::triSurface::readVTK(
const fileName& fName)
39 fileFormats::VTKsurfaceFormat<triFace> surf(fName);
45 tris[i] = labelledTri(
f[0],
f[1],
f[2], 0);
58 const surfZone& zone = surfZones[zoneI];
68 patches[zoneI] = geometricSurfacePatch
72 ? zone.geometricType()
80 for (
label i = zone.start(); i < zone.start()+zone.size(); i++)
82 tris[i].region() = zoneI;
89 patches[0] = geometricSurfacePatch(
"empty",
"patch0", 0);
#define forAll(list, i)
Loop across all elements in list.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
Motion of the mesh specified as a list of pointMeshMovers.
static const word null
An empty word.
const fvPatchList & patches
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & regionName(const solver ®ion)
List< geometricSurfacePatch > geometricSurfacePatchList
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.