From 3f9b294c96cae2bb5ee94ddbb754667e0c47e16d Mon Sep 17 00:00:00 2001
From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de>
Date: Fri, 3 Feb 2017 20:07:57 +0100
Subject: [PATCH] [mpfa-l][globaliavolseeds] print warning

---
 .../cellcentered/mpfa/lmethod/globalinteractionvolumeseeds.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dumux/discretization/cellcentered/mpfa/lmethod/globalinteractionvolumeseeds.hh b/dumux/discretization/cellcentered/mpfa/lmethod/globalinteractionvolumeseeds.hh
index d9fe0f67c7..1e2e74c3c4 100644
--- a/dumux/discretization/cellcentered/mpfa/lmethod/globalinteractionvolumeseeds.hh
+++ b/dumux/discretization/cellcentered/mpfa/lmethod/globalinteractionvolumeseeds.hh
@@ -57,6 +57,10 @@ public:
                          SeedVector& seeds,
                          BoundarySeedVector& boundarySeeds)
     {
+        // print warning
+        std::cout << "\nWARNING: Note that the mpfa-l method currently only works for unstructured grids"
+                  << "  when the global volume variables and global fv geometry caches are enabled!\n" << std::endl;
+
         seeds.clear();
         boundarySeeds.clear();
         scvfIndexMap.clear();
-- 
GitLab