Skip to content

Commit cbdfaf3

Browse files
committed
Small bugs
1 parent 77b40a4 commit cbdfaf3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/common/m_chemistry.fpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
module m_chemistry
1010

1111
use m_thermochem, only: &
12-
num_species, molecular_weights, get_temperature, get_net_production_rates
12+
num_species, molecular_weights, get_temperature, get_net_production_rates, &
13+
gas_constant
1314

1415
use m_global_parameters
1516

@@ -58,7 +59,7 @@ contains
5859

5960
end subroutine s_compute_q_T_sf
6061

61-
subroutine s_compute_T_from_primitives(q_T_sf, q_cons_vf, idwint)
62+
subroutine s_compute_T_from_primitives(q_T_sf, q_prim_vf, bounds)
6263

6364
type(scalar_field), intent(inout) :: q_T_sf
6465
type(scalar_field), dimension(sys_size), intent(in) :: q_prim_vf

src/pre_process/m_initial_condition.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ contains
195195
! Converting the primitive variables to the conservative ones
196196
call s_convert_primitive_to_conservative_variables(q_prim_vf, q_cons_vf)
197197

198-
if (chemistry) call s_compute_T_from_primitives(q_T_sf, q_cons_vf, idwint)
198+
if (chemistry) call s_compute_T_from_primitives(q_T_sf, q_prim_vf, idwint)
199199

200200
if (qbmm .and. .not. polytropic) then
201201
!Initialize pb and mv

0 commit comments

Comments
 (0)