Opm::VertEqWrapper< SimulatorType > Struct Template Reference
Inheritance diagram for Opm::VertEqWrapper< SimulatorType >:
Detailed Descriptiontemplate<typename SimulatorType> struct Opm::VertEqWrapper< SimulatorType > Wrap a certain type of simulator to use for in an vertically upscaled model. This is its own class just because you cannot in C++ call a templated constructor without the template as any of the parameters. (The template constructor sets up the adapter class). By using an adapter, we don't have to instantiate the wrapper for every simulator class.
Constructor & Destructor Documentation◆ VertEqWrapper()
template<typename SimulatorType >
Initialise from parameters and objects to observe.
Member Function Documentation◆ run()
Run the simulation. This will run succesive timesteps until timer.done() is true. It will modify the reservoir and well states.
◆ sync()
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.
◆ timestep_completed()
Event that is signaled every time the simulator has completed a timestep.
The documentation for this struct was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||