Apply GRIDUNIT Processing to COORD/ZCORN Output Copies

Needed to reflect the GRIDUNIT transformation in the EGRID output.
This commit is contained in:
Bård Skaflestad 2022-11-30 14:09:20 +01:00
parent 52a694f75a
commit 5faf7fc088

View File

@ -303,6 +303,14 @@ EclipseGrid::EclipseGrid(const Deck& deck, const int * actnum)
apply_GRIDUNIT(deck.getActiveUnitSystem(), grid_units.value(), this->m_coord);
if (this->m_rv.has_value())
apply_GRIDUNIT(deck.getActiveUnitSystem(), grid_units.value(), this->m_rv.value());
if (this->m_input_coord.has_value()) {
apply_GRIDUNIT(deck.getActiveUnitSystem(), grid_units.value(), this->m_input_coord.value());
}
if (this->m_input_zcorn.has_value()) {
apply_GRIDUNIT(deck.getActiveUnitSystem(), grid_units.value(), this->m_input_zcorn.value());
}
}
}
}