maxwelllink.matter.md.kernels.kernels_integrators module¶
CUDA kernels of the OBABO (velocity-Verlet + Langevin) integrator.
These kernels are the GPU half of MDEngine.
- maxwelllink.matter.md.kernels.kernels_integrators.build_integrator_kernels()[source]¶
Build (once per process) the CUDA kernels of the OBABO integrator.
One block handles one system. The kernels are force-field independent: the atom count comes from the position array and the per-atom masses and effective charges are passed in, so no topology is baked in.
preLangevin half-kick, momentum half-kick, position drift.
postSecond momentum half-kick, the dipole and energy reductions the EM solver needs, then the trailing Langevin half-kick.
- Returns:
The kernels, keyed
"pre"and"post".- Return type:
dict
- Raises:
ImportError – If numba’s CUDA target is unavailable.