mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
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:
parent
714d0b266e
commit
732a780366
3 changed files with 12 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue