This change is to patch key errors in energy calculations using MMM2D method.
Changes were made for the parts of near force, far force and layer contributions, respectively.
The paper of "Compu. Phys. Commu. 148, 2002, 327-348" and MMM2D code in ESPResSoMD were taken as references.
This change is to patch key errors in energy calculations using MMM2D method. Changes were made for the parts of near force, far force and layer contributions, respectively.
The paper of "Compu. Phys. Commu. 148, 2002, 327-348" and MMM2D code in ESPResSoMD were taken as references.