Skip to content

Commit a188682

Browse files
committed
tests/integrated: Fix hypre tests
- Mesh variable names are case sensitive - mpirun needs ./ to find executable on some systems
1 parent e3a4e1e commit a188682

File tree

3 files changed

+5
-5
lines changed
  • tests/integrated

3 files changed

+5
-5
lines changed

tests/integrated/test-laplace-hypre3d/data_circular_core-sol/BOUT.inp

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ g_23 = Bt*hthe*Rxy/Bp
6161

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

6767
[mesh:paralleltransform]
6868
type = shiftedinterp

tests/integrated/test-laplace-hypre3d/data_circular_core/BOUT.inp

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ g_23 = Bt*hthe*Rxy/Bp
5858

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

6464
[mesh:paralleltransform]
6565
type = shiftedinterp

tests/integrated/test-laplacexy2-hypre/runtest

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ success = True
4444
for nproc in [8]:
4545
print(" %d processors...." % nproc)
4646
for args in argslist:
47-
cmd = "test-laplacexy " + args
47+
cmd = "./test-laplacexy " + args
4848

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

0 commit comments

Comments
 (0)