Calculates dipole correlation function for water simulated by the Gromacs molecular dynamics platform.