Skip to content

Commit

Permalink
fixed num mps
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Jul 9, 2024
1 parent ea04fbd commit 8bed835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testFortranMPAdvection.f90
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ program main

!createMPs
mpsScaleFactorPerVtx = 5
numMPs = maxEdges * mpsScaleFactorPerVtx
numMPs = nVertices * mpsScaleFactorPerVtx
allocate(mpsPerElm(nCells))
allocate(mp2Elm(numMPs))
allocate(isMPActive(numMPs))
Expand All @@ -85,7 +85,7 @@ program main
numMPs2 = numMPs2 + localNumMPs
end do

assert(numMPs2 <= numMPs)
call assert(numMPs2 <= numMPs, "num mps miscounted")

do i = 1, numMPs
xc = 0.0_MPAS_RKIND
Expand Down

0 comments on commit 8bed835

Please sign in to comment.