Adapt to moved SimulatorTimer class, and use common SimulatorReport class.

This commit is contained in:
Atgeirr Flø Rasmussen
2012-06-14 14:26:29 +02:00
parent eb845fd45a
commit cd9be1030a
3 changed files with 10 additions and 21 deletions

View File

@@ -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.