35 const scalar minFaceFraction
38 label nChangedFaces = 0;
44 List<labelPair> changedPatchAndFaces(nChangedFaces);
46 label changedFacei = 0;
52 const bool conformal = !isA<nonConformalFvPatch>(patch);
63 const scalar faceFraction =
66 if (faceFraction < minFaceFraction)
continue;
74 changedPatchAndFaces.resize(changedFacei);
76 return changedPatchAndFaces;
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label size() const
Return the number of elements in the UPtrList.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const GeometricBoundaryField< label, surfaceMesh > & polyFacesBf() const
Return face-poly-face addressing.
const scalarField & magFaceAreas() const
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
List< labelPair > getChangedPatchAndFaces(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction)
Get initial set of changed faces.
Pair< label > labelPair
Label pair.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.