improve a few comments and error messages
This commit is contained in:
@@ -294,11 +294,11 @@ public:
|
||||
template <class ContainerT, class FluidState>
|
||||
static void dCapillaryPressures_dSaturation(ContainerT &values,
|
||||
const Params ¶ms,
|
||||
const FluidState &state,
|
||||
const FluidState &fluidState,
|
||||
int satPhaseIdx)
|
||||
{
|
||||
OPM_THROW(std::logic_error,
|
||||
"Not implemented: dCapillaryPressures_dSaturation()");
|
||||
"Not implemented: dCapillaryPressure_dSaturation()");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user