sarkas.potentials.force_pm
sarkas.potentials.force_pm#
Module for handling the Particle-Mesh part of the force and potential calculation.
Functions
|
Calculate the charge assignment function as given in Ref.:cite:Deserno1998 |
|
Calculates the long range part of particles' accelerations. |
|
Assigns Charges to Mesh Points. |
|
Numba'd function that calculates the Electric field in Fourier space. |
|
Calculate the particles positions with respect to the mesh and their closest point on the mesh. |
|
Calculates the long range part of particles' accelerations. |
|
Calculate the alias arrays of the reciprocal space arrays for anti-aliasing. |
|
Calculate the reciprocal space arrays. |
|
Numba'd function to calculate the Optimized Green Function given by eq.(22) of Ref.:cite:Stern2008. |
|
Calculate the required shift based on the parity of the charge assignment orders. |
|
Perform the sum over aliases in each direction. |
|
Calculate the long range part of particles' accelerations. |