mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
Merge pull request #3578 from bska/reset-actnum-eclipsestate
Reset ACTNUM at EclipseState Level
This commit is contained in:
1 file changed
+1
-3
@@ -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_));
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user