mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Review suggestions
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
f60f95feb4
commit
c5affa805e
1 changed files with 1 additions and 3 deletions
|
|
@ -977,9 +977,7 @@ StructuredMesh::MeshIndex CylindricalMesh::get_indices(
|
|||
mapped_r[0] = std::hypot(r.x, r.y);
|
||||
mapped_r[2] = r[2];
|
||||
|
||||
mapped_r[0] += origin_[0];
|
||||
mapped_r[1] += origin_[1];
|
||||
mapped_r[2] += origin_[2];
|
||||
mapped_r -= origin_;
|
||||
|
||||
if (mapped_r[0] < FP_PRECISION) {
|
||||
mapped_r[1] = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue