Go to the documentation of this file.
38 template<
class>
class FaceList,
44 const scalar mergeDist,
55 gatheredPoints[Pstream::myProcNo()] =
p.points();
57 Pstream::gatherList(gatheredPoints);
59 if (Pstream::master())
67 mergedPoints = ListListOps::combine<Field<PointType> >
79 gatheredFaces[Pstream::myProcNo()] =
p;
80 Pstream::gatherList(gatheredFaces);
82 if (Pstream::master())
86 ListListOps::combineOffset<List<Face> >
97 if (Pstream::master())
117 mergedPoints.transfer(newPoints);
#define forAll(list, i)
Loop across all elements in list.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void inplaceRenumber(const labelUList &oldToNew, ListType &)
Inplace renumber the values of a list.
Pre-declare SubField and related Field type.
labelList subSizes(const List< T > &, AccessOp aop=accessOp< T >())
Gets sizes of sublists.
label mergePoints(const UList< Type > &points, const scalar mergeTol, const bool verbose, labelList &pointMap, const Type &origin=Type::zero)
Sorts and merges points. All points closer than/equal mergeTol get merged.
A list of faces which address into the list of points.