mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-27 11:16:28 -06:00
use the error macros from opm-common
This commit is contained in:
parent
1d63276cfb
commit
ca4da50902
@ -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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user