![]() |
ryujin 2.5.0 revision c64172211cf21344cb9b9b0f3a1266aa6400d392
|
#include <include/ryujin/driver/logger.h>


Public Member Functions | |
| Logger (const Interface::Simulation< dim, Number > &simulation, const std::string &subsection="/Logger") | |
Task | |
| void | initialize (TaskContext< Number > &context) override |
| void | start (TaskContext< Number > &context) override |
| void | prepare (TaskContext< Number > &context) override |
| void | execute (TaskContext< Number > &context) override |
| void | finalize (TaskContext< Number > &context) override |
Public Member Functions inherited from ryujin::Interface::Task< Number > | |
| virtual | ~Task ()=default |
| virtual void | save (boost::archive::binary_oarchive &) const |
| virtual void | load (boost::archive::binary_iarchive &) |
Additional Inherited Members | |
Protected Member Functions inherited from ryujin::Interface::Task< Number > | |
| Task (const std::string &name, TaskPhase phase) | |
The task "logger" that records the run time parameters, the MPI partition, and the device information in the log file "<basename>.log", and prints cycle statistics to the terminal and the log file.
| ryujin::Logger< dim, Number >::Logger | ( | const Interface::Simulation< dim, Number > & | simulation, |
| const std::string & | subsection = "/Logger< dim, Number >" |
||
| ) |
Constructor.
|
overridevirtual |
Open the log file and record the run time parameters.
Reimplemented from ryujin::Interface::Task< Number >.
|
overridevirtual |
Record the device information.
Reimplemented from ryujin::Interface::Task< Number >.
|
overridevirtual |
Record the MPI partition of the current mesh.
Reimplemented from ryujin::Interface::Task< Number >.
|
overridevirtual |
Print cycle statistics to the terminal (every "terminal update interval" seconds) and the log file (at every timer tick).
Implements ryujin::Interface::Task< Number >.
|
overridevirtual |
Print the final cycle statistics and the debug output.
Reimplemented from ryujin::Interface::Task< Number >.