[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo] remove & change in bonded interactions
From: |
Axel Arnold |
Subject: |
Re: [ESPResSo] remove & change in bonded interactions |
Date: |
Thu, 8 Apr 2010 14:35:28 +0200 |
User-agent: |
KMail/1.10.3 (Linux/2.6.27.45-0.1-default; KDE/4.1.3; x86_64; ; ) |
Hi!
On Thursday 08 April 2010 13:20:39 samira jamalian wrote:
> Dear all,
>
> I am working on a system of particles which are bonded. I have 5000 bonds
> from one bonded interaction style. During my simulation, I need to remove a
> group of these bonds. How could I do that?
part 10 bond delete 0 11
deletes a bond of type 0 to particle 11 from particle 10. That is, you need to
know what bonds you need to delete, and with which particle you defined them,
then you can delete them by using the same command as setting them, just with
the additional keyword delete.
part 10 bond delete
will delete all bonds registered with particle 10.
> I have another question:
> Assume that you have a harmonic potential:
>
> *inter 10 harmonic $K $R*
>
> I want to change the R of a special bond during my simulation. If I
> define: *
> inter 10 harmonic $K $R_new*
>
> Would it be overwritten on the old one?
Yes. You can also change the type of bond, but not from harmonic to e.g.
angular, since then you don't have the right number of bonding partners.
Cheers,
Axel
--
Dr. Axel Arnold Tel: +49 711 685 67609
ICP, Universität Stuttgart Email: address@hidden
Pfaffenwaldring 27
70569 Stuttgart, Germany