Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/particle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ void Particle::from_source(const SourceSite* src)
int index_plus_one = model::surface_map[std::abs(src->surf_id)] + 1;
surface() = (src->surf_id > 0) ? index_plus_one : -index_plus_one;
}

#ifdef OPENMC_DAGMC_ENABLED
history().reset();
#endif
}

void Particle::event_calculate_xs()
Expand Down
Loading