Skip to content

Commit

Permalink
Merge pull request CambridgeNuclear#97 from CambridgeNuclear/ChasingN…
Browse files Browse the repository at this point in the history
…eutrons-patch-1

Typo fixing in transport operator
  • Loading branch information
valeriaRaffuzzi authored Oct 3, 2023
2 parents 8f7402d + 0df7422 commit 435acf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TransportOperator/transportOperatorDT_class.f90
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ subroutine deltaTracking(self, p, tally, thisCycle, nextCycle)
class(particleDungeon), intent(inout) :: thisCycle
class(particleDungeon), intent(inout) :: nextCycle
real(defReal) :: majorant_inv, sigmaT, distance
character(100), parameter :: Here = 'deltaTracking (transportOIperatorDT_class.f90)'
character(100), parameter :: Here = 'deltaTracking (transportOperatorDT_class.f90)'

! Get majornat XS inverse: 1/Sigma_majorant
! Get majorant XS inverse: 1/Sigma_majorant
majorant_inv = ONE / self % xsData % getMajorantXS(p)

! Should never happen! Prevents Inf distances
Expand All @@ -58,7 +58,7 @@ subroutine deltaTracking(self, p, tally, thisCycle, nextCycle)
! Move partice in the geometry
call self % geom % teleport(p % coords, distance)

! If particle has leaked exit
! If particle has leaked, exit
if (p % matIdx() == OUTSIDE_FILL) then
p % fate = LEAK_FATE
p % isDead = .true.
Expand Down

0 comments on commit 435acf6

Please sign in to comment.