Fixed error in reading <source> tag without coefficients.

This commit is contained in:
Paul Romano 2012-03-22 18:16:39 -04:00
parent f1d9cef124
commit b940ec69f0

View file

@ -69,6 +69,7 @@ contains
energy_grid_ = "union"
seed_ = 0_8
write_source = ""
source_ % type = ""
! Parse settings.xml file
call read_xml_file_settings_t(filename)
@ -133,7 +134,7 @@ contains
! Verbosity
if (verbosity_ > 0) verbosity = verbosity_
if (associated(source_ % coeffs)) then
if (len(source_ % type) > 0) then
! Determine external source type
type = source_ % type
call lower_case(type)