#551: Output metadata from TwoPunctures -----------------------------------+---------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Keywords: TwoPunctures | -----------------------------------+---------------------------------------- It is desirable to be able to determine the properties of !TwoPunctures initial data from the simulation output. Currently, some quantities (initial momenta etc.) can be determined by parsing the parameter file and param.ccl, and others by parsing the standard output of the run (ADM mass). Neither of these are optimal.
The attached patch causes !TwoPunctures to output a metadata file in the form described in [http://arxiv.org/abs/0709.0093 Data formats for numerical relativity waves]. The keys used include current draft proposals used in the NR-AR project.
To encourage the use of this, I have made the output happen unconditionally.
The output filename is !TwoPunctures.bbh and it is written into IO::out_dir. The metadata file looks like this:
{{{ # ================================== # Numerical Relativity Metadata file # ================================== # # This file contains information about the simulation provided by the # TwoPunctures thorn. The format is described in the NR Data Format Document # http://arxiv.org/abs/0709.0093 [draft SVN r707].
[metadata] initial-ADM-energy = 1.190594340667362472 initial-ADM-angular-momentumx = 0.1100000000000000006 initial-ADM-angular-momentumy = 0.2200000000000000011 initial-ADM-angular-momentumz = 1.195856641772157003 initial-separation = 7 initial-data-type = Bowen-York initial-data-bibtex-keys = Bowen:1980yu Brandt:1997tf Ansorg:2004ds initial-bh-position1x = 3.5 initial-bh-position1y = 0 initial-bh-position1z = 0 initial-bh-position2x = -3.5 initial-bh-position2y = 0 initial-bh-position2z = 0 initial-bh-momentum1x = -0.003358311330506950042 initial-bh-momentum1y = 0.1236938059674509982 initial-bh-momentum1z = 0 initial-bh-momentum2x = 0.003358311330506950042 initial-bh-momentum2y = -0.1236938059674509982 initial-bh-momentum2z = 0 initial-bh-spin1x = 0.1000000000000000056 initial-bh-spin1y = 0.2000000000000000111 initial-bh-spin1z = 0.2999999999999999889 initial-bh-spin2x = 0.01000000000000000021 initial-bh-spin2y = 0.02000000000000000042 initial-bh-spin2z = 0.02999999999999999889 initial-bh-puncture-adm-mass1 = 0.7117197159189734279 initial-bh-puncture-adm-mass2 = 0.5107035566228820267 }}}