#2438: EOS_Omni's hybrid EOS fallback is setting parameters incorrectly
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: | EinsteinToolkit thorn |
In git hash b2c251c "Merged in PARMA (pull request #2)" of einsteineos EOS_Omni gained the ability to handle piece-polytropic EOS with a thermal part.
However there are a number of issues with this:
Pull request https://bitbucket.org/einsteintoolkit/einsteineos/pull-requests/8/do-not-modify-parameter-variables fixes this by introducing Fortran module variables to hold the EOS parameters and moving the initialization to the correct location. It also initializes the module in CCTK_STARTUP rather than WRAGH so that the module is set up early and code that calls EOS_Omni_GetHandle before WRAGH (and triggers a consistency check on the EOS parameters) sees the correct values.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2438/eos_omnis-hybrid-eos-fallback-is-setting