|
Peano
|
-single-black-hole More...
-single-black-hole
Extract a profile along a line from the checkpoints of the single black hole
The checkpoints of single-black-hole.py are the snapshots of the patch file solution-CCZ4.peano-patch-file. The script samples one snapshot at points equidistantly distributed along a line from –start to –end with Peano's PointProbe and writes one csv file with the columns x, y, z, r (the distance to the puncture), followed by all unknowns found in the checkpoint. The default line is the x-axis shifted by half a volume in y and z, as the puncture itself sits on a volume face and the initial data is singular there.
python3 probe-single-black-hole.py --snapshot -1 --start -20 0.1 0.1 --end 20 0.1 0.1 --samples 400
Peano's PointProbe takes the value of the volume or grid cell that contains the sampling point, i.e. it does not interpolate. It parses the patch files once per sampling point, so keep –samples moderate for large checkpoints. With –list, the script only prints the time stamps of the snapshots.