mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
Added writing of timings in param format
This commit is contained in:
parent
ded1424cc9
commit
50ff22141d
@ -42,6 +42,12 @@ namespace Opm
|
||||
<< "\n Pressure time: " << pressure_time
|
||||
<< "\n Transport time: " << transport_time << std::endl;
|
||||
}
|
||||
void SimulatorReport::reportParam(std::ostream& os)
|
||||
{
|
||||
os << "/timing/total_time=" << total_time
|
||||
<< "\n/timing/pressure/total_time=" << pressure_time
|
||||
<< "\n/timing/transport/total_time=" << transport_time << std::endl;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Opm
|
||||
|
@ -38,6 +38,7 @@ namespace Opm
|
||||
void operator+=(const SimulatorReport& sr);
|
||||
/// Print a report to the given stream.
|
||||
void report(std::ostream& os);
|
||||
void reportParam(std::ostream& os);
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user