Opm::SimulatorAdapter< T > Struct Template Reference
Inheritance diagram for Opm::SimulatorAdapter< T >:
Detailed Descriptiontemplate<typename T>
|
T | Type of the actual simulator, e.g. SimulatorIncompTwophase |
|
inlinevirtual |
Activate the reference by creating a new instance of the underlaying simulator with the given parameters and then point to it.
Implements Opm::Simulator.
|
inlinevirtual |
Run the simulation.
This will run succesive timesteps until timer.done() is true. It will modify the reservoir and well states.
[in,out] | timer | Governs the requested reporting timesteps |
[in,out] | state | State of reservoir: pressure, fluxes |
[in,out] | well_state | State of wells: bhp, perforation rates |
Implements Opm::Simulator.
|
inlinevirtual |
Notify the simulator that a callback has an interest in reading for reporting purposes the contents of the state argument that was passed to the run() method. The simulator will then flush any internal state which is currently not reflected in it.
Implements Opm::Simulator.
|
inlinevirtual |
Event that is signaled every time the simulator has completed a timestep.
Implements Opm::Simulator.