Microphysics
Microphysics copied to clipboard
extract some common integrator infrastructure
this looks a bit clumsy, so comments welcomed. With this, I can make BackwardEuler
and RKC
reuse the same integrator_setup
I am not sure how to fix the CUDA issues here. It seems to not like passing the integrator function into the integrator_setup
function
update: std::function()
doesn't work on the device, but a simple function pointer does.
it appears that function points are not supported by SYCL, so we'll need to use functors (e.g., a struct wrapper with an overload of ())
requires #1541
this has been refactored so it will be SYCL compliant now