mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use Schedule constructor.
This commit is contained in:
committed by
Joakim Hove (IT SI SIB)
parent
63f4b6d734
commit
566f4fbb02
@@ -81,6 +81,7 @@ namespace Opm
|
||||
public:
|
||||
ParallelDebugOutput ( const GridImpl& grid,
|
||||
const EclipseState& /* eclipseState */,
|
||||
const Schedule&,
|
||||
const int,
|
||||
const Opm::PhaseUsage& )
|
||||
: grid_( grid ) {}
|
||||
@@ -248,10 +249,12 @@ namespace Opm
|
||||
/// \param permeability The permeabilities for the global(!) view.
|
||||
ParallelDebugOutput( const Dune::CpGrid& otherGrid,
|
||||
const EclipseState& eclipseState,
|
||||
const Schedule& schedule,
|
||||
const int numPhases,
|
||||
const Opm::PhaseUsage& phaseUsage)
|
||||
: grid_(),
|
||||
eclipseState_( eclipseState ),
|
||||
schedule_(schedule),
|
||||
globalCellData_(new data::Solution),
|
||||
isIORank_(true),
|
||||
phaseUsage_(phaseUsage)
|
||||
@@ -605,6 +608,7 @@ namespace Opm
|
||||
const DynamicListEconLimited dynamic_list_econ_limited;
|
||||
// Create wells and well state.
|
||||
WellsManager wells_manager(eclipseState_,
|
||||
schedule_,
|
||||
wellStateStepNumber,
|
||||
Opm::UgGridHelpers::numCells( globalGrid ),
|
||||
Opm::UgGridHelpers::globalCell( globalGrid ),
|
||||
@@ -675,6 +679,7 @@ namespace Opm
|
||||
protected:
|
||||
std::unique_ptr< Dune::CpGrid > grid_;
|
||||
const EclipseState& eclipseState_;
|
||||
const Schedule& schedule_;
|
||||
P2PCommunicatorType toIORankComm_;
|
||||
IndexMapType globalIndex_;
|
||||
IndexMapType localIndexMap_;
|
||||
|
||||
Reference in New Issue
Block a user