33template<
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;
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
A face is a list of labels corresponding to mesh vertices.
List< label > labelList
A List of labels.
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
List< bool > boolList
A List of bools.
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.