mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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 Pressure time: " << pressure_time
|
||||||
<< "\n Transport time: " << transport_time << std::endl;
|
<< "\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
|
} // namespace Opm
|
||||||
|
@ -38,6 +38,7 @@ namespace Opm
|
|||||||
void operator+=(const SimulatorReport& sr);
|
void operator+=(const SimulatorReport& sr);
|
||||||
/// Print a report to the given stream.
|
/// Print a report to the given stream.
|
||||||
void report(std::ostream& os);
|
void report(std::ostream& os);
|
||||||
|
void reportParam(std::ostream& os);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
Loading…
Reference in New Issue
Block a user