diff --git a/src/sampling/sampledSet/patchSeed/patchSeedSet.C b/src/sampling/sampledSet/patchSeed/patchSeedSet.C index 825345a370..8b7ef5a8ff 100644 --- a/src/sampling/sampledSet/patchSeed/patchSeedSet.C +++ b/src/sampling/sampledSet/patchSeed/patchSeedSet.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2012-2016 OpenFOAM Foundation - Copyright (C) 2018-2022 OpenCFD Ltd. + Copyright (C) 2018-2023 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -28,13 +28,12 @@ License #include "patchSeedSet.H" #include "polyMesh.H" -#include "addToRunTimeSelectionTable.H" #include "treeBoundBox.H" #include "treeDataFace.H" -#include "Time.H" -#include "meshTools.H" #include "mappedPatchBase.H" #include "indirectPrimitivePatch.H" +#include "triangulatedPatch.H" +#include "addToRunTimeSelectionTable.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -47,8 +46,10 @@ namespace Foam // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // -void Foam::patchSeedSet::calcSamples +void Foam::patchSeedSet::calcPatchSamples ( + const label nAvailable, + const label nPatchPoints, DynamicList& samplingPts, DynamicList