Change RegionCache constructor to accept std::vector<int> fipnum

This commit is contained in:
Joakim Hove
2019-11-20 08:36:03 +01:00
parent 52fabf37c7
commit 8bd9aeaf9d
4 changed files with 7 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ BOOST_AUTO_TEST_CASE(create) {
EclipseState es(deck);
const EclipseGrid& grid = es.getInputGrid();
Schedule schedule( deck, es);
out::RegionCache rc(es.get3DProperties() , grid, schedule);
out::RegionCache rc(es.get3DProperties().getIntGridProperty("FIPNUM").compressedCopy(grid) , grid, schedule);
{
const auto& empty = rc.connections( 4 );