Go to the documentation of this file.
68 const label bpI = iter();
80 vertexType_(
surface.boundaryPoints().size()),
82 deletePartitioner_(true),
85 enforceConstraints_(false),
86 badPointsSubsetName_(
"invertedBoundaryPoints")
93 surfaceEngine_(mPart.surfaceEngine()),
94 vertexType_(surfaceEngine_.boundaryPoints().size()),
95 partitionerPtr_(&mPart),
96 deletePartitioner_(true),
99 enforceConstraints_(false),
100 badPointsSubsetName_(
"invertedBoundaryPoints")
112 vertexType_(
surface.boundaryPoints().size()),
114 deletePartitioner_(
true),
117 enforceConstraints_(
false),
118 badPointsSubsetName_(
"invertedBoundaryPoints")
120 classifySurfaceVertices();
130 vertexType_(surfaceEngine_.boundaryPoints().size()),
131 partitionerPtr_(&partitioner),
132 deletePartitioner_(
false),
135 enforceConstraints_(
false),
136 badPointsSubsetName_(
"invertedBoundaryPoints")
138 classifySurfaceVertices();
156 # pragma omp parallel for schedule(dynamic, 100)
const bool deletePartitioner_
A class for handling words, derived from string.
meshSurfaceOptimizer(const meshSurfaceOptimizer &)
Disallow default bitwise copy construct.
void classifySurfaceVertices()
classify surface vertices as PARTITION, EDGE, CORNER
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.
static bool & parRun()
Is this a parallel run?
word badPointsSubsetName_
name of the subset contaning tangled points
const meshSurfaceEngine & surfaceEngine() const
return const reference to meshSurfaceEngine
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void deleteDemandDrivenData(DataPtr &dataPtr)
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< direction > vertexType_
type of surface vertex
const meshSurfaceEngine & surfaceEngine_
const reference to the mesh surface
void enforceConstraints(const word subsetName="badPoints")
const labelHashSet & edgePoints() const
return labels of edge points (from the list of boundary points)
bool enforceConstraints_
enforce constraints
void removeUserConstraints()
reset to default constraints
const Map< label > & globalToLocalBndPointAddressing() const
global point label to local label. Only for processors points
const labelHashSet & corners() const
return labels of corner points (from the list of boundary points)
const meshSurfacePartitioner * partitionerPtr_
surface partitioner