mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5078 from aritorto/throwMULTZ
Throw for LGRs combine with TRANX/Y/Z
This commit is contained in:
@@ -795,8 +795,12 @@ updateFromEclState_(bool global)
|
|||||||
|
|
||||||
for (auto it = trans.begin(); it != trans.end(); ++it, ++key, ++perform)
|
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);
|
fp->apply_tran(*key, *it);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resetTransmissibilityFromArrays_(is_tran, trans);
|
resetTransmissibilityFromArrays_(is_tran, trans);
|
||||||
|
|||||||
Reference in New Issue
Block a user