From 49d0e828423b7561251fd8c0a3d4ff192a07f2bf Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 2 Jun 2022 09:21:37 +0100 Subject: [PATCH] ENH: patchSeed: fix debug message --- src/sampling/sampledSet/patchSeed/patchSeedSet.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sampling/sampledSet/patchSeed/patchSeedSet.C b/src/sampling/sampledSet/patchSeed/patchSeedSet.C index 0c33688a4f..390300e4cd 100644 --- a/src/sampling/sampledSet/patchSeed/patchSeedSet.C +++ b/src/sampling/sampledSet/patchSeed/patchSeedSet.C @@ -234,13 +234,14 @@ void Foam::patchSeedSet::calcSamples subset.setSize(myMaxPoints); // Subset patchFaces - patchFaces = labelUIndList(patchFaces, subset)(); if (debug) { - Pout<< "In random mode : selected " << patchFaces.size() + Pout<< "In random mode : selected " << subset.size() << " faces out of " << patchFaces.size() << endl; } + + patchFaces = labelUIndList(patchFaces, subset)(); }