Removed two unnecessary arguments from TransportModelPolymer constructor.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-06-13 12:46:57 +02:00
parent 07130c55f7
commit c4b81d8da5
3 changed files with 3 additions and 7 deletions

View File

@ -557,7 +557,7 @@ main(int argc, char** argv)
THROW("Unknown method: " << method_string);
}
Opm::TransportModelPolymer reorder_model(*grid->c_grid(), props->porosity(), &porevol[0], *props, polyprop,
Opm::TransportModelPolymer reorder_model(*grid->c_grid(), *props, polyprop,
method, nl_tolerance, nl_maxiter);
if (use_gauss_seidel_gravity) {

View File

@ -172,16 +172,14 @@ namespace
namespace Opm
{
TransportModelPolymer::TransportModelPolymer(const UnstructuredGrid& grid,
const double* porosity,
const double* porevolume,
const IncompPropertiesInterface& props,
const PolymerProperties& polyprops,
const SingleCellMethod method,
const double tol,
const int maxit)
: grid_(grid),
porosity_(porosity),
porevolume_(porevolume),
porosity_(props.porosity()),
porevolume_(NULL),
props_(props),
polyprops_(polyprops),
tol_(tol),

View File

@ -44,8 +44,6 @@ namespace Opm
/// \TODO document me, especially method.
TransportModelPolymer(const UnstructuredGrid& grid,
const double* porosity,
const double* porevolume,
const IncompPropertiesInterface& props,
const PolymerProperties& polyprops,
const SingleCellMethod method,