Go to the documentation of this file.
34 # ifdef DEBUGTriangulation
52 "void meshSurfaceOptimizer::calculateTrianglesAndAddressing() const"
57 # ifdef DEBUGTriangulation
64 const label spI = sPoints[bpI];
71 pts.setSize(simplex.
pts().size());
73 pts[i] = simplex.
pts()[i];
A class for handling file names.
partTriMesh * triMeshPtr_
mesh of surface triangles needed for some smoothers
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
const labelList & meshSurfacePointLabelInTriMesh() const
word scalarToText(const scalar s)
convert the scalar value into text
geometricSurfacePatchList & patchesAccess()
access to patches
void setSize(const label)
Reset size of List.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
pointField & pointsAccess()
non-const access to points
DynList< point, 32 > & pts()
return points
LongList< labelledTri > & facetsAccess()
access to facets
errorManip< error > abort(error &err)
void calculateTrianglesAndAddressing() const
calculate surface triangulation
void setSize(const label)
Reset size of List.
A triangular face using a FixedList of labels corresponding to mesh vertices.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Triangle with additional region number.
void writeSurface(const fileName &) const
const DynList< triFace, 32 > & triangles() const
return triangles
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
const meshSurfacePartitioner * partitionerPtr_
surface partitioner