Skip to content

Commit

Permalink
Fix to keff for MG scattering
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasingNeutrons authored and valeriaRaffuzzi committed Jan 22, 2025
1 parent 21daeb9 commit 23814ae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Tallies/TallyClerks/keffImplicitClerk_class.f90
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module keffImplicitClerk_class
private


!! Locations of diffrent bins wrt memory Address of the clerk
!! Locations of different bins wrt memory Address of the clerk
integer(shortInt), parameter :: MEM_SIZE = 5
integer(longInt), parameter :: IMP_PROD = 0 ,& ! Implicit neutron production (from fission)
SCATTER_PROD = 1 ,& ! Analog Stattering production (N,XN)
Expand All @@ -38,7 +38,7 @@ module keffImplicitClerk_class
!! and on analog estimators of (N,XN) reactions and leakage
!!
!! Private Members:
!! targetSTD -> Target Standard Deviation for convergance check
!! targetSTD -> Target Standard Deviation for convergence check
!!
!! Interface:
!! tallyClerk interface
Expand Down Expand Up @@ -96,10 +96,10 @@ subroutine init(self, dict, name)
! Set name
call self % setName(name)

! Configure convergance trigger
! Configure convergence trigger
call dict % getOrDefault(chr,'trigger','no')

! Read convergance target
! Read convergence target
if( charCmp(chr,'yes')) then
call dict % get(self % targetSTD,'SDtarget')

Expand All @@ -126,7 +126,7 @@ elemental subroutine kill(self)
end subroutine kill

!!
!! Returns array of codes that represent diffrent reports
!! Returns array of codes that represent different reports
!!
!! See tallyClerk_inter for details
!!
Expand Down Expand Up @@ -225,7 +225,7 @@ subroutine reportOutColl(self, p, MT, muL, xsData, mem)
score = 2.0_defReal * p % preCollision % wgt
case(N_4N)
score = 3.0_defReal * p % preCollision % wgt
case(macroAllScatter) ! Catch weight change for MG scattering
case(macroAllScatter, macroIEScatter) ! Catch weight change for MG scattering
score = max(p % w - p % preCollision % wgt, ZERO)
case default
score = ZERO
Expand Down Expand Up @@ -289,7 +289,7 @@ subroutine reportCycleEnd(self, end, mem)
end subroutine reportCycleEnd

!!
!! Perform convergance check in the Clerk
!! Perform convergence check in the Clerk
!!
!! See tallyClerk_inter for details
!!
Expand All @@ -306,7 +306,7 @@ function isConverged(self, mem) result(isIt)
end function isConverged

!!
!! Display convergance progress on the console
!! Display convergence progress on the console
!!
!! See tallyClerk_inter for details
!!
Expand Down

0 comments on commit 23814ae

Please sign in to comment.