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 /// \brief compute the relative change between to simulation states
// \return || u^n+1 - u^n || / || u^n+1 || // \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. /// The size (number of unknowns) of the nonlinear system of equations.
int sizeNonLinear() const; int sizeNonLinear() const;

View File

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