-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an EOS interface with NSE #1405
Conversation
this works by differentiating the cubic interpolant
this seems to work really well now, but needs a bit of cleaning |
this is ready, but depends on #1407 so that should be reviewed / merged first |
|
||
constexpr bool skip_X_fill{true}; | ||
nse_interp(nse_state, skip_X_fill); | ||
Real abar_old = nse_state.abar; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This abar_old
looks unncessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's needed for the EOS call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean why can't we just do nse_state.abar
in line 71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh. we could. I didn't think it mattered much.
solving for T(e) or T(p) in NSE is trickier than our standard interface because Abar and Zbar are
also a function of rho, T, Ye through the NSE table. This does a self-consistent inversion of the
EOS together with the NSE table.