Skip to content

Commit 7d39b27

Browse files
committed
Merge branch 'development' of github.com:starkiller-astro/Microphysics into development
2 parents 946c111 + da80977 commit 7d39b27

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

integration/VODE/vode_type_simplified_sdc.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,8 @@ subroutine jac_to_vode(time, jac_react, vode_state, jac)
544544

545545
eos_state % rho = vode_state % rpar(irp_SRHO)
546546
eos_state % T = 1.e4 ! initial guess
547-
eos_state % xn(:) = y(SFS:SFS-1+nspec)/vode_state % rpar(irp_SRHO)
548-
eos_state % h = y(SENTH)/vode_state % rpar(irp_SRHO)
547+
eos_state % xn(:) = vode_state % y(SFS:SFS-1+nspec)/vode_state % rpar(irp_SRHO)
548+
eos_state % h = vode_state % y(SENTH)/vode_state % rpar(irp_SRHO)
549549

550550
call eos(eos_input_rh, eos_state)
551551

interfaces/burn_type.F90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ module burn_type_module
4444
real(rt) :: aux(naux)
4545
#endif
4646

47+
#if SDC_EVOLVE_ENTHALPY
48+
! make pressure available to RHS
49+
real(rt) :: p0
50+
#endif
51+
4752
real(rt) :: cv
4853
real(rt) :: cp
4954
real(rt) :: y_e

0 commit comments

Comments
 (0)