Closed nghi-truyen closed 1 month ago
@nghi-truyen Every fluxes that are not inout of elemental subroutine of each module are not returned. We need to change the signature of this subroutine to handle this.
Yes, for example, we need to change ps and es to intent(out) in the production routine, and then pass them into returns%internal%fluxes in the gr4_time_step routine (and also add make some changes to the Python interface, e.g. _constant.py of course). Does that pose a problem?
Yes I'd go for this
P.S.: I just merged the writing fluxes code into my branch with hybrid models here: https://github.com/nghi-truyen/smash-dev/tree/enh-hybrid-models (I haven't put in a PR for this branch yet because I am waiting for the two previous PRs to be completed, but no pressure at all for you ;))
So I'd rather address this issue after the branch on hybrid models is merged.
The following two fluxes, which are corrected by the hybrid models, are missing in the return_options: