From c1cf7bbfe6af7b0a14f0e9e7e36923e9e869e2a0 Mon Sep 17 00:00:00 2001
From: Stephan Schulz <stephan.schulz-x2q@rub.de>
Date: Tue, 9 Feb 2021 14:04:43 +0100
Subject: [PATCH] ALL_Staggered_f: abort on VTK error

---
 example/ALL_Staggered_f.F90 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/example/ALL_Staggered_f.F90 b/example/ALL_Staggered_f.F90
index d316a11..b2c93cc 100644
--- a/example/ALL_Staggered_f.F90
+++ b/example/ALL_Staggered_f.F90
@@ -217,6 +217,7 @@ contains
                 write(stdout, '(a)') error_msg
                 ! Maybe also abort if the output is necesssary or handle this
                 ! some other way.
+                stop
             endif
 #endif
             call jall%balance()
@@ -235,6 +236,7 @@ contains
             write(stdout, '(a)') error_msg
             ! Maybe also abort if the output is necesssary or handle this
             ! some other way.
+            stop
         endif
 #endif
 
-- 
GitLab