mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Re-adding commented normalization.
This commit is contained in:
parent
704c4590a0
commit
7eeb9ffa89
1 changed files with 1 additions and 1 deletions
|
|
@ -1694,10 +1694,10 @@ MOABMesh::bins_crossed(Position last_r,
|
|||
std::vector<int>& bins,
|
||||
std::vector<double>& lengths) const
|
||||
{
|
||||
// u /= u.norm();
|
||||
moab::CartVect r0(last_r.x, last_r.y, last_r.z);
|
||||
moab::CartVect r1(r.x, r.y, r.z);
|
||||
moab::CartVect dir(u.x, u.y, u.z);
|
||||
dir.normalize();
|
||||
|
||||
double track_len = (r1 - r0).length();
|
||||
if (track_len == 0.0) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue