mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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
|
const DimMatrix& intrinsicPermeability() const
|
||||||
{
|
{
|
||||||
OPM_THROW(Opm::NotAvailable,
|
OPM_THROW(Opm::NotImplemented,
|
||||||
"The ECL transmissibility module does not provide an explicit intrinsic permeability");
|
"The ECL transmissibility module does not provide an explicit intrinsic permeability");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
const EvalDimVector& potentialGrad(int phaseIdx) const
|
const EvalDimVector& potentialGrad(int phaseIdx) const
|
||||||
{
|
{
|
||||||
OPM_THROW(Opm::NotAvailable,
|
OPM_THROW(Opm::NotImplemented,
|
||||||
"The ECL transmissibility module does not provide explicit potential gradients");
|
"The ECL transmissibility module does not provide explicit potential gradients");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
const EvalDimVector& filterVelocity(int phaseIdx) const
|
const EvalDimVector& filterVelocity(int phaseIdx) const
|
||||||
{
|
{
|
||||||
OPM_THROW(Opm::NotAvailable,
|
OPM_THROW(Opm::NotImplemented,
|
||||||
"The ECL transmissibility module does not provide explicit filter velocities");
|
"The ECL transmissibility module does not provide explicit filter velocities");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1376,7 +1376,7 @@ protected:
|
|||||||
return bhp;
|
return bhp;
|
||||||
}
|
}
|
||||||
|
|
||||||
OPM_THROW(Opm::NumericalIssue,
|
OPM_THROW(Opm::NumericalProblem,
|
||||||
"Could not determine the bottom hole pressure of well '" << name()
|
"Could not determine the bottom hole pressure of well '" << name()
|
||||||
<< "' within 20 iterations.");
|
<< "' within 20 iterations.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user