grackle-project / grackle

The Grackle chemistry and cooling library for astrophysical simulations and models.
Other
26 stars 50 forks source link

Transcribe the `scale_fields_table_g` function from Fortran to C. #228

Open mabruzzo opened 4 months ago

mabruzzo commented 4 months ago

The title is very self explanatory. The scale_fields_table_g function is incredibly simple, so this was extremely simple and straightforward.

Assuming that all of the tests pass, this should be extremely easy to review. (It might be slightly easier to walk through the commits, where I tried to systematically make changes)