mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Added multigroup support for shared fission bank. Should be relatively easy to support for GPU.
This commit is contained in:
parent
e59a70ebb7
commit
747971dffe
4 changed files with 45 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue