commit/enzo-dev: dcollins4096: Typo in projplane, some indices should be swapped.

0 views
Skip to first unread message

commits...@bitbucket.org

unread,
Feb 28, 2019, 7:23:21 AM2/28/19
to enzo...@googlegroups.com
1 new commit in enzo-dev:

https://bitbucket.org/enzo/enzo-dev/commits/bd5ddbbcb6ad/
Changeset: bd5ddbbcb6ad
Branch: week-of-code
User: dcollins4096
Date: 2019-02-27 21:28:48+00:00
Summary: Typo in projplane, some indices should be swapped.
Affected #: 1 file

diff -r 94feb3b6510b -r bd5ddbbcb6ad src/enzo/projplane.F
--- a/src/enzo/projplane.F
+++ b/src/enzo/projplane.F
@@ -345,7 +345,7 @@
if (ifield .eq. 3) plane(i,j) = plane(i,j) +
& sample1**1.5_RKIND *grid2(i0,n,k0)**2 * weight1
if (ifield .eq. 4) plane(i,j) = plane(i,j) +
- & sample1 * grid2(n,j0,k0) * weight1
+ & sample1 * grid2(i0,n,k0) * weight1
c
enddo
enddo
@@ -381,7 +381,7 @@
if (ifield .eq. 3) plane(i,j) = plane(i,j) +
& sample1**1.5_RKIND *grid2(i0,j0,n)**2 * weight1
if (ifield .eq. 4) plane(i,j) = plane(i,j) +
- & sample1 * grid2(n,j0,k0) * weight1
+ & sample1 * grid2(i0,j0,n) * weight1
c
enddo
enddo

Repository URL: https://bitbucket.org/enzo/enzo-dev/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
Reply all
Reply to author
Forward
0 new messages