Skip to content

Commit

Permalink
Update grid.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Mar 7, 2025
1 parent 660e217 commit dac0b43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2513,6 +2513,12 @@ auto get_totmassradionuclide(const int z, const int a) -> double {

std::tie(d_coordminboundary, d_coordmaxboundary) = get_coordboundary_distances_cylindrical2d(
pos, dir, pktposgridcoord, pktvelgridcoord, cellindex, tstart, cellcoordmax);
if (last_cross == COORD1_MAX) {
d_coordminboundary[1] = -1;
}
if (last_cross == COORD1_MIN) {
d_coordmaxboundary[1] = -1;
}

} else if constexpr (GRID_TYPE == GridType::CARTESIAN3D) {
// There are six possible boundary crossings. Each of the three
Expand Down

0 comments on commit dac0b43

Please sign in to comment.