Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DT majorant #106

Merged
merged 13 commits into from
Feb 6, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ subroutine test_aceNeutronDatabase()
! Initialise data
ptr => data
call data % init(dataDict, ptr, silent = .true.)
call data % activate([1,2])
call data % activate([1,2], silent = .true.)

!!<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
!! Perform tests
Expand Down Expand Up @@ -223,6 +223,15 @@ subroutine test_aceNeutronDatabase()
p % E = 19.9_defReal
@assertEqual(ONE, data % getMajorantXS(p)/0.21869599644_defReal , TOL)

! Check that results are the same with on-the-fly majorant
data % hasMajorant = .false.

p % E = 1.1E-6_defReal
@assertEqual(ONE, data % getMajorantXS(p) /4.4149556129495560_defReal , TOL)

p % E = 19.9_defReal
@assertEqual(ONE, data % getMajorantXS(p)/0.21869599644_defReal , TOL)

!<><><><><><><><><><><><><><><><><><><><>
! Test getting Macroscopic XSs
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ subroutine test_thermalScatteringData()
! Initialise data
ptr => data
call data % init(dataDict, ptr, silent = .true.)
call data % activate(([1,2]))
call data % activate(([1,2]), silent = .true.)

!!<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
!! Perform tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ subroutine test_urrProbabilityTables()
! Initialise data
ptr => data
call data % init(dataDict, ptr, silent = .true.)
call data % activate([1])
call data % activate([1], silent = .true.)

!!<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
!! Perform tests
Expand Down
Loading
Loading