mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-25 04:06:26 -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);
|
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);
|
method, nl_tolerance, nl_maxiter);
|
||||||
|
|
||||||
if (use_gauss_seidel_gravity) {
|
if (use_gauss_seidel_gravity) {
|
||||||
|
@ -172,16 +172,14 @@ namespace
|
|||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
TransportModelPolymer::TransportModelPolymer(const UnstructuredGrid& grid,
|
TransportModelPolymer::TransportModelPolymer(const UnstructuredGrid& grid,
|
||||||
const double* porosity,
|
|
||||||
const double* porevolume,
|
|
||||||
const IncompPropertiesInterface& props,
|
const IncompPropertiesInterface& props,
|
||||||
const PolymerProperties& polyprops,
|
const PolymerProperties& polyprops,
|
||||||
const SingleCellMethod method,
|
const SingleCellMethod method,
|
||||||
const double tol,
|
const double tol,
|
||||||
const int maxit)
|
const int maxit)
|
||||||
: grid_(grid),
|
: grid_(grid),
|
||||||
porosity_(porosity),
|
porosity_(props.porosity()),
|
||||||
porevolume_(porevolume),
|
porevolume_(NULL),
|
||||||
props_(props),
|
props_(props),
|
||||||
polyprops_(polyprops),
|
polyprops_(polyprops),
|
||||||
tol_(tol),
|
tol_(tol),
|
||||||
|
@ -44,8 +44,6 @@ namespace Opm
|
|||||||
|
|
||||||
/// \TODO document me, especially method.
|
/// \TODO document me, especially method.
|
||||||
TransportModelPolymer(const UnstructuredGrid& grid,
|
TransportModelPolymer(const UnstructuredGrid& grid,
|
||||||
const double* porosity,
|
|
||||||
const double* porevolume,
|
|
||||||
const IncompPropertiesInterface& props,
|
const IncompPropertiesInterface& props,
|
||||||
const PolymerProperties& polyprops,
|
const PolymerProperties& polyprops,
|
||||||
const SingleCellMethod method,
|
const SingleCellMethod method,
|
||||||
|
Loading…
Reference in New Issue
Block a user