Skip to content

Commit

Permalink
Removed unused variables, added type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Candy committed Mar 10, 2024
1 parent 3c79576 commit 1f00394
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cgyro/src/cgyro_mpi_grid.F90
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ subroutine cgyro_mpi_grid

implicit none

integer :: ie,ix,is,ir,it
integer :: iexch,itm,j
integer :: ie,ix,is,ir,it,itm
integer :: iltheta_min,iltheta_max
integer :: d
integer :: splitkey
Expand Down
4 changes: 2 additions & 2 deletions cgyro/src/cgyro_upwind.F90
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ subroutine cgyro_upwind_prepare_async_r64

implicit none

integer :: is,ie,itor
integer :: is,itor
complex :: res_loc
complex :: g_val

Expand Down Expand Up @@ -121,7 +121,7 @@ subroutine cgyro_upwind_prepare_async_r32

implicit none

integer :: is,ie,itor
integer :: is,itor
complex(KIND=REAL32) :: res_loc
complex :: g_val

Expand Down
4 changes: 3 additions & 1 deletion cgyro/src/cgyro_write_initdata.f90
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,13 @@ end subroutine cgyro_write_initdata

subroutine prime_factors(n,pout)

implicit none

integer, intent(in) :: n
character(len=50), intent(inout) :: pout
character(len=50) :: warn
integer, dimension(27) :: pvec,cvec
integer :: ptmp
integer :: i,ptmp
character(len=4) :: fmt
character(len=3) :: s1,s2

Expand Down

0 comments on commit 1f00394

Please sign in to comment.