From 0624ad90fc114d20c9be02fe4dc0847efac56f87 Mon Sep 17 00:00:00 2001
From: Lisa Julia Nebel <lisa_julia.nebel@tu-dresden.de>
Date: Thu, 14 May 2020 20:19:27 +0200
Subject: [PATCH] Change the order to 2; print out the order at the beginning
 of the program

---
 src/film-on-substrate.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/film-on-substrate.cc b/src/film-on-substrate.cc
index 812ced29..c88e018c 100644
--- a/src/film-on-substrate.cc
+++ b/src/film-on-substrate.cc
@@ -73,7 +73,7 @@
 #  define WORLD_DIM 3
 #endif
 const int dim = WORLD_DIM;
-const int order = 1;
+const int order = 2;
 
 #if DUNE_VERSION_LT(DUNE_COMMON, 2, 7)
 template<>
@@ -120,6 +120,9 @@ int main (int argc, char *argv[]) try
   // initialize MPI, finalize is done automatically on exit
   Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv);
 
+  if (mpiHelper.rank()==0)
+    std::cout << "ORDER = " << order << std::endl;
+
   // Start Python interpreter
   Python::start();
   Python::Reference main = Python::import("__main__");
-- 
GitLab