mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adapt to moved SimulatorTimer class, and use common SimulatorReport class.
This commit is contained in:
@@ -37,6 +37,7 @@ namespace Opm
|
||||
class SimulatorTimer;
|
||||
class PolymerState;
|
||||
class WellState;
|
||||
class SimulatorReport;
|
||||
|
||||
/// Class collecting all necessary components for a two-phase simulation.
|
||||
class SimulatorPolymer
|
||||
@@ -77,17 +78,6 @@ namespace Opm
|
||||
LinearSolverInterface& linsolver,
|
||||
const double* gravity);
|
||||
|
||||
/// A struct for returning timing data to the client.
|
||||
struct SimulatorReport
|
||||
{
|
||||
double pressure_time;
|
||||
double transport_time;
|
||||
double total_time;
|
||||
SimulatorReport();
|
||||
void operator+=(const SimulatorReport& sr);
|
||||
void report(std::ostream& os);
|
||||
};
|
||||
|
||||
/// Run the simulation.
|
||||
/// This will run succesive timesteps until timer.done() is true. It will
|
||||
/// modify the reservoir and well states.
|
||||
|
||||
Reference in New Issue
Block a user