Merge pull request #3233 from bska/apply-gridunit-to-output-copies

Apply GRIDUNIT Processing to COORD/ZCORN Output Copies
This commit is contained in:
Arne Morten Kvarving 2022-11-30 14:35:14 +01:00 committed by GitHub
commit f4627455e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());
}
}
}
}