Skip to content

Commit 92ecb65

Browse files
committed
rename variabel
1 parent ebd5ecb commit 92ecb65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/testFortranMPAdvection.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ subroutine setProcWedges(mpMesh, nCells, comm_size, nEdgesOnCell, verticesOnCell
1313
integer, dimension(:), pointer :: owningProc, nEdgesOnCell
1414
integer, dimension(:,:), pointer :: verticesOnCell
1515
real(kind=MPAS_RKIND), dimension(:), pointer :: lonCell
16-
real(kind=MPAS_RKIND) :: normalizedLat, min, max
16+
real(kind=MPAS_RKIND) :: normalizedLong, min, max
1717

1818
allocate(owningProc(nCells))
1919

@@ -25,8 +25,8 @@ subroutine setProcWedges(mpMesh, nCells, comm_size, nEdgesOnCell, verticesOnCell
2525
end do
2626

2727
do i = 1, nCells
28-
normalizedLat = (lonCell(i) - min) / (max - min) * .99
29-
owningProc(i) = normalizedLat * comm_size
28+
normalizedLong = (lonCell(i) - min) / (max - min) * .99
29+
owningProc(i) = normalizedLong * comm_size
3030
end do
3131

3232
call polympo_startMeshFill(mpMesh)

0 commit comments

Comments
 (0)