fixing test_relpermdiagnostics test

This commit is contained in:
Kai Bao 2021-04-08 20:47:02 +02:00
parent 364187aa1a
commit 06ec3d2420

View File

@ -71,12 +71,11 @@ BOOST_AUTO_TEST_CASE(diagnosis)
EclipseState eclState(deck); EclipseState eclState(deck);
typedef Dune::CpGrid Grid; typedef Dune::CpGrid Grid;
Grid grid = Grid(); Grid grid = Grid();
grid.processEclipseFormat(&eclState.getInputGrid(), grid.processEclipseFormat(&eclState,
/*isPeriodic=*/false, &deck,
/*flipNormals=*/false, /*isPeriodic=*/false,
/*clipZ=*/false, /*flipNormals=*/false,
eclState.fieldProps().porv(true), /*clipZ=*/false);
eclState.getInputNNC());
typedef Dune::CartesianIndexMapper<Grid> CartesianIndexMapper; typedef Dune::CartesianIndexMapper<Grid> CartesianIndexMapper;
CartesianIndexMapper cartesianIndexMapper = CartesianIndexMapper(grid); CartesianIndexMapper cartesianIndexMapper = CartesianIndexMapper(grid);