CoupledDynamics

Header file: <libs/runcleo/coupleddynamics.hpp> [source]

template<typename CD>
concept CoupledDynamics
#include <coupleddynamics.hpp>

Concept representing types that meet requirements for dynamics solver coupled to SDM i.e. “CoupledDynamics”.

A type satisfies the CoupledDynamics concept if it provides the following functions:

  • prepare_to_timestep(): Prepares for the next timestep.

  • get_couplstep(): Retrieves the coupling step (unsigned int).

  • on_step(t): Performs actions associated with a timestep (unsigned int) ‘t’.

  • run_step(start, end): Runs the (unsigned int) timestep from ‘t=start’ to ‘t=end’.

tparam CD:

The type to check against the CoupledDynamics concept.