Go to the documentation of this file.
51 Info <<
"Starting tie break" <<
endl;
67 if( fvertices.
size() != 1 )
72 Info <<
"Face vertices " << fvertices <<
endl;
75 "void meshUntangler::cutRegion::tieBreak(const face& f)"
76 ) <<
"Number of created faces is not 1 but "
90 vertexRegion[vI] = region;
100 vertexRegion[fcI] = region;
101 fcI =
fv.fcIndex(fcI);
107 vertexRegion[rcI] = region;
108 rcI =
fv.rcIndex(rcI);
118 Info <<
"Number of regions " << region-1 <<
endl;
119 Info <<
"Vertex regions " << vertexRegion <<
endl;
127 Info <<
"Distance for vertex " <<
fv[vI] <<
" is "
134 scalar minDist(VGREAT);
140 minRegion = vertexRegion[vI];
144 if( vertexRegion[vI] && (vertexRegion[vI] != minRegion) )
154 !vertexRegion[
fv.rcIndex(vI)] &&
155 !vertexRegion[
fv.fcIndex(vI)]
162 Info <<
"Node " << vI <<
" was INPLANE" <<
endl;
170 Info <<
"Vertex type for vertex " <<
fv[vI] <<
" is "
DynList< direction, 64 > vertexTypes_
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
const DynList< DynList< label > > & sortedChains() const
a list of points which have not yet been resolved
DynList< edge, 128 > * edgesPtr_
const DynList< point, 64 > & points() const
return the vertices of the feasible region
Ostream & endl(Ostream &os)
Add newline and flush stream.
void tieBreak(const DynList< label, 8 > &f)
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.
DynList< DynList< label, 8 >, 64 > * cFacesPtr_
errorManip< error > abort(error &err)
DynList< edge, 128 > * cEdgesPtr_
DynList< point, 64 > * cPtsPtr_
helper data
void setSize(const label)
Reset size of List.
DynList< point, 64 > * pointsPtr_
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
DynList< label, 64 > newVertexLabel_
DynList< scalar, 64 > vertexDistance_
void append(const T &e)
Append an element at the end of the list.