diff --git a/CMakeLists.txt b/CMakeLists.txt index 48159b3b8..abc735564 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,14 +85,6 @@ macro (prereqs_hook) endmacro (prereqs_hook) macro (sources_hook) - if(OPM_GRID_FOUND OR opm-grid_FOUND) - list (APPEND examples_SOURCES - ${PROJECT_SOURCE_DIR}/examples/flow_mpi.cpp - ) - list (APPEND examples_SOURCES_DIST - ${PROJECT_SOURCE_DIR}/examples/flow_mpi.cpp - ) - endif() endmacro (sources_hook) macro (fortran_hook) diff --git a/examples/flow_mpi.cpp b/examples/flow_mpi.cpp deleted file mode 100644 index 184cb577b..000000000 --- a/examples/flow_mpi.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - Copyright 2013, 2014, 2015 SINTEF ICT, Applied Mathematics. - Copyright 2014 Dr. Blatt - HPC-Simulation-Software & Services - Copyright 2015 IRIS AS - - This file is part of the Open Porous Media project (OPM). - - OPM is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OPM is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with OPM. If not, see . -*/ - - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif // HAVE_CONFIG_H - -// Define making clear that the simulator supports AMG -#define FLOW_SUPPORT_AMG !defined(HAVE_UMFPACK) - -#include -#include -#include - - -// ----------------- Main program ----------------- -int -main(int argc, char** argv) -{ - typedef Dune::CpGrid Grid; - typedef Opm::SimulatorFullyImplicitBlackoil Simulator; - - Opm::FlowMain mainfunc; - return mainfunc.execute(argc, argv); -}