BlackOilModelBase: revision of adaptive time stepping such that time error is computed

by model.
This commit is contained in:
Robert Kloefkorn
2015-10-31 12:32:54 +01:00
parent 308a3fd57e
commit 77f9977ca8
5 changed files with 91 additions and 1 deletions

View File

@@ -178,6 +178,10 @@ namespace Opm {
/// and afterwards the norm of the residual of the well flux and the well equation.
std::vector<double> computeResidualNorms() const;
/// \brief compute the relative change between to simulation states
// \return || u^n+1 - u^n || / || u^n+1 ||
double computeTimeError( const SimulatorState& previous, const SimulatorState& current ) const;
/// The size (number of unknowns) of the nonlinear system of equations.
int sizeNonLinear() const;