Skip to content

Commit

Permalink
fix mesh rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeprieto committed Oct 16, 2024
1 parent 5c3b2cb commit 32e129b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tallies/filter_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ void MeshFilter::get_all_bins(
}
// apply rotation if present
if (!rotation_.empty()) {
last_r.rotate(rotation_);
r.rotate(rotation_);
last_r = last_r.rotate(rotation_);
r = r.rotate(rotation_);
u = u.rotate(rotation_);
}

if (estimator != TallyEstimator::TRACKLENGTH) {
Expand Down

0 comments on commit 32e129b

Please sign in to comment.