From 3a6d0b17728b618513ef00de9502f30a95c65c63 Mon Sep 17 00:00:00 2001 From: Clara Levante Date: Wed, 27 Dec 2023 17:55:25 +0100 Subject: [PATCH] WIP change xi in reset --- libs/cartesiandomain/cartesianmotion_withreset.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/cartesiandomain/cartesianmotion_withreset.hpp b/libs/cartesiandomain/cartesianmotion_withreset.hpp index 9ad259a5b..e959703c9 100644 --- a/libs/cartesiandomain/cartesianmotion_withreset.hpp +++ b/libs/cartesiandomain/cartesianmotion_withreset.hpp @@ -110,7 +110,10 @@ struct ResetSuperdrop const auto log10r = double{log10rlow + frac * (log10rup - log10rlow)}; const auto radius = Kokkos::pow(10, log10r); + const unsigned long long xi = // TODO ; + drop.change_radius(radius); + drop.set_xi(xi); } KOKKOS_FUNCTION unsigned int