mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Check for invalid tally filter.
This commit is contained in:
parent
faede29736
commit
ca4fd0dc81
1 changed files with 7 additions and 0 deletions
|
|
@ -1705,6 +1705,13 @@ contains
|
|||
tally_(i) % filter(j) % bins(k))
|
||||
end do
|
||||
|
||||
case default
|
||||
! Specified tally filter is invalid, raise error
|
||||
message = "Unknown filter type '" // trim(tally_(i) % &
|
||||
filter(j) % type) // "' on tally " // &
|
||||
trim(to_str(t % id)) // "."
|
||||
call fatal_error()
|
||||
|
||||
end select
|
||||
|
||||
! Set find_filter, e.g. if filter(3) has type FILTER_CELL, then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue