Skip to content

Commit

Permalink
tests/integrated: Fix hypre tests
Browse files Browse the repository at this point in the history
- Mesh variable names are case sensitive
- mpirun needs ./ to find executable on some systems
  • Loading branch information
bendudson committed Jan 17, 2025
1 parent e3a4e1e commit a188682
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ g_23 = Bt*hthe*Rxy/Bp

# zShift = \int_{theta0}^{theta} {nu dtheta}
arctanarg = (r - 1)*tan(theta/2.)/sqrt(1. - r^2)
zshift = r^2*(r*sin(theta)/((r^2 - 1)*(r*cos(theta) - 1.)) - 2.*atan(arctanarg)/(1. - r^2)^1.5)
shiftangle = r^2 * 2.*pi/(1. - r^2)^1.5
zShift = r^2*(r*sin(theta)/((r^2 - 1)*(r*cos(theta) - 1.)) - 2.*atan(arctanarg)/(1. - r^2)^1.5)
ShiftAngle = r^2 * 2.*pi/(1. - r^2)^1.5

[mesh:paralleltransform]
type = shiftedinterp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ g_23 = Bt*hthe*Rxy/Bp

# zShift = \int_{theta0}^{theta} {nu dtheta}
arctanarg = (r - 1)*tan(theta/2.)/sqrt(1. - r^2)
zshift = r^2*(r*sin(theta)/((r^2 - 1)*(r*cos(theta) - 1.)) - 2.*atan(arctanarg)/(1. - r^2)^1.5)
shiftangle = r^2 * 2.*pi/(1. - r^2)^1.5
zShift = r^2*(r*sin(theta)/((r^2 - 1)*(r*cos(theta) - 1.)) - 2.*atan(arctanarg)/(1. - r^2)^1.5)
ShiftAngle = r^2 * 2.*pi/(1. - r^2)^1.5

[mesh:paralleltransform]
type = shiftedinterp
Expand Down
2 changes: 1 addition & 1 deletion tests/integrated/test-laplacexy2-hypre/runtest
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ success = True
for nproc in [8]:
print(" %d processors...." % nproc)
for args in argslist:
cmd = "test-laplacexy " + args
cmd = "./test-laplacexy " + args

shell("rm data/BOUT.dmp.*.nc > /dev/null 2>&1")

Expand Down

0 comments on commit a188682

Please sign in to comment.