33 template<
class FaceList>
47 const face&
f = faces[i];
51 label meshPointi =
f[fp];
53 const auto iter =
pp.meshPointMap().cfind(meshPointi);
57 const label pointi = iter.val();
58 pointOnZone[pointi] =
true;
A face is a list of labels corresponding to mesh vertices.
labelList findIndices(const ListType &input, typename ListType::const_reference val, label start=0)
Linear search to find all occurrences of given element.
#define forAll(list, i)
Loop across all elements in list.
A list of faces which address into the list of points.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())