This fix divides phase space sources used in parallel runs into npar*nchunk equal segments, where npar is the no. of parallel runs and nchunk is the no. of chunks (defaults to 10). Each chunk of the parallel run is then assigned its own segment of the phase space source outside of which it will not sample. This scheme, identical to that used in the Mortran codes, should ensure relatively even sampling of the phase space source over the entire parallel run. Note that any remaining histories after completion of npar*nchunk chunks are assigned to the last segment.
This fix divides phase space sources used in parallel runs into npar*nchunk equal segments, where npar is the no. of parallel runs and nchunk is the no. of chunks (defaults to 10). Each chunk of the parallel run is then assigned its own segment of the phase space source outside of which it will not sample. This scheme, identical to that used in the Mortran codes, should ensure relatively even sampling of the phase space source over the entire parallel run. Note that any remaining histories after completion of npar*nchunk chunks are assigned to the last segment.
Fixes issue #1117 and #1156