If you look at the code in MaestroEnthalpyAdvance.cpp, we do:
// needs to be done after the state was returned to the full state.
if ((enthalpy_pred_type == predict_T_then_rhohprime) ||
(enthalpy_pred_type == predict_T_then_h) ||
(enthalpy_pred_type == predict_Tprime_then_h)) {
`(sedge, rho0_edge_old, rhoh0_edge_old, rho0_edge_new,
rhoh0_edge_new);
}
but in HfromRhoTedge, it is not clear where we are getting the temperature from.
In the original MAESTRO, we passed in the temperature.
If you look at the code in
MaestroEnthalpyAdvance.cpp
, we do:but in
HfromRhoTedge
, it is not clear where we are getting the temperature from.In the original MAESTRO, we passed in the temperature.