[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] Individual particle energies

From: Rudolf Weeber
Subject: Re: [ESPResSo-users] Individual particle energies
Date: Tue, 4 Dec 2018 14:20:58 +0100
User-agent: Mutt/1.9.4 (2018-02-28)

On Tue, Dec 04, 2018 at 12:53:17PM +0000, Rhys Goodall wrote:
> I'm looking to find the potential energy in order to use Henderson's method 
> for estimating the cavity function. What do you mean by specific energy 
> contribution?
> This boils down to evaluating psi = sum_{i != t}  phi(r_i) where phi(r_i) is 
> the potential energy between the specified particle (t) and the ith particle. 
> I supposed that I can pull the particle positions and then evaluate the 
> relevant potential energies from my interaction tables if there's not a 
> convenient way to do it already implemented.
This information is not directly available in Espresso.
An easy but not efficient workaround would be to temporarily remove the 
particle and compare the difference in energy.


You might have to store more particle properties, and if bonds are involved, 
things are more complicated.

You'd have to try whether this meets your performance requirements.

A less drastic solution might be to temporarily alter the particle type and 
charge (again ignoring bonds)

Regards, Rudolf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]