Support non-integral Cartesian cell sizes.
This commit is contained in:
parent
3ea1a823c8
commit
9c00ad8fe9
@ -305,9 +305,9 @@ main(int argc, char** argv)
|
||||
const int nx = param.getDefault("nx", 100);
|
||||
const int ny = param.getDefault("ny", 100);
|
||||
const int nz = param.getDefault("nz", 1);
|
||||
const int dx = param.getDefault("dx", 1.0);
|
||||
const int dy = param.getDefault("dy", 1.0);
|
||||
const int dz = param.getDefault("dz", 1.0);
|
||||
const double dx = param.getDefault("dx", 1.0);
|
||||
const double dy = param.getDefault("dy", 1.0);
|
||||
const double dz = param.getDefault("dz", 1.0);
|
||||
grid.reset(new Opm::GridManager(nx, ny, nz, dx, dy, dz));
|
||||
// Rock and fluid init.
|
||||
props.reset(new Opm::IncompPropertiesBasic(param, grid->c_grid()->dimensions, grid->c_grid()->number_of_cells));
|
||||
|
Loading…
Reference in New Issue
Block a user