lanl/singularity-eos

Add extrapolation to rho = 0 for spiner tables

Open

#541 opened on Aug 15, 2025

View on GitHub
 (0 comments) (1 reaction) (0 assignees)C++ (21 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (36 stars)
PR merge metrics
 (PR metrics pending)

Description

Right now spiner's logarithmic interpolation means that it can never extrapolate to exactly rho = 0. An easy fix would be to check if rho < the minimum density on the table, and if it is compute pressure as $P(rho, T) = \rho \Gamma(\rho_m, T)$ where here $\rho_m$ is the minimum density and $\Gamma$ is the Gruneisen coefficient. And one could do a similar thing for temperature.

Thanks @jhp-lanl for reminding me of this issue.

Contributor guide