computeTimeError --> relativeChange.

This commit is contained in:
Robert Kloefkorn
2015-11-10 10:00:04 -07:00
parent 77f9977ca8
commit 31aa0544e7
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -2387,7 +2387,7 @@ namespace detail {
template <class Grid, class Implementation>
double
BlackoilModelBase<Grid, Implementation>::
computeTimeError(const SimulatorState& previous,
relativeChange(const SimulatorState& previous,
const SimulatorState& current ) const
{
std::vector< double > p0 ( previous.pressure() );