@@ -232,7 +232,7 @@ module m_global_parameters
232232 integer :: pi_inf_idx !< Index of liquid stiffness func. eqn.
233233 type(int_bounds_info) :: stress_idx !< Indexes of first and last shear stress eqns.
234234 integer :: c_idx ! Index of the color function
235- type(int_bounds_info) :: chemistry_idx !< Indexes of first & last concentration eqns.
235+ type(int_bounds_info) :: species_idx !< Indexes of first & last concentration eqns.
236236 type(int_bounds_info) :: temperature_idx !< Indexes of first & last temperature eqns.
237237 !> @}
238238
@@ -286,7 +286,7 @@ module m_global_parameters
286286
287287 integer :: startx, starty, startz
288288
289- !$acc declare create(sys_size, buff_size, startx, starty, startz, E_idx, gamma_idx, pi_inf_idx, alf_idx, n_idx, stress_idx, chemistry_idx )
289+ !$acc declare create(sys_size, buff_size, startx, starty, startz, E_idx, gamma_idx, pi_inf_idx, alf_idx, n_idx, stress_idx, species_idx )
290290
291291 ! END: Simulation Algorithm Parameters =====================================
292292
@@ -1068,9 +1068,9 @@ contains
10681068 end if
10691069
10701070 if (chemistry) then
1071- chemistry_idx %beg = sys_size + 1
1072- chemistry_idx %end = sys_size + num_species
1073- sys_size = chemistry_idx %end
1071+ species_idx %beg = sys_size + 1
1072+ species_idx %end = sys_size + num_species
1073+ sys_size = species_idx %end
10741074
10751075 temperature_idx%beg = sys_size + 1
10761076 temperature_idx%end = sys_size + 1
@@ -1089,13 +1089,13 @@ contains
10891089 strxe = stress_idx%end
10901090 intxb = internalEnergies_idx%beg
10911091 intxe = internalEnergies_idx%end
1092- chemxb = chemistry_idx %beg
1093- chemxe = chemistry_idx %end
1092+ chemxb = species_idx %beg
1093+ chemxe = species_idx %end
10941094 tempxb = temperature_idx%beg
10951095 tempxe = temperature_idx%end
10961096
10971097 !$acc update device(momxb, momxe, advxb, advxe, contxb, contxe, bubxb, bubxe, intxb, intxe, sys_size, buff_size, E_idx, alf_idx, n_idx, adv_n, adap_dt, pi_fac, strxb, strxe, chemxb, chemxe, tempxb, tempxe)
1098- !$acc update device(chemistry_idx )
1098+ !$acc update device(species_idx )
10991099 !$acc update device(cfl_target, m, n, p)
11001100
11011101 !$acc update device(alt_soundspeed, acoustic_source, num_source)
0 commit comments