mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Checking surface crossing with surf_src_
This commit is contained in:
parent
b648142abb
commit
a0e02fa2dc
1 changed files with 4 additions and 0 deletions
|
|
@ -416,6 +416,10 @@ Particle::cross_surface()
|
|||
// Handle any applicable boundary conditions.
|
||||
if (surf->bc_ && settings::run_mode != RunMode::PLOTTING) {
|
||||
surf->bc_->handle_particle(*this, *surf);
|
||||
|
||||
if (surf->surf_src_) {
|
||||
write_message(" Source banking on surface " + std::to_string(surf->id_));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue