Skip to content

rndGen.position<label>(0, XXX) is not evenly distributed

When using the

rndGen.position<label>(0, nDomains - 1);

to determine random decomposition it seems the entries 0 and nDomains-1 have only half the number of entries.

Replicate: run randomDecomp on a scaled up cavity (e.g. 1000x1000).