adamantine icon indicating copy to clipboard operation
adamantine copied to clipboard

Introduce HeatSources

Open masterleinad opened this issue 9 months ago • 3 comments

This is a step towards https://github.com/adamantine-sim/adamantine/issues/190. This pull request replaces std::vector<std::shared_ptr<adamantine::HeatSource<dim>>> with HeatSources that contains all heat sources as Kokkos::Views and loops over them in its member functions. With this approach, there is no dynamic polymorphism and the compiler could inline all function calls for the heat sources. In particular, this object would be usable on GPUs (apart from function annotations).

masterleinad avatar May 03 '24 14:05 masterleinad