mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add a residuals function prototype.
This commit is contained in:
parent
613a87eb56
commit
a969025c5e
@ -206,6 +206,8 @@ namespace Opm {
|
|||||||
double
|
double
|
||||||
residualNorm() const;
|
residualNorm() const;
|
||||||
|
|
||||||
|
std::vector<double> residuals() const;
|
||||||
|
|
||||||
ADB
|
ADB
|
||||||
fluidViscosity(const int phase,
|
fluidViscosity(const int phase,
|
||||||
const ADB& p ,
|
const ADB& p ,
|
||||||
|
@ -248,6 +248,7 @@ namespace {
|
|||||||
BlackoilState& x ,
|
BlackoilState& x ,
|
||||||
WellStateFullyImplicitBlackoil& xw)
|
WellStateFullyImplicitBlackoil& xw)
|
||||||
{
|
{
|
||||||
|
std::vector <std::vector<double>> residual_history;
|
||||||
const V pvdt = geo_.poreVolume() / dt;
|
const V pvdt = geo_.poreVolume() / dt;
|
||||||
|
|
||||||
classifyCondition(x);
|
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>
|
template<class T>
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user