Eight Halos
Since the single test found all of the particles, let's see if we can make more halos. This will duplicate the halos in each of the eight tiles.
Create Grid
cable:~/packages/voboz1.1.1 rpwagner$ gcc -g eight_halo.c cable:~/packages/voboz1.1.1 rpwagner$ ./a.out cable:~/packages/voboz1.1.1 rpwagner$ ls -l eight_halo*raw -rw-r--r-- 1 rpwagner rpwagner 3652 Jan 14 14:54 eight_halo.raw -rw-r--r-- 1 rpwagner rpwagner 3652 Jan 14 14:54 eight_halo_vel.raw cable:~/packages/voboz1.1.1 rpwagner$
vozinit
cable:~/packages/voboz1.1.1 rpwagner$ ./vozinit eight_halo.raw 0.3 1 2 hoo cable:~/packages/voboz1.1.1 rpwagner$
cable:~/packages/voboz1.1.1 rpwagner$ cat scrhoo #!/bin/bash -f ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 0 0 0 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 0 0 1 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 0 1 0 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 0 1 1 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 1 0 0 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 1 0 1 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 1 1 0 ./voz1b1 eight_halo.raw 0.300000 1.000000 hoo 2 1 1 1 ./voztie 2 hoo cable:~/packages/voboz1.1.1 rpwagner$
voz1b1 and voztie
cable:~/packages/voboz1.1.1 rpwagner$ ./scrhoo << blah, blah, blah >>
We've got the results from each tile,
cable:~/packages/voboz1.1.1 rpwagner$ ls -1 part.goo.0* part.goo.00.00.00 part.goo.00.00.01 part.goo.00.01.00 part.goo.00.01.01 part.goo.01.00.00 part.goo.01.00.01 part.goo.01.01.00 part.goo.01.01.01 cable:~/packages/voboz1.1.1 rpwagner$
and the data files from voztie.
cable:~/packages/voboz1.1.1 rpwagner$ ls -1 *hoo.dat adjhoo.dat volhoo.dat cable:~/packages/voboz1.1.1 rpwagner$
jovoz
cable:~/packages/voboz1.1.1 rpwagner$ ./jovoz adjhoo.dat volhoo.dat hoozone.dat hoozone.txt 0.01 About to jump ... Post-jump ... 10 initial haloes found Found zone adjacencies Volumes range from 1.604760e-02 to 3.907310e+00. Maxprob = 45.346321. about to sort ... cable:~/packages/voboz1.1.1 rpwagner$
Again, some files.
cable:~/packages/voboz1.1.1 rpwagner$ ls -1 goozone.* hoozone.dat hoozone.txt
More different stuff. There are now 8 halos before unbinding.
cable:~/packages/voboz1.1.1 rpwagner$ cat hoozone.txt 8 2 38 3.760649e+04 4.188489e+00 0 38 2.647342e+04 4.191698e+00 3 38 2.103354e+04 4.200162e+00 5 38 2.035227e+04 4.200162e+00 6 38 1.927709e+04 4.188489e+00 1 38 1.879743e+04 4.201475e+00 4 38 1.388811e+04 4.201078e+00 7 38 9.658798e+03 4.200162e+00 cable:~/packages/voboz1.1.1 rpwagner$
boz
cable:~/packages/voboz1.1.1 rpwagner$ ./boz 1.0 0.3 1.0 eight_halo.raw eight_halo_vel.raw hoozone.dat hoohalos.dat hoohalos.txt 1.01 a = 1.000000 => Multiplying H0 by 1.000000e+00 cell, potconst = 1.000000,3.580986e+02 np = 304 np: 304, x: 0.125000,0.875000; y: 0.125000,0.875000; z: 0.125000,0.875000 vx: -9.545235,7.955445; vy: -9.560103,9.885235; vz: -9.567905,9.920633 np = 304, nhaloes = 8 Previous output bound zone file found. Moving it to boz.tmp and reading from it ... Numbers of haloes (8,10) don't match! Not using previous outz file -1 haloes read from file. Done! Outputting ... Nhunb = 8 cable:~/packages/voboz1.1.1 rpwagner$ cat hoohalos.txt 8 8 2 38 38 3.760649e+04 1.113768e-04 -inf -inf 130 8 8 1 1 0.125000 0.375000 0.625000 -3.905627e-01 2.837789e-01 -1.575382e-01 0 38 38 2.647342e+04 1.583361e-04 -inf -inf 72 0 0 1 1 0.375000 0.375000 0.375000 -6.734796e-01 -4.003255e-01 4.501897e-01 3 38 38 2.103354e+04 1.996888e-04 -inf -inf 182 10 10 1 1 0.375000 0.625000 0.875000 8.908156e-02 -7.637181e-01 4.925390e-01 5 38 38 2.035227e+04 2.063731e-04 -inf -inf 222 34 34 1 1 0.875000 0.125000 0.375000 -9.776305e-01 -1.132648e-01 -5.730272e-01 6 38 38 1.927709e+04 2.172781e-04 -inf -inf 246 40 40 1 1 0.375000 0.625000 0.875000 -7.412561e-01 -7.249421e-02 2.131617e-01 1 38 38 1.879743e+04 2.235133e-04 -inf -inf 95 2 2 1 1 0.000000 0.000000 0.000000 6.609459e-01 4.120599e-01 -7.517011e-02 4 38 38 1.388811e+04 3.024945e-04 -inf -inf 184 32 32 1 1 0.625000 0.625000 0.875000 6.083255e-01 5.963931e-01 4.651518e-01 7 38 38 9.658798e+03 4.348535e-04 -inf -inf 276 42 42 1 1 0.254860 0.253887 0.241265 -3.064480e-01 3.055289e-01 -1.186070e-03 cable:~/packages/voboz1.1.1 rpwagner$
Attachments
- eight_halo.c (1.6 KB) - added by rpwagner 23 months ago.
