[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: avoiding calling cells_on_geometry_change() each time interaction is
Re: avoiding calling cells_on_geometry_change() each time interaction is added
Thu, 23 Apr 2020 17:18:30 +0200
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.
On 17:09 Thu 23 Apr , Ivan Cimrak wrote:
> I wonder whether it is necessary to call
> 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?