make the equil test work in the presence of dune-fem

This commit is contained in:
Andreas Lauser 2018-01-04 10:05:52 +01:00
parent 8c531632c0
commit 5a3f25d120

View File

@ -31,7 +31,11 @@
#include <opm/parser/eclipse/Units/Units.hpp>
#if HAVE_DUNE_FEM
#include <dune/fem/misc/mpimanager.hh>
#else
#include <dune/common/parallel/mpihelper.hh>
#endif
#include <array>
#include <iostream>
@ -993,7 +997,11 @@ void test_DeckWithSwatinit()
int main(int argc, char** argv)
{
#if HAVE_DUNE_FEM
Dune::Fem::MPIManager::initialize(argc, argv);
#else
Dune::MPIHelper::instance(argc, argv);
#endif
typedef TTAG(TestEquilTypeTag) TypeTag;
Ewoms::registerAllParameters_<TypeTag>();