opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Dr. Simon Friederich" <s.friederich AT uni-mainz.de>
- To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
- Subject: [Opal] Gather all variables after ENDTRACK
- Date: Thu, 18 Mar 2021 17:29:51 +0100
- Authentication-results: localhost; iprev=pass (ironport-2.zdv.net) smtp.remote-ip=134.93.178.242; spf=pass smtp.mailfrom=uni-mainz.de; dkim=pass header.d=uni-mainz.de header.s=20190702 header.a=rsa-sha256; dmarc=pass header.from=uni-mainz.de
- Ironport-hdrordr: A9a23:es6yGa8HCp6qKLtFMKNuk+BzI+orLtY04lQ7vn1ZYxpTb8Ceio SSh/wdzxD5k3I8X3snlNCGNsC7MBfh3LRy5pQcOqrnYRn+tAKTXeRfxKbr3jGIIU3D38FH06 MIScRDIfnRKXQ/ssrg+gm/FL8bsbu62YSln/3XwXsobSwCUcBdxiFjBA6dEl5/WQlBAvMCe6 a03cZMqzq+dXl/VK3SbRM4dtPOusHRk9beaQMGbiRXjzWmty+i67LxDnGjsCs2bjUn+9of2F Tenxe8zquutOzT8G6+60bjq75SmNfn1+JZAt2NhsU/OlzX+3+VTbUkfaaDsjAzqPyu71hvsO CkmWZHA/hO
- Ironport-phdr: A9a23:1mpMLRDZrPbSbaPLLx2zUyQUF0QY04WcBSYlr6E/grcLSJyIuqrYV GTh7PlgxGXEQZ/co6odzbaP4ua5AjJLv83JmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnF t9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+M RG7oR/MusQYgIZuJac8xxXUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ 7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8 qlmRAP0hCoBKjU09nzchM5tg6JBuB+vuRxxw4nJbo+WOvRxcKzScs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tAmTAcf02dXGY/AUJdiHf6Z9tZS6ojSv+GOMpjV+TqWpqi05WgtQ3v+SN E8jcy+AszM/5pVWyZbz39jzXp29n6Jsx1bO0TsU2tTLz0BtydEeTDHBaESQlGiSgjE85EbEJmx qKPp5EW1o9CkhuHFaELd8ae2z2EisRyL5RGJWGK0sUbFyT2rS0DrSJBrpZ6m0Zi/eSnXINWi0E A0vRA92RFoilV6xjcOkx1vPyO/Gyyc7CO2BRPqvDddmn1ozwKrIT8pb7MT9bP80yUOe4AnT7Ix HKE=
- Organization: Institut für Kernphysik Mainz
Dear OPAL-Team,
I want to save all custom variables/parameters into a file after a simulation has finished.
Then I can look up e.g. the set quadrupole strength (I set this via a variable) for the specific run.
Do you think this is possible using the OPAL-syntax and, if so, can you suggest something? (In a python session i would properly do this using the "globals()" command. I was thinking of having a python-script reading all ".in"-files and filter their content for "REAL", "REAL VECTOR", and "STRING".)
The best would be to do this after "ENDTRACK;" because sometimes I overwrite variables inbetween (e.g. the zstart-parameter when using imported distributions; Thanks again to Christof for this hint, it's really handy).
Best regards
Simon
--
Dr. Simon Friederich
Helmholtz-Institut Mainz | Insitut für Kernphysik
Kollaboration ACID | B
Johannes Gutenberg-Universität Mainz
Staudingerweg 18 | Johann-Joachim-Becherweg 45
55128 Mainz, Deutschland
Tel.: +49 (0)6131 39-23160
E-Mail: s.friederich AT uni-mainz.de
-
[Opal] Gather all variables after ENDTRACK,
Dr. Simon Friederich, 03/18/2021
- Re: [Opal] Gather all variables after ENDTRACK, Adelmann Andreas (PSI), 03/18/2021
Archive powered by MHonArc 2.6.19.