![]() |
ryujin 2.1.1 revision 9391072059490dd712e0ea92785f21acd6605f00
|
#include <source/time_loop.h>
Public Member Functions | |
Constructor and setup | |
TimeLoop (const MPI_Comm &mpi_comm) | |
void | run () |
Protected Member Functions | |
Private methods for run() | |
void | compute_error (StateVector &state_vector, Number t) |
void | output (StateVector &state_vector, const std::string &name, const Number t, const unsigned int cycle) |
void | print_parameters (std::ostream &stream) |
void | print_mpi_partition (std::ostream &stream) |
void | print_memory_statistics (std::ostream &stream) |
void | print_timers (std::ostream &stream) |
void | print_throughput (unsigned int cycle, Number t, std::ostream &stream, bool final_time=false) |
void | print_info (const std::string &header) |
void | print_head (const std::string &header, const std::string &secondary, std::ostream &stream) |
void | print_cycle_statistics (unsigned int cycle, Number t, unsigned int output_cycle, bool write_to_logfile=false, bool final_time=false) |
Typedefs and constexpr constants | |
using | HyperbolicSystem = typename Description::HyperbolicSystem |
using | View = typename Description::template HyperbolicSystemView< dim, Number > |
using | ParabolicSystem = typename Description::ParabolicSystem |
using | ParabolicSolver = typename Description::template ParabolicSolver< dim, Number > |
using | ScalarNumber = typename View::ScalarNumber |
using | StateVector = typename View::StateVector |
using | ScalarVector = Vectors::ScalarVector< Number > |
static constexpr auto | problem_dimension = View::problem_dimension |
static constexpr auto | n_precomputed_values = View::n_precomputed_values |
The high-level time loop driving the computation.
Definition at line 35 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::HyperbolicSystem = typename Description::HyperbolicSystem |
Definition at line 43 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::View = typename Description::template HyperbolicSystemView<dim, Number> |
Definition at line 45 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::ParabolicSystem = typename Description::ParabolicSystem |
Definition at line 48 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::ParabolicSolver = typename Description::template ParabolicSolver<dim, Number> |
Definition at line 50 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 53 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::StateVector = typename View::StateVector |
Definition at line 59 of file time_loop.h.
using ryujin::TimeLoop< Description, dim, Number >::ScalarVector = Vectors::ScalarVector<Number> |
Definition at line 61 of file time_loop.h.
ryujin::TimeLoop< Description, dim, Number >::TimeLoop | ( | const MPI_Comm & | mpi_comm | ) |
Constructor.
Definition at line 26 of file time_loop.template.h.
void ryujin::TimeLoop< Description, dim, Number >::run |
Run the high-level time loop.
Definition at line 215 of file time_loop.template.h.
References ryujin::Checkpointing::load_mesh(), and ryujin::Checkpointing::load_state_vector().
Referenced by ryujin::Dispatch< Description, Number >::Dispatch().
|
protected |
Definition at line 437 of file time_loop.template.h.
References ryujin::pow().
|
protected |
Definition at line 580 of file time_loop.template.h.
References ryujin::Checkpointing::write_checkpoint().
|
protected |
Definition at line 640 of file time_loop.template.h.
References ryujin::print_revision_and_version().
|
protected |
Definition at line 665 of file time_loop.template.h.
|
protected |
Definition at line 737 of file time_loop.template.h.
|
protected |
Definition at line 765 of file time_loop.template.h.
|
protected |
Definition at line 850 of file time_loop.template.h.
References ryujin::ScalarConservation::ParabolicSystem::is_identity.
|
protected |
Definition at line 1013 of file time_loop.template.h.
|
protected |
Definition at line 1024 of file time_loop.template.h.
|
protected |
Definition at line 1053 of file time_loop.template.h.
References ryujin::ScalarConservation::ParabolicSystem::is_identity.
|
staticconstexpr |
Definition at line 55 of file time_loop.h.
|
staticconstexpr |
Definition at line 57 of file time_loop.h.