espressomd-devel
[Top][All Lists]
Advanced

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

Re: avoiding calling cells_on_geometry_change() each time interaction is


From: Steffen Hirschmann
Subject: Re: avoiding calling cells_on_geometry_change() each time interaction is added
Date: Thu, 23 Apr 2020 17:18:30 +0200

Hi Ivan,

I suppose you want to get rid of the extra runtime it is taking?
There is a couple of things you can do out-of-the box:
a) Add interactions sorted by cutoff starting with the largest. This
should prohibit a domain_decomposition cell_system from reinitializing
over and over, again.
b) Set nsquares cell system (on_geometry_change is a noop for this
cell_system) and later switch to domain_decomposition.

Greetings,
Steffen


On 17:09 Thu 23 Apr     , Ivan Cimrak wrote:
> Hi,
> 
> I wonder whether it is necessary to call 
> cells_on_geometry_change
> each time a bonded interaction is added to system. Is it possible to call 
> this only after a bunch of interactions are added and not each time?
> 
> Ivan
g



reply via email to

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