![]() |
ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
|
#include <include/ryujin/driver/equation_dispatch.h>


Public Member Functions | |
| EquationDispatch () | |
| void | dispatch (const std::string ¶meter_file, const MPI_Comm &mpi_comm) |
Static Public Member Functions | |
| static void | create_parameter_files () |
Dispatcher class that runs the equation selected in the parameter file.
When starting up the ryujin executable we are faced with the following difficulties:
ryujin.prm parameter file.ryujin.prm depend on the runtime parameters "dimension" and "equation" themselves.We thus first read in two parameters from the parameter file:
and then run the equation of the EquationLibrary with the given name for the given dimension.
Definition at line 52 of file equation_dispatch.h.
|
inline |
Definition at line 55 of file equation_dispatch.h.
References ryujin::dave, and ryujin::Library< Base, Args >::selection().
|
inlinestatic |
Write the default parameter files of all registered equations.
Definition at line 79 of file equation_dispatch.h.
References ryujin::Library< Base, Args >::create(), and ryujin::dave.
|
inline |
Read the parameters "dimension" and "equation" from parameter_file and run the selected equation.
Definition at line 97 of file equation_dispatch.h.
References ryujin::dave, and ryujin::Library< Base, Args >::select().