mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 08:41:00 -06:00
New method SimulatorReport::reportFullyImplicit().
It does not make sense to report transport and pressure separately for fully implicit solvers. It still makes sense to separate solver from init and output though.
This commit is contained in:
parent
3562cde8b9
commit
928660ec0f
@ -50,6 +50,16 @@ namespace Opm
|
|||||||
<< "\n Overall Linear Iterations: " << total_linear_iterations
|
<< "\n Overall Linear Iterations: " << total_linear_iterations
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SimulatorReport::reportFullyImplicit(std::ostream& os)
|
||||||
|
{
|
||||||
|
os << "Total time taken (seconds): " << total_time
|
||||||
|
<< "\nSolver time (seconds): " << pressure_time
|
||||||
|
<< "\nOverall Newton Iterations: " << total_newton_iterations
|
||||||
|
<< "\nOverall Linear Iterations: " << total_linear_iterations
|
||||||
|
<< std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
void SimulatorReport::reportParam(std::ostream& os)
|
void SimulatorReport::reportParam(std::ostream& os)
|
||||||
{
|
{
|
||||||
os << "/timing/total_time=" << total_time
|
os << "/timing/total_time=" << total_time
|
||||||
|
@ -41,6 +41,8 @@ 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);
|
||||||
|
/// Print a report, leaving out the transport time.
|
||||||
|
void reportFullyImplicit(std::ostream& os);
|
||||||
void reportParam(std::ostream& os);
|
void reportParam(std::ostream& os);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user