Added multigroup support for shared fission bank. Should be relatively easy to support for GPU.

This commit is contained in:
John Tramm 2020-01-07 18:25:50 +00:00
parent e59a70ebb7
commit 747971dffe
4 changed files with 45 additions and 19 deletions

View file

@ -579,9 +579,9 @@ int openmc_next_batch(int* status)
// Start timer for transport
simulation::time_transport.start();
/*
// ====================================================================
// LOOP OVER PARTICLES
/*
#pragma omp parallel for schedule(runtime)
for (int64_t i_work = 1; i_work <= simulation::work_per_rank; ++i_work) {
// grab source particle from bank
@ -913,11 +913,9 @@ void initialize_history(Particle* p, int64_t index_source)
// set particle trace
p->trace_ = false;
/*
if (simulation::current_batch == settings::trace_batch &&
simulation::current_gen == settings::trace_gen &&
p->id_ == settings::trace_particle) p->trace_ = true;
*/
// Set particle track.
p->write_track_ = false;