Dear ET users,
currently HydroBase does not initialize the Lorentz factor.
This is a problem for my code because it uses the Lorentz factor to compute the fluid four-velocity, which is needed for some other calculations. Since it makes perfect sense to use my code in situations where the fluid is not evolved, or even when there is no fluid at all, I cannot rely on GRHydro, Whisky or some other ID thorn to fill-in the Lorentz factor. It would be better, instead, if the Lorentz factor was initialized to 1 in the case where there is no fluid, but HydroBase is activated. In this way one is automatically guaranteed that the Lorentz factor is meaningful.
For this reason I created the attached (trivial) patch for HydroBase that simply initializes w_lorentz to 1. Could you please consider applying this patch to the trunk version of HydroBase?
Best, David
Hi,
On Tue, May 08, 2012 at 10:48:55AM +0200, David Radice wrote:
For this reason I created the attached (trivial) patch for HydroBase that simply initializes w_lorentz to 1. Could you please consider applying this patch to the trunk version of HydroBase?
Thanks for sending the patch. Indeed, the Lorentz factor should be initialized, as the velocities are reset as well. Your patch has been applied.
Frank
users@lists.einsteintoolkit.org