albedos added to cmfd.xml file, code now reads and processes them

This commit is contained in:
Bryan Herman 2011-11-12 19:13:22 -05:00
parent 69f7ac9588
commit 9a85eaa6b3
3 changed files with 4 additions and 4 deletions

View file

@ -33,10 +33,6 @@ contains
write(101,*) cmfd % currentY
write(101,*) cmfd % currentZ
! force albedos
cmfd % albedo = 1.0
cmfd % albedo(1:2) = 0.0
! compute dtilde terms
call compute_diffcoef()

View file

@ -282,6 +282,9 @@ contains
cmfd % indices(1:3) = m % dimension(1:3) ! sets spatial dimensions
cmfd % indices(4) = ng ! sets energy group dimension
! set global albedo
cmfd % albedo = mesh_ % albedo
end subroutine create_cmfd_tally
end module cmfd_utils

View file

@ -7,6 +7,7 @@
<component name="dimension" type="integer-array" />
<component name="origin" type="double-array" />
<component name="width" type="double-array" />
<component name="albedo" type="double-array" />
</typedef>
<variable name="mesh_" tag="mesh" type="mesh_xml" />