#2952: GRHayLET/IllinoisGRMHD convert_*_to_*.c magnetic sector subleties
| Reporter: | Maxwell Rizzo |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | minor |
| Component: | EinsteinToolkit thorn |
convert_HydroBase_to_IllinoisGRMHD.c
HydroBase Aphi is directly copied into IllinoisGRMHD phitilde on line 29. A comment in the interface says "# phitilde (=Phi*psi^6)", and another "sqrt{gamma} Phi", so I believe the direct copy is missing a factor of Psi^6 or sqrt(det gamma). It is also missing a mag_factor scaling of 1/4pi when compared to the Avec copying, I am not sure if it is correct without it or it should have it given mag_factor/rescale_magnetics is on by default.
IllinoisGRMHD Ax/Ay/Az are face centered staggered, Aphi is vertex centered. They are populated directly from HydroBase cell centered quantities. This is a bit subtle for Initial Data thorns to interface with properly, it is somewhat documented but could be a bit clearer.
convert_IllinoisGRMHD_to_HydroBase.c
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2952/grhaylet-illinoisgrmhd-convert_-_to_-c