diff --git a/opm/autodiff/BlackoilModelBase.hpp b/opm/autodiff/BlackoilModelBase.hpp index a6d8522c2..785ded71e 100644 --- a/opm/autodiff/BlackoilModelBase.hpp +++ b/opm/autodiff/BlackoilModelBase.hpp @@ -180,7 +180,7 @@ namespace Opm { /// \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; + double relativeChange( const SimulatorState& previous, const SimulatorState& current ) const; /// The size (number of unknowns) of the nonlinear system of equations. int sizeNonLinear() const; diff --git a/opm/autodiff/BlackoilModelBase_impl.hpp b/opm/autodiff/BlackoilModelBase_impl.hpp index 6b560f9d6..f768352ab 100644 --- a/opm/autodiff/BlackoilModelBase_impl.hpp +++ b/opm/autodiff/BlackoilModelBase_impl.hpp @@ -2387,8 +2387,8 @@ namespace detail { template double BlackoilModelBase:: - computeTimeError(const SimulatorState& previous, - const SimulatorState& current ) const + relativeChange(const SimulatorState& previous, + const SimulatorState& current ) const { std::vector< double > p0 ( previous.pressure() ); std::vector< double > sat0( previous.saturation() );