Mercury JAX/XLA interface
@Timo Plath convert MercuryDPM from a structure of arrays (SOA) to an array of structures (AOS)
Do this directly in the hanlders by creating arrays of all objects from the handlers. E.g. ParticleHandler stores pointers to all particles in an array.
ParticleArray(particle1*, particle2*, particle3*)
Velocity(x*,y*,z*) example= {{1,2,4},{1,3,4}} ;
hander → individual particles to form array
@Retief Lubbe Implement a python Jax library of MercuryDPM
@Retief Lubbe convert the AOS to concrete classes in python
If neccessary, write a pointer to object wrapper such that we do not get memory problems.
DeleteParticlebyID(2)
delete particle2
Particle1(position, velocity, mass, density, …)