Opened 3 years ago

Last modified 3 years ago

#1841 new defect

GRHydro tracers broken

Reported by: I.Hawke@… Owned by:
Priority: unset Milestone:
Component: EinsteinToolkit thorn Version: development version
Keywords: GRHydro Cc:


The GRHydro::GRHydro_tracers group is not registered as a constrained variable with MoL in GRHydro. This means that, in runs with insufficient conserved variables and other memory settings, the first step through the loop sets NaNs for the tracers: they then fail to update (or, at least, not correctly).

To fix this, add


on or around line 143 of

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by I.Hawke@…

This is not the only problem with tracers, as I've since found.

Currently all reconstruction of tracers is done on the primitive variables, but the conserved are never updated. This can be fixed by adding

if (evolve_tracer .ne. 0) then

call Prim2ConservativeTracer(CCTK_PASS_FTOF)

end if

at the end of GRHydro_Reconstruct.F90, but *only* if the use_cxx_code parameter is set to no.

To truly fix tracers, the C++ version will also need a P2C_Tracer routine, which needs calling at the end.

comment:2 Changed 3 years ago by Frank Löffler

Ian: would you like to propose a fix for all the problems you encounter?

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.