diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 5ff4d119e6..3e1370843a 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -3362,6 +3362,15 @@ contains ! ======================================================================= ! READ DATA FOR FILTERS + ! Check if user is using old XML format and throw an error if so + if (check_for_node(node_tal, "filter")) then + call fatal_error("Tally filters must be specified independently of & + &tallies in a element. The element itself should & + &have a list of filters that apply, e.g., 1 2 & + &where 1 and 2 are the IDs of filters specified outside of & + &.") + end if + ! Determine number of filters if (check_for_node(node_tal, "filters")) then n_filter = node_word_count(node_tal, "filters")