fixed indexing error, though things are still going haywire with MPI. Going to test if this is due to sort or unique_ptr.

This commit is contained in:
John Tramm 2020-01-17 15:03:34 +00:00
parent 714d0b266e
commit 732a780366
3 changed files with 12 additions and 9 deletions

View file

@ -397,11 +397,9 @@ void finalize_generation()
// If using shared memory, stable sort the fission bank (by parent IDs)
// so as to allow for reproducibility regardless of which order particles
// are run in.
#ifdef _OPENMP
//std::stable_sort(simulation::fission_bank,
// simulation::fission_bank + simulation::fission_bank_length);
//#ifdef _OPENMP
sort_fission_bank();
#endif
//#endif
// Distribute fission bank across processors evenly
synchronize_bank();