修訂 | 395a389a9ea9fe8f37ffd2c565f96190a75f1bac (tree) |
---|---|
時間 | 2008-07-09 04:50:35 |
作者 | iselllo |
Commiter | iselllo |
I corrected a small typo; the definition of the box size should not depend on cluster_size at all; it simply should
have the same value as the box of simulation which originated the cluster. I am calculating the box_size right now by
using the same formula as in the tcl script.
@@ -16,9 +16,14 @@ | ||
16 | 16 | |
17 | 17 | |
18 | 18 | size_cluster=50 |
19 | -density=0.03 | |
19 | +density=0.01 | |
20 | 20 | |
21 | -box_size=(size_cluster/density)**(1./3.) #here the box size does not depend on the total particle number | |
21 | +box_size=(5000./density)**(1./3.) #here the box size does not depend on the total particle number | |
22 | + | |
23 | +#here I am using 5000 since that is the number of monomers I was using in the simulation from which I | |
24 | +#extracted the aggregate; basically I am re-writing the formula to be sure I am generating the same box | |
25 | +#as the one I was using in the original simulation which gave rise to the cluster I want to relocate | |
26 | +#in a MUCH larger box. | |
22 | 27 | |
23 | 28 | #pos_arr=p.load("initial_5") |
24 | 29 | pos_arr=p.load("read_pos_1490_initial") |