neutron balance routine now outputs a relative residual

This commit is contained in:
Bryan Herman 2012-01-30 19:10:04 -05:00
parent cb03153e95
commit c201a71372

View file

@ -86,6 +86,9 @@ contains
! compute residual
res = leakage + interactions - scattering - (ONE/keff)*fission
! normalize by flux
res = res/cmfd%flux(g,i,j,k)
! write output
label = "MESH (" // trim(int4_to_str(i)) // ". " // &
& trim(int4_to_str(j)) // ", " // trim(int4_to_str(k)) // &