The way I would remedy the situation is:
- look at the Mathematica source file for thorn ML_ADMQuantities - remove the declaration of the external ML_BSSN variables - peek at thorn ML_BSSN to find how these are defined in terms of the ADM variables, and insert this definition where needed, e.g. calculating det g from g_ij instead of from W
For someone familiar with Kranc that should be straightforward, and not more difficult than creating a second version that attaches itself to ML_CCZ4.
-erik
On Wed, Apr 4, 2018 at 8:53 AM, Erik Schnetter schnetter@cct.lsu.edu wrote:
As written, thorn ML_ADMQuantities requires another thorn with the name ML_BSSN to be present.
-erik
On Wed, Apr 4, 2018 at 7:52 AM, Wolfgang Kastaun physik@fangwolg.de wrote:
On 04/04/2018 01:14 AM, Roland Haas wrote:
Hello Wolfgang,
@Roland: In the interface.ccl of ML_ADMConstraints I only see the ADM constraints, no expressions for ADM energy and angular momentum. Or did you mean something else?
I meant ML_ADMConstraint but did not check its interface.ccl. If they are not there then I have no better suggestion than Erik. Are the changes from BSSN to ccZ4 or Z4c more than just "replace K with K+X"?
As far as I remember, the BSSN variables are also present in the CCZ4 system, with differences only in the case of constraint violating states.
Yours, Roland
-- Erik Schnetter schnetter@cct.lsu.edu http://www.perimeterinstitute.ca/personal/eschnetter/