What particles are supposed to be written to the pressure file?
The file should only contain particles belonging to the body of the worm, right?
If that is the case, I think I found a bug.
There should be 2289 elastic matter particles belonging to the worm using 'worm_crawl_half_resolution' config?
$ cat configuration/worm_crawl_half_resolution | grep -P ^"[0-9]+\.[0-9]+\s[0-9]+\.[0-9]+\s[0-9]+\.[0-9]+\s2\.[1-2]" | wc -l
2289
$ ./Release/Sibernetic -f worm_crawl_half_resolution -l_to -no_g timelimit=0.001
$ head buffers/pressure_buffer.txt
[Iteration 0]
Particle: 0
Position: 4.19954 2.42451 4.19958 2.3
Pressure: 0
Particle: 1
Position: 4.21678 3.95076 4.21895 2.3
Pressure: 0
Particle: 2
Position: 4.56932 4.51407 4.54354 2.3
Pressure: 0
There are particles with the type, e.g., '2.3' what is interpreted as an agar particle?
If I am right, only particles with '2.1 <= type < 2.3' should be inside the file.
Every iteration, 1425 particles get written to the file (should be 2289?)
$ cat buffers/pressure_buffer.txt | grep ^Particle: | wc -l
1425
What particles are supposed to be written to the pressure file?
The file should only contain particles belonging to the body of the worm, right?
If that is the case, I think I found a bug.
There should be 2289 elastic matter particles belonging to the worm using 'worm_crawl_half_resolution' config?
There are particles with the type, e.g., '2.3' what is interpreted as an agar particle?
If I am right, only particles with '2.1 <= type < 2.3' should be inside the file.
Every iteration, 1425 particles get written to the file (should be 2289?)