mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add mpiBufferSize optimisationSwitch (issue #517)
- allows configuration without an environment variable. For compatibility still respect MPI_BUFFER_SIZE env-variable.
This commit is contained in:
@ -51,7 +51,7 @@ void testMapDistribute()
|
||||
List<Tuple2<label, List<scalar>>> complexData(100);
|
||||
forAll(complexData, i)
|
||||
{
|
||||
complexData[i].first() = rndGen.integer(0, Pstream::nProcs()-1);
|
||||
complexData[i].first() = rndGen.position(0, Pstream::nProcs()-1);
|
||||
complexData[i].second().setSize(3);
|
||||
complexData[i].second()[0] = 1;
|
||||
complexData[i].second()[1] = 2;
|
||||
|
||||
Reference in New Issue
Block a user