mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 09:52:01 -05:00
use the error macros from opm-common
This commit is contained in:
1 parent
1d63276cfb
commit
ca4da50902
2 files changed
+4
-4
No files matched your search
@@ -121,7 +121,7 @@ public:
|
||||
*/
|
||||
const DimMatrix& intrinsicPermeability() const
|
||||
{
|
||||
OPM_THROW(Opm::NotAvailable,
|
||||
OPM_THROW(Opm::NotImplemented,
|
||||
"The ECL transmissibility module does not provide an explicit intrinsic permeability");
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
*/
|
||||
const EvalDimVector& potentialGrad(int phaseIdx) const
|
||||
{
|
||||
OPM_THROW(Opm::NotAvailable,
|
||||
OPM_THROW(Opm::NotImplemented,
|
||||
"The ECL transmissibility module does not provide explicit potential gradients");
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ public:
|
||||
*/
|
||||
const EvalDimVector& filterVelocity(int phaseIdx) const
|
||||
{
|
||||
OPM_THROW(Opm::NotAvailable,
|
||||
OPM_THROW(Opm::NotImplemented,
|
||||
"The ECL transmissibility module does not provide explicit filter velocities");
|
||||
}
|
||||
|
||||
|
||||
@@ -1376,7 +1376,7 @@ protected:
|
||||
return bhp;
|
||||
}
|
||||
|
||||
OPM_THROW(Opm::NumericalIssue,
|
||||
OPM_THROW(Opm::NumericalProblem,
|
||||
"Could not determine the bottom hole pressure of well '" << name()
|
||||
<< "' within 20 iterations.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user