mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Added check for unsupported external source type.
This commit is contained in:
parent
2898702569
commit
aed80ac08d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue