[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo-users] track a particle in each time step
From: |
Axel Arnold |
Subject: |
Re: [ESPResSo-users] track a particle in each time step |
Date: |
Mon, 17 Mar 2014 09:50:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/16/2014 09:59 AM, Narges Nikoofard wrote:
> Dear Espresso users,
>
> I am simulating a confined polymer. I should count the number of times
> the end monomers enter a pre-defined region in the space. So, I need
> to track the end monomers' position. I need to know the end monomers'
> position in each time step of the simulation.
>
> As a result, I have used "integrate 1" in my code. So, I can get the
> monomers position in each time step and check if they are in the
> specified region. This makes the code very slow. Is there any way to
> solve this problem?
You can use the "observable" command for tracking the position. For
doing more complex operations on-the-fly, it also should be fairly easy
to implement a new observable for your needs in C.
Axel
--
JP Dr. Axel Arnold
ICP, Universität Stuttgart
Allmandring 3
70569 Stuttgart, Germany
Email: address@hidden
Tel: +49 711 685 67609