espressomd-devel
[Top][All Lists]
Advanced

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

Re: [ESPResSo-devel] harmonic potential


From: Christoph Junghans
Subject: Re: [ESPResSo-devel] harmonic potential
Date: Wed, 22 Oct 2008 15:29:56 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20080914)

There it is -> CVS.

If you set the cutoff to something negative, you get back the old behavior.

Cheers,

Christoph

Torsten Stuehn schrieb:
Hi Axel,

I vote for a 2.0*r default cutoff for the harmonic bonds. This should be large 
enough
for most cases. As Christoph proposed, we could use a negative cut off for "no cut 
off".
Then we don't need an additional switch for this.

Torsten.

Axel Arnold wrote:
Hi all,

currently, there is a problem with the harmonic potential on multi-processor systems: to calculate any bonded potential, both bonding partners need to be on the same processor, at least as a ghost. To ensure this, the maximal cutoff needs to be larger than the distance of the two bonding partners. For the harmonic potential, this distance can in general be infinite; but currently, the maximal cutoff is only set to the _minimum_ of the harmonic potential.

There are some solutions:
- use the skin to increase the max_cutoff: Bad idea, since Espresso will then create huge Verlet lists, and on the other hand, particles can move at most skin/2 before the ghost shells are recalculated, leaving essentially the same problem. - give the harmonic potential also a breaking distance, not only a minimum: that is, we specify a second length, after which the potential breaks. That will however change the syntax of the harmonic potential, although we could provide a default (e.g. 2*r). In addition, we could also provide a switch to turn off breaking. At least on single processors, a harmonic bond would never break.

Any votes? Suggestions?

Axel




--
Dipl.-Phys. Christoph Junghans
Max Planck Institute for Polymer Research
Theory Group
POBox 3148
D 55021 Mainz, Germany

Phone: +49 6131 379 335
Web: http://www.mpip-mainz.mpg.de/~junghans




reply via email to

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