Add a residuals function prototype.

This commit is contained in:
Kai Bao 2014-05-19 10:41:23 +02:00
parent 613a87eb56
commit a969025c5e
2 changed files with 10 additions and 0 deletions

View File

@ -206,6 +206,8 @@ namespace Opm {
double
residualNorm() const;
std::vector<double> residuals() const;
ADB
fluidViscosity(const int phase,
const ADB& p ,

View File

@ -248,6 +248,7 @@ namespace {
BlackoilState& x ,
WellStateFullyImplicitBlackoil& xw)
{
std::vector <std::vector<double>> residual_history;
const V pvdt = geo_.poreVolume() / dt;
classifyCondition(x);
@ -1587,6 +1588,13 @@ namespace {
}
template<class T>
std::vector<double>
FullyImplicitBlackoilSolver<T>::residuals() const
{
std::vector<double> residual;
return residual;
}
template<class T>
bool