mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Made sure permeability param is read as a double.
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Opm
|
||||
double poro = param.getDefault("porosity", 1.0);
|
||||
using namespace Opm::unit;
|
||||
using namespace Opm::prefix;
|
||||
double perm = param.getDefault("permeability", 100)*milli*darcy;
|
||||
double perm = param.getDefault("permeability", 100.0)*milli*darcy;
|
||||
rock_.init(dim, num_cells, poro, perm);
|
||||
pvt_.init(param);
|
||||
satprops_.init(param);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Opm
|
||||
double poro = param.getDefault("porosity", 1.0);
|
||||
using namespace Opm::unit;
|
||||
using namespace Opm::prefix;
|
||||
double perm = param.getDefault("permeability", 100)*milli*darcy;
|
||||
double perm = param.getDefault("permeability", 100.0)*milli*darcy;
|
||||
rock_.init(dim, num_cells, poro, perm);
|
||||
pvt_.init(param);
|
||||
satprops_.init(param);
|
||||
|
||||
Reference in New Issue
Block a user