Skip to main content
. 2022 Jan 4;156(1):014801. doi: 10.1063/5.0070869

FIG. 1.

FIG. 1.

Pseudo-code for an algorithm to solve the 3D-RISM equations using c~ and a “shift” in hOZ (starred line). The code assumes HNC closure for simplicity; the other starting estimates for c~0 may be used, such as the result from a previous step of minimization or MD. FT is the Fourier transform, MDIIS is a version of the direct inversion of the iterative subspace,12,39 and thresh is a convergence threshold. For a neutral solute, or for pure water as a solvent, hbk is zero.