sarkas.potentials.tabulated
Contents
sarkas.potentials.tabulated#
Module for handling custom potential of the form given below.
Potential Attributes#
The elements of the sarkas.potentials.core.Potential.matrix are:
pot_matrix[0] = q_iq_je^2/(4 pi eps_0) Force factor between two particles.
pot_matrix[1] = kappa
pot_matrix[2] = a
pot_matrix[3] = b
pot_matrix[4] = c
pot_matrix[5] = d
pot_matrix[6] = a_rs. Short-range cutoff.
Functions
|
Calculate the force error by integrating the square modulus of the force over the neglected volume.n The force error is calculated from |
|
Auxiliary function to be used in scipy.integrate.quad to calculate the integrand. |
|
Calculate the first and second derivative of the potential. |
|
Print potential specific parameters in a user-friendly way. |
|
Numba'd function to calculate the PP force between particles using the Moliere Potential. |
|
Assign potential dependent simulation's parameters. |