Resort to setting one define for AMG support in the main simulator

This commit is contained in:
Markus Blatt
2017-05-19 13:34:51 +02:00
parent 98e2eeb4dc
commit 5a6ace9063
3 changed files with 7 additions and 1 deletions

View File

@@ -23,6 +23,8 @@
#ifndef OPM_FLOWMAIN_HEADER_INCLUDED
#define OPM_FLOWMAIN_HEADER_INCLUDED
// Define making clear that the simulator supports AMG
#define FLOW_SUPPORT_AMG !defined(HAVE_UMFPACK)
#include <opm/common/utility/platform_dependent/disable_warnings.h>