Abstract
Base thorn to provide the variables for the static conformal factor
This thorn provides the variables defining a static conformal factor which is used to transform the physical metric. If this thorn is active and the ADMBase::metric_type parameter is set to static conformal, then the ADMBase::g... variables are the conformal values as opposed to the physical values.
The transformation is
The extrinsic curvature is not transformed.
Memory is provided for the conformal factor psi, its first derivatives psix, psiy, psiz, and its second derivatives psixx, psixy, psixz, psiyy, psiyz, and psizz depending on the setting of the conformal_storage parameter.
Note that the first and second “derivative” grid functions have an additional factor of normalisation since this is the most common use of the derivative. I.e., the grid functions are
Thorns need to check the value of the grid scalar conformal_state to determine how many levels of these variables have actually been calculated before using the conformal factor:
Note that this means that if you only want to know whether psi contains the values for the conformal factor you can check for conformal_state > 0.
StaticConformal provides aliased functions to convert between physical and conformal 3-metric values. It is very important to understand that these functions apply the conversion in place. That is, if gxx contains the conformal metric value, when the routine is exited it will now contain the physical metric value. These functions do not change the value of conformal_state and should be used with due care. (These functions are for example used by some analysis thorns who work only with the physical metric, they apply the transformation on entry to the analysis routine and switch it back on exit).