mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rebasing
This commit is contained in:
@@ -229,7 +229,7 @@ namespace Opm {
|
||||
, well_model_ (well_model)
|
||||
, terminal_output_ (terminal_output)
|
||||
, current_relaxation_(1.0)
|
||||
, dx_old_(UgGridHelpers::numCells(grid_))
|
||||
, dx_old_(ebosSimulator_.model().numGridDof())
|
||||
{
|
||||
// compute global sum of number of cells
|
||||
global_nc_ = detail::countGlobalCells(grid_);
|
||||
@@ -350,7 +350,7 @@ namespace Opm {
|
||||
//residual_.singlePrecision = (unit::convert::to(dt, unit::day) < 20.) ;
|
||||
|
||||
// Compute the nonlinear update.
|
||||
const int nc = UgGridHelpers::numCells(grid_);
|
||||
unsigned nc = ebosSimulator_.model().numGridDof();
|
||||
BVector x(nc);
|
||||
|
||||
// Solve the linear system.
|
||||
|
||||
Reference in New Issue
Block a user