Throw for LGRs combine with TRANX/Y/Z

This commit is contained in:
Antonella Ritorto
2023-12-19 20:31:42 +01:00
parent 67594ed051
commit af257740c8

View File

@@ -795,8 +795,12 @@ updateFromEclState_(bool global)
for (auto it = trans.begin(); it != trans.end(); ++it, ++key, ++perform)
{
if(*perform)
if(*perform) {
if(grid_.maxLevel()>0) {
OPM_THROW(std::invalid_argument, "Calculations on TRANX/TRANY/TRANZ arrays are not support with LGRS, yet.");
}
fp->apply_tran(*key, *it);
}
}
resetTransmissibilityFromArrays_(is_tran, trans);