ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
Classes | Public Member Functions | Static Public Member Functions | List of all members
ryujin::EquationDispatch Class Reference

#include <source/equation_dispatch.h>

Inheritance diagram for ryujin::EquationDispatch:
Inheritance graph
[legend]
Collaboration diagram for ryujin::EquationDispatch:
Collaboration graph
[legend]

Classes

struct  Signals
 

Public Member Functions

 EquationDispatch ()
 
void dispatch (const std::string &parameter_file, const MPI_Comm &mpi_comm)
 

Static Public Member Functions

static void create_parameter_files ()
 
template<typename Callable >
static void register_create_parameter_files (const Callable &callable)
 
template<typename Callable >
static void register_dispatch (const Callable &callable)
 

Static Protected Attributes

Internal data structures:
static Signalssignals
 

Detailed Description

Dispatcher class that calls into the right TimeLoop for a configured equation depending on what has been set in the parameter file.

Definition at line 33 of file equation_dispatch.h.

Constructor & Destructor Documentation

◆ EquationDispatch()

ryujin::EquationDispatch::EquationDispatch ( )
inline

Definition at line 36 of file equation_dispatch.h.

Member Function Documentation

◆ create_parameter_files()

static void ryujin::EquationDispatch::create_parameter_files ( )
inlinestatic

Call create_parameter_files() for all registered equations.

Definition at line 50 of file equation_dispatch.h.

References ryujin::EquationDispatch::Signals::create_parameter_files, ryujin::dave, and signals.

◆ register_create_parameter_files()

template<typename Callable >
static void ryujin::EquationDispatch::register_create_parameter_files ( const Callable &  callable)
inlinestatic

◆ dispatch()

void ryujin::EquationDispatch::dispatch ( const std::string &  parameter_file,
const MPI_Comm &  mpi_comm 
)
inline

Call dispatch() for all registered equations.

Definition at line 77 of file equation_dispatch.h.

References ryujin::dave, ryujin::EquationDispatch::Signals::dispatch, and signals.

◆ register_dispatch()

template<typename Callable >
static void ryujin::EquationDispatch::register_dispatch ( const Callable &  callable)
inlinestatic

Member Data Documentation

◆ signals

Signals* ryujin::EquationDispatch::signals
staticprotected

The documentation for this class was generated from the following file: