Skip to content

Commit 507bd99

Browse files
committed
clean up
1 parent 3382a01 commit 507bd99

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

src/simulation/m_chemistry.fpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ contains
5555

5656
type(vector_field), dimension(:), intent(IN) :: flux_n
5757
type(scalar_field), dimension(sys_size), intent(INOUT) :: rhs_vf
58-
type(int_bounds_info) :: ix, iy, iz
59-
6058
integer :: x, y, z
6159
integer :: eqn
6260

@@ -103,21 +101,12 @@ contains
103101
subroutine s_compute_chemistry_reaction_flux(rhs_vf, q_cons_qp, q_prim_qp)
104102

105103
type(scalar_field), dimension(sys_size), intent(INOUT) :: rhs_vf, q_cons_qp, q_prim_qp
106-
107-
integer :: i
108-
109104
integer :: x, y, z
110105
integer :: eqn
111-
112106
real(kind(0d0)) :: T
113-
integer :: o
114-
real(kind(0d0)) :: dyn_pres
115-
real(kind(0d0)) :: E
116-
117107
real(kind(0d0)) :: rho, omega_m
118108
real(kind(0d0)), dimension(num_species) :: Ys
119109
real(kind(0d0)), dimension(num_species) :: omega
120-
real(kind(0d0)) :: cp_mix
121110

122111
if (chemistry) then
123112
!$acc parallel loop collapse(3) gang vector default(present) &

src/simulation/m_sim_helpers.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ end subroutine s_compute_enthalpy
8686
subroutine s_compute_stability_from_dt(vel, c, rho, Re_l, j, k, l, icfl_sf, vcfl_sf, Rc_sf)
8787
!$acc routine seq
8888
real(kind(0d0)), dimension(num_dims) :: vel
89-
real(kind(0d0)) :: c, icfl_dt, vcfl_dt, rho
89+
real(kind(0d0)) :: c, rho
9090
real(kind(0d0)), dimension(0:m, 0:n, 0:p) :: icfl_sf
9191
real(kind(0d0)), dimension(0:m, 0:n, 0:p), optional :: vcfl_sf, Rc_sf
9292
real(kind(0d0)) :: fltr_dtheta !<

src/simulation/m_weno.fpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ contains
160160
!! other procedures that are necessary to setup the module.
161161
subroutine s_initialize_weno_module
162162

163-
integer :: i, j
164163
if (weno_order == 1) return
165164

166165
! Allocating/Computing WENO Coefficients in x-direction ============
@@ -974,7 +973,7 @@ contains
974973
integer, intent(IN) :: norm_dir
975974
integer, intent(IN) :: weno_dir
976975

977-
integer :: i, j, k, l, q !< Generic loop iterators
976+
integer :: j, k, l, q
978977

979978
! Determining the number of cell-average variables which will be
980979
! WENO-reconstructed and mapping their indical bounds in the x-,
@@ -1253,8 +1252,6 @@ contains
12531252
!> Module deallocation and/or disassociation procedures
12541253
subroutine s_finalize_weno_module()
12551254

1256-
integer :: i, j
1257-
12581255
if (weno_order == 1) return
12591256

12601257
! Deallocating the WENO-stencil of the WENO-reconstructed variables

0 commit comments

Comments
 (0)