From 7880d4f2461a945a99ffd4fb5a88a92191a06f5c Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Thu, 3 Nov 2016 16:12:20 -0400 Subject: [PATCH] Allow a plotting calculation without BCs --- src/input_xml.F90 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 2cefd76f67..e254831f50 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -1636,8 +1636,10 @@ contains ! Check to make sure a boundary condition was applied to at least one ! surface - if (.not. boundary_exists) then - call fatal_error("No boundary conditions were applied to any surfaces!") + if (run_mode /= MODE_PLOTTING) then + if (.not. boundary_exists) then + call fatal_error("No boundary conditions were applied to any surfaces!") + end if end if ! Determine opposite side for periodic boundaries