improve a few comments and error messages

This commit is contained in:
Andreas Lauser
2014-07-07 12:07:48 +02:00
parent ced870fbd2
commit d9e24bb5c0
3 changed files with 9 additions and 7 deletions

View File

@@ -294,11 +294,11 @@ public:
template <class ContainerT, class FluidState>
static void dCapillaryPressures_dSaturation(ContainerT &values,
const Params &params,
const FluidState &state,
const FluidState &fluidState,
int satPhaseIdx)
{
OPM_THROW(std::logic_error,
"Not implemented: dCapillaryPressures_dSaturation()");
"Not implemented: dCapillaryPressure_dSaturation()");
}
/*!

View File

@@ -85,7 +85,7 @@ public:
{ assertFinalized_(); return oilWaterParams_; }
/*!
* \brief The parameter object for the oil-water twophase law.
* \brief Set the parameter object for the oil-water twophase law.
*/
void setOilWaterParams(const OilWaterParams& val)
{ oilWaterParams_ = val; }

View File

@@ -88,10 +88,12 @@ public:
*/
static void init()
{
OPM_THROW(std::logic_error, "No generic init() method for this fluid system. The black-oil fluid system must be initialized with:\n"
<< " FluidSystem::initBegin()\n"
<< " // set black oil parameters\n"
<< " FluidSystem::initEnd()\n");
OPM_THROW(std::logic_error,
"There is no generic init() method for this fluid system. The "
<< "black-oil fluid system must be initialized using:\n"
<< " FluidSystem::initBegin()\n"
<< " // set black oil parameters\n"
<< " FluidSystem::initEnd()\n");
}
/*!