mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix] Use AutoDiffGrid in unspecialized version of ParallelDebugOutput.
This commit is contained in:
parent
df2b1190de
commit
11f36de73e
@ -105,8 +105,8 @@ namespace Opm
|
|||||||
virtual const WellStateFullyImplicitBlackoil& globalWellState() const { return *wellState_; }
|
virtual const WellStateFullyImplicitBlackoil& globalWellState() const { return *wellState_; }
|
||||||
virtual bool isIORank () const { return true; }
|
virtual bool isIORank () const { return true; }
|
||||||
virtual bool isParallel () const { return false; }
|
virtual bool isParallel () const { return false; }
|
||||||
virtual int numCells() const { return grid_.number_of_cells; }
|
virtual int numCells() const { return Opm::AutoDiffGrid::numCells(grid_); }
|
||||||
virtual const int* globalCell() const { return grid_.global_cell; }
|
virtual const int* globalCell() const { return Opm::AutoDiffGrid::globalCell(grid_); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#if HAVE_OPM_GRID
|
#if HAVE_OPM_GRID
|
||||||
|
Loading…
Reference in New Issue
Block a user