ECP-copa / Cabana

Performance-portable library for particle-based simulations
Other
193 stars 51 forks source link

Add random velocity initialization functions #696

Open streeve opened 8 months ago

streeve commented 8 months ago

Related to #692

Pass a second init tag (so far just InitRandom) to create velocities. Version for ParticleList and for Slice, both fused with the particle creation kernel

Needs more testing, more convenience interfaces, potentially more thought on sampling from distributions as compared to fully random creation