Calculate the static dielectric constant from a trajectory.
Parameters: | traj : Trajectory
charges : np.ndarray, shape=(n_atoms), dtype=float
temperature : temperature, float
|
---|---|
Returns: | static_dielectric : float,
|
Notes
See eqn. (2) in 10.1021/jp3002383 or eqn. (7) in 10.1063/1.1476316 or https://github.com/gromacs/gromacs/blob/master/src/gromacs/gmxana/gmx_current.c#L622