ion_utils#
Functions
|
This is a helper function for Particle-Mesh Ewald scheme. |
|
This is a helper function for Particle-Mesh Ewald scheme. |
|
Reads recpot file to extract ion charge. |
|
Reads recpot file to get interpolated ion potential. |
|
Computes the ion-ion interaction energy using a real-space pairwise electrostatic summation in a uniform neutralizing background. |
|
Performs convolution of lattice with function \(f\) using FFTs and the convolution theorem. |
|
Computes, using the direct \(\mathcal{O}(N^2)\) method, the structure factor given by |
|
Computes an approximate structure factor using the Particle-Mesh Ewald scheme based on cardinal B-splines, which is an \(\mathcal{O}(N\log N)\) scaling method. |