mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-09 16:03:02 -06:00
Removed two unnecessary arguments from TransportModelPolymer constructor.
This commit is contained in:
parent
07130c55f7
commit
c4b81d8da5
@ -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) {
|
||||
|
@ -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),
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user