use the error macros from opm-common

This commit is contained in:
Andreas Lauser committed 2015-10-08 11:59:55 +02:00
1 parent 1d63276cfb
commit ca4da50902
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -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");
}
+1 -1
View File
@@ -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.");
}