Added check for unsupported external source type.

This commit is contained in:
Paul Romano 2011-12-20 12:50:08 -05:00
parent 2898702569
commit aed80ac08d

View file

@ -72,6 +72,10 @@ contains
if (external_source%type == SRC_BOX) then
p_min = external_source%values(1:3)
p_max = external_source%values(4:6)
else
message = "Unsupported external source type: " // &
int_to_str(external_source%type)
call fatal_error()
end if
! Initialize first cycle source bank