diff --git a/applications/test/globalIndex/Test-globalIndex.C b/applications/test/globalIndex/Test-globalIndex.C index b33fb21306..1587a1352e 100644 --- a/applications/test/globalIndex/Test-globalIndex.C +++ b/applications/test/globalIndex/Test-globalIndex.C @@ -36,6 +36,7 @@ Description #include "Time.H" #include "polyMesh.H" #include "IOstreams.H" +#include "Random.H" using namespace Foam; @@ -163,6 +164,54 @@ int main(int argc, char *argv[]) } } + + + // Get a few cell indices + const label nTotalCells = globalNumbering.size(); + + Random rndGen(Pstream::myProcNo()); + DynamicList