espressomd-users
[Top][All Lists]
Advanced

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

Re: [ESPResSo] Analyzing chains of various lengths


From: Axel Arnold
Subject: Re: [ESPResSo] Analyzing chains of various lengths
Date: Wed, 9 Jan 2008 15:41:33 +0100
User-agent: KMail/1.7.1

> SCRIPT B:
> for {set i 0} {$i < 10} { incr i } {
>    analyze set chains ID_of_chain_i 1
> length_of_chain_i
>    analyze re ID_of_chain_i 1 length_of_chain_i
>    analyze rg ID_of_chain_i 1 length_of_chain_i
>    analyze rh ID_of_chain_i 1 length_of_chain_i
> }

If you use the long format of analyze re/rg/rh..., then the 'analyze set 
chains' is not necessary at all;

analyze set chains ID_of_chain_i 1; analyze re

does the same as 

analyze re ID_of_chain_i 1 length_of_chain_i

For your problem the simplest approach is therefore to simply use

analyze re starting_particle_id_of_chain_1 1 length_of_chain_1
analyze rg
analyze rh

analyze re starting_particle_id_of_chain_2 1 length_of_chain_2
analyze rg
analyze rh

analyze re starting_particle_id_of_chain_3 1 length_of_chain_3
analyze rg
analyze rh

Many regards,
Axel

-- 
Dr. Axel Arnold 
Fraunhofer Institute for Algorithms and Scientific Computing (SCAI)
Schloss Birlinghoven
53754 Sankt Augustin
Germany



reply via email to

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