mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3578 from bska/reset-actnum-eclipsestate
Reset ACTNUM at EclipseState Level
This commit is contained in:
commit
40e94268cf
@ -291,9 +291,7 @@ void EclGenericCpGridVanguard<ElementMapper,GridView,Scalar>::doCreateGrids_(Ecl
|
||||
equilGrid_.reset(new Dune::CpGrid(*grid_));
|
||||
equilCartesianIndexMapper_ = std::make_unique<CartesianIndexMapper>(*equilGrid_);
|
||||
|
||||
std::vector<int> actnum = UgGridHelpers::createACTNUM(*grid_);
|
||||
auto &field_props = eclState.fieldProps();
|
||||
const_cast<FieldPropsManager&>(field_props).reset_actnum(actnum);
|
||||
eclState.reset_actnum(UgGridHelpers::createACTNUM(*grid_));
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user