mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Always call LocalCoord::rotate and set LocalCoord::rotated.
This commit is contained in:
parent
114a1062ea
commit
66e7e998af
2 changed files with 5 additions and 3 deletions
|
|
@ -188,9 +188,7 @@ find_cell_inner(Particle& p, const NeighborList* neighbor_list)
|
|||
coord.r -= c.translation_;
|
||||
|
||||
// Apply rotation.
|
||||
if (!c.rotation_.empty()) {
|
||||
coord.rotate(c.rotation_);
|
||||
}
|
||||
coord.rotate(c.rotation_);
|
||||
|
||||
} else if (c.type_ == Fill::LATTICE) {
|
||||
//========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue