Quickstart

Start by following the steps to install CLEO.

To use CLEO as an SDM coupled to a dynamics solver, essentially your task is to contruct a main.cpp file.

Have a look at roughpaper/src/main.cpp for inspiration. Depending on the setup you desire, you need to include different instantiations of the core concepts of CLEO in your main.cpp. For example you need to specify the type of super-droplet motion, microphysics, observer, and coupled dynamics.

Once you’ve done that, your should have constructed all the necesary ingredients for CLEO so that the end of your main.cpp looks something like this:

/* Initialise Kokkos parallel environment */
Kokkos::initialize(config.get_kokkos_initialization_settings());
{
  Kokkos::print_configuration(std::cout);

  /* CLEO Super-Droplet Model (excluding coupled dynamics solver) */
  const SDMMethods sdm = create_sdm(config, tsteps, dataset);

  /* Run CLEO (SDM coupled to dynamics solver) */
  const auto runcleo = RunCLEO(sdm, coupldyn, comms);
  runcleo(initconds, t_end);
}
Kokkos::finalize();