mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
Add a residuals function prototype.
This commit is contained in:
parent
613a87eb56
commit
a969025c5e
@ -206,6 +206,8 @@ namespace Opm {
|
||||
double
|
||||
residualNorm() const;
|
||||
|
||||
std::vector<double> residuals() const;
|
||||
|
||||
ADB
|
||||
fluidViscosity(const int phase,
|
||||
const ADB& p ,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user