@@ -167,53 +167,55 @@ subroutine set_base_force_addresses &
167167 & .or. check_flux_tensors(field_name) &
168168 & .or. check_asym_flux_tensors(field_name)
169169 if (flag) then
170- if (field_name .eq. pressure_gradient% name) then
170+ if (field_name .eq. pressure_gradient% name) then
171171 forces% i_press_grad = i_phys
172- else if (field_name .eq. inertia% name) then
172+ else if (field_name .eq. inertia% name) then
173173 forces% i_m_advect = i_phys
174- else if (field_name .eq. Coriolis_force% name) then
174+ else if (field_name .eq. Coriolis_force% name) then
175175 forces% i_coriolis = i_phys
176- else if (field_name .eq. Lorentz_force% name) then
176+ else if (field_name .eq. Lorentz_force% name) then
177177 forces% i_lorentz = i_phys
178- else if (field_name .eq. magnetic_tension% name) then
178+ else if (field_name .eq. magnetic_tension% name) then
179179 forces% i_m_tension = i_phys
180180!
181- else if (field_name .eq. thermal_buoyancy% name) then
181+ else if (field_name .eq. thermal_buoyancy% name) then
182182 forces% i_thrm_buo = i_phys
183- else if (field_name .eq. composite_buoyancy% name) then
183+ else if (field_name .eq. composite_buoyancy% name) then
184184 forces% i_comp_buo = i_phys
185+ else if (field_name .eq. buoyancy% name) then
186+ forces% i_buoyancy = i_phys
185187!
186- else if (field_name .eq. vecp_induction% name) then
188+ else if (field_name .eq. vecp_induction% name) then
187189 forces% i_vp_induct = i_phys
188- else if (field_name .eq. magnetic_induction% name) then
190+ else if (field_name .eq. magnetic_induction% name) then
189191 forces% i_induction = i_phys
190- else if (field_name .eq. magnetic_stretch% name) then
192+ else if (field_name .eq. magnetic_stretch% name) then
191193 forces% i_mag_stretch = i_phys
192194!
193- else if (field_name .eq. heat_advect% name) then
195+ else if (field_name .eq. heat_advect% name) then
194196 forces% i_h_advect = i_phys
195- else if (field_name .eq. pert_heat_advect% name) then
197+ else if (field_name .eq. pert_heat_advect% name) then
196198 forces% i_ph_advect = i_phys
197199!
198- else if (field_name .eq. composition_advect% name) then
200+ else if (field_name .eq. composition_advect% name) then
199201 forces% i_c_advect = i_phys
200- else if (field_name .eq. pert_comp_advect% name) then
202+ else if (field_name .eq. pert_comp_advect% name) then
201203 forces% i_pc_advect = i_phys
202204!
203- else if (field_name .eq. momentum_flux% name ) then
205+ else if (field_name .eq. momentum_flux% name) then
204206 forces% i_m_flux = i_phys
205- else if (field_name .eq. maxwell_tensor% name ) then
207+ else if (field_name .eq. maxwell_tensor% name) then
206208 forces% i_maxwell = i_phys
207- else if (field_name .eq. induction_tensor% name ) then
209+ else if (field_name .eq. induction_tensor% name) then
208210 forces% i_induct_t = i_phys
209211!
210- else if (field_name .eq. heat_flux% name) then
212+ else if (field_name .eq. heat_flux% name) then
211213 forces% i_h_flux = i_phys
212- else if (field_name .eq. pert_heat_flux% name) then
214+ else if (field_name .eq. pert_heat_flux% name) then
213215 forces% i_ph_flux = i_phys
214- else if (field_name .eq. composite_flux% name) then
216+ else if (field_name .eq. composite_flux% name) then
215217 forces% i_c_flux = i_phys
216- else if (field_name .eq. pert_comp_flux% name) then
218+ else if (field_name .eq. pert_comp_flux% name) then
217219 forces% i_pc_flux = i_phys
218220 end if
219221 end if
@@ -237,17 +239,19 @@ subroutine set_rot_force_addresses &
237239!
238240 flag = check_rot_force(field_name)
239241 if (flag) then
240- if (field_name .eq. rot_inertia% name) then
242+ if (field_name .eq. rot_inertia% name) then
241243 rot_forces% i_m_advect = i_phys
242- else if (field_name .eq. rot_Coriolis_force% name) then
244+ else if (field_name .eq. rot_Coriolis_force% name) then
243245 rot_forces% i_Coriolis = i_phys
244- else if (field_name .eq. rot_Lorentz_force% name) then
246+ else if (field_name .eq. rot_Lorentz_force% name) then
245247 rot_forces% i_lorentz = i_phys
246248!
247- else if (field_name .eq. rot_buoyancy % name) then
249+ else if (field_name .eq. rot_thermal_buoyancy % name) then
248250 rot_forces% i_thrm_buo = i_phys
249- else if (field_name .eq. rot_composite_buoyancy% name) then
251+ else if (field_name .eq. rot_composite_buoyancy% name) then
250252 rot_forces% i_comp_buo = i_phys
253+ else if (field_name .eq. rot_buoyancy% name) then
254+ rot_forces% i_buoyancy = i_phys
251255 end if
252256 end if
253257!
@@ -272,33 +276,33 @@ subroutine set_div_force_addresses &
272276 & .or. check_div_flux_tensor(field_name) &
273277 & .or. check_div_scalar_flux(field_name)
274278 if (flag) then
275- if (field_name .eq. div_inertia% name) then
279+ if (field_name .eq. div_inertia% name) then
276280 div_forces% i_m_advect = i_phys
277- else if (field_name .eq. div_Coriolis_force% name) then
281+ else if (field_name .eq. div_Coriolis_force% name) then
278282 div_forces% i_Coriolis = i_phys
279- else if (field_name .eq. div_Lorentz_force% name) then
283+ else if (field_name .eq. div_Lorentz_force% name) then
280284 div_forces% i_lorentz = i_phys
281285!
282- else if (field_name .eq. div_buoyancy% name) then
286+ else if (field_name .eq. div_buoyancy% name) then
283287 div_forces% i_thrm_buo = i_phys
284- else if (field_name .eq. div_composite_buoyancy% name) then
288+ else if (field_name .eq. div_composite_buoyancy% name) then
285289 div_forces% i_comp_buo = i_phys
286290!
287- else if (field_name .eq. div_heat_flux% name) then
291+ else if (field_name .eq. div_heat_flux% name) then
288292 div_forces% i_h_flux = i_phys
289- else if (field_name .eq. div_pert_heat_flux% name) then
293+ else if (field_name .eq. div_pert_heat_flux% name) then
290294 div_forces% i_ph_flux = i_phys
291295!
292- else if (field_name .eq. div_composition_flux% name) then
296+ else if (field_name .eq. div_composition_flux% name) then
293297 div_forces% i_c_flux = i_phys
294- else if (field_name .eq. div_pert_composition_flux% name) then
298+ else if (field_name .eq. div_pert_composition_flux% name) then
295299 div_forces% i_pc_flux = i_phys
296300!
297- else if (field_name .eq. div_momentum_flux% name) then
301+ else if (field_name .eq. div_momentum_flux% name) then
298302 div_forces% i_m_flux = i_phys
299- else if (field_name .eq. div_maxwell_tensor% name) then
303+ else if (field_name .eq. div_maxwell_tensor% name) then
300304 div_forces% i_maxwell = i_phys
301- else if (field_name .eq. div_induction_tensor% name) then
305+ else if (field_name .eq. div_induction_tensor% name) then
302306 div_forces% i_induct_t = i_phys
303307 end if
304308 end if
0 commit comments