CouplingComms

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

template<typename Comms, typename CD>
concept CouplingComms
#include <couplingcomms.hpp>

Concept representing types that handle communication between SDM and coupled dynamics solver.

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

  • send_dynamics(h_gbxs, coupldyn): Sends dynamics information from SDM view of Gridboxes h_gbxs to coupled dynamics solver coupldyn.

  • receive_dynamics(coupldyn, h_gbxs): Receives dynamics information from coupled dynamics solver coupldyn into SDM view of Gridboxes h_gbxs.

tparam Comms:

The type for communication to check against the CouplingComms concept.

tparam CD:

The type for the dyanmics solver to check against the CoupledDynamics concept.