Use an integer type for "maxit_" counter.

The "maxit_" counter is an upper limit on the number of non-linear
iterations in a single cell.  Declaring this as a "double" is counter
intuitive unless one expects the number to be *really* high.

Present since
  - Commit 93d4bd8 (TransportModelTwophase.hpp)
  - Commit e0d38cf (TransportModelTwophaseCompressible.hpp)
This commit is contained in:
Bård Skaflestad 2013-02-18 14:19:30 +01:00
parent 11425efe81
commit a39e5a1366
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ namespace Opm
std::vector<double> smin_;
std::vector<double> smax_;
double tol_;
double maxit_;
int maxit_;
const double* darcyflux_; // one flux per grid face
const double* surfacevol0_; // one per phase per cell

View File

@ -94,7 +94,7 @@ namespace Opm
std::vector<double> smin_;
std::vector<double> smax_;
double tol_;
double maxit_;
int maxit_;
const double* darcyflux_; // one flux per grid face
const double* porevolume_; // one volume per cell