Skip to content

Commit bc55a7b

Browse files
committed
Add some comments in MHD
1 parent 169218a commit bc55a7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mhd.f90

+1-3
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ subroutine mhd_rhs_eq(dB,B,B0,ux1,uy1,uz1)
586586
!SKEW SYMMETRIC FORM
587587

588588
!WORK X-PENCILS
589-
ta1(:,:,:) = ux1(:,:,:) * Bsum(:,:,:,1) - Bsum(:,:,:,1) * ux1(:,:,:)
589+
ta1(:,:,:) = ux1(:,:,:) * Bsum(:,:,:,1) - Bsum(:,:,:,1) * ux1(:,:,:) ! FIXME this is always zero
590590
tb1(:,:,:) = ux1(:,:,:) * Bsum(:,:,:,2) - Bsum(:,:,:,1) * uy1(:,:,:)
591591
tc1(:,:,:) = ux1(:,:,:) * Bsum(:,:,:,3) - Bsum(:,:,:,1) * uz1(:,:,:)
592592

@@ -779,8 +779,6 @@ subroutine mhd_rhs_eq(dB,B,B0,ux1,uy1,uz1)
779779
dB(:,:,:,2) = tb1(:,:,:) - half*th1(:,:,:) + te1(:,:,:)
780780
dB(:,:,:,3) = tc1(:,:,:) - half*ti1(:,:,:) + tf1(:,:,:)
781781

782-
return
783-
784782
end subroutine mhd_rhs_eq
785783
!
786784
subroutine solve_poisson_mhd

0 commit comments

Comments
 (0)