From 62ec431e3be5e77b1ba9343935110190d7bc6358 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 2 Sep 2014 23:51:29 -0400 Subject: [PATCH] Don't read tallies.xml when OpenMC is run in plotting mode. Closes #310 on github. --- src/input_xml.F90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 1869b9709d..f36e4ca3a7 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -33,10 +33,10 @@ contains subroutine read_input_xml() call read_settings_xml() - if ((run_mode /= MODE_PLOTTING)) call read_cross_sections_xml() + if (run_mode /= MODE_PLOTTING) call read_cross_sections_xml() call read_geometry_xml() call read_materials_xml() - call read_tallies_xml() + if (run_mode /= MODE_PLOTTING) call read_tallies_xml() if (cmfd_run) call configure_cmfd() end subroutine read_input_xml