Skip to content

Commit

Permalink
Loop adapted to strict compiler scrutiny
Browse files Browse the repository at this point in the history
in DIMATCOPY opt out case. (Was previously traditional
fortran practice.)
  • Loading branch information
quickfly authored and sfiligoi committed Sep 6, 2024
1 parent 3bd6922 commit c9dfad4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cgyro/src/cgyro_init_collision_landau.F90
Original file line number Diff line number Diff line change
Expand Up @@ -731,9 +731,13 @@ subroutine cgyro_init_landau()
#endif
#else
!alternative to domatcopy
do k=1,n_xi*n_energy
do j=1,n_xi*n_energy
gyrocolmat(j,1,k,1,ib,ia,ik)=gyrocolmat(k,1,j,1,ia,ib,ik)
do k=1,n_xi
do l=1,n_energy
do j=1,n_xi
do m=1,n_energy
gyrocolmat(m,j,l,k,ib,ia,ik)=gyrocolmat(l,k,m,j,ia,ib,ik)
end do
end do
end do
end do
#endif
Expand Down

0 comments on commit c9dfad4

Please sign in to comment.