Skip to content

Commit 9ad4f9c

Browse files
Addressed AI comment
1 parent 347d6c6 commit 9ad4f9c

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/post_process/m_start_up.fpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ module m_start_up
4141
complex(c_double_complex), allocatable :: data_cmplx(:,:,:), data_cmplx_y(:,:,:), data_cmplx_z(:,:,:)
4242
real(wp), allocatable, dimension(:,:,:) :: En_real
4343
real(wp), allocatable, dimension(:) :: En
44-
integer :: num_procs_x, num_procs_y, num_procs_z
4544
integer :: Nx, Ny, Nz, Nxloc, Nyloc, Nyloc2, Nzloc, Nf
4645
integer :: ierr
4746
integer :: MPI_COMM_CART, MPI_COMM_CART12, MPI_COMM_CART13

src/simulation/m_derived_variables.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ module m_derived_variables
2121
private; public :: s_initialize_derived_variables_module, s_initialize_derived_variables, s_compute_derived_variables, &
2222
& s_finalize_derived_variables_module
2323

24-
! fd_coeff_x, fd_coeff_y, fd_coeff_z: declared in m_global_parameters so m_viscous can see them too
25-
2624
! @name Variables for computing acceleration
2725
!> @{
2826
real(wp), public, allocatable, dimension(:,:,:) :: accel_mag

src/simulation/m_ibm.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,9 +954,9 @@ contains
954954
if (ib_idx > 0) then
955955
! get the vector pointing to the grid cell from the IB centroid
956956
radial_vector(1) = x_cc(i) - (patch_ib(ib_idx)%x_centroid + real(xp, wp)*(x_domain%end - x_domain%beg))
957-
radial_vector(2) = y_cc(i) - (patch_ib(ib_idx)%y_centroid + real(yp, wp)*(y_domain%end - y_domain%beg))
957+
radial_vector(2) = y_cc(j) - (patch_ib(ib_idx)%y_centroid + real(yp, wp)*(y_domain%end - y_domain%beg))
958958
radial_vector(3) = 0._wp
959-
if (num_dims == 3) radial_vector(3) = z_cc(i) - (patch_ib(ib_idx)%z_centroid + real(zp, &
959+
if (num_dims == 3) radial_vector(3) = z_cc(k) - (patch_ib(ib_idx)%z_centroid + real(zp, &
960960
& wp)*(z_domain%end - z_domain%beg))
961961

962962
local_force_contribution(:) = 0._wp

0 commit comments

Comments
 (0)