mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Converted DagMC threadprivate variables to particle owned as well. Not quite as bad as I was expecting.
This commit is contained in:
parent
f6020279c9
commit
f7fb5a036b
9 changed files with 31 additions and 34 deletions
|
|
@ -378,7 +378,7 @@ BoundaryInfo distance_to_boundary(Particle* p)
|
|||
Cell& c {*model::cells[coord.cell]};
|
||||
|
||||
// Find the oncoming surface in this cell and the distance to it.
|
||||
auto surface_distance = c.distance(r, u, p->surface_);
|
||||
auto surface_distance = c.distance(r, u, p->surface_, p);
|
||||
d_surf = surface_distance.first;
|
||||
level_surf_cross = surface_distance.second;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue