Skip to content

Commit 1f720c8

Browse files
committed
update fortran output
1 parent 41bd6df commit 1f720c8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

coarray/fdtd.F90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,11 @@ end subroutine update_E_field
267267
!===============================================================
268268
subroutine print_full_E_slice()
269269
integer :: img, ik, ij
270-
do ik = Ni/2-5, Ni/2+5
271-
do ij = Nj/2-5, Nj/2+5
270+
do ij = Nj/2-5, Nj/2+5
271+
do ik = Ni/2-5, Ni/2+5
272272
img = ceiling(real(Nk/2+1) / real(k_local))
273273
write(*, '(F12.6)', advance='no') Ex(ik,ij,Nk/2+1 - (img - 1) * k_local)[img]
274+
! write(*, '(F12.6)', advance='no') next_Ex(ik, ij)
274275
end do
275276
print *
276277
end do

0 commit comments

Comments
 (0)