mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
make the equil test work in the presence of dune-fem
This commit is contained in:
parent
8c531632c0
commit
5a3f25d120
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user