Skip to content

Commit f8d38e3

Browse files
Post: undo changes in computeDiv2PT_m1 (#728)
1 parent 43117a2 commit f8d38e3

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

Cassiopee/Post/test/computeDiv2PT_m1.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ def f(x, y, z): return 3.*x + 2.*y + z
3333
if Cmpi.master:
3434
zones = []
3535
for rank in range(2):
36-
blhc = [
37-
float(rank)*(N-1) if ax == axis.upper() else 0.
38-
for ax in ["X", "Y", "Z"]
39-
]
36+
#blhc = [
37+
# float(rank)*(N-1) if ax == axis.upper() else 0.
38+
# for ax in ["X", "Y", "Z"]
39+
#]
40+
blhc = [0., float(rank)*(N-1), 0.]
4041
if dim == 3: Nxyz = [N, N, N]; trhc = (1., 1., 1.)
4142
else:
4243
if axis.upper() == "Z": Nxyz = [N, 1, N]; trhc = (1., 0., 1.)
@@ -106,16 +107,16 @@ def runTest(filepath, meshType="STRUCT", dim=3):
106107
# 2D NGON
107108
meshType = "NGON"
108109
dim = 2
109-
_createTest(filepath, meshType, dim=dim, axis="X", api=1)
110-
t = runTest(filepath, meshType, dim=dim)
110+
#_createTest(filepath, meshType, dim=dim, axis="X", api=1)
111+
#t = runTest(filepath, meshType, dim=dim)
111112
#if Cmpi.master: test.testT(t, 7) # WRONG REF!
112113

113-
_createTest(filepath, meshType, dim=dim, axis="Y", api=3)
114-
t = runTest(filepath, meshType, dim=dim)
114+
#_createTest(filepath, meshType, dim=dim, axis="Y", api=3)
115+
#t = runTest(filepath, meshType, dim=dim)
115116
#if Cmpi.master: test.testT(t, 8) # WRONG REF!
116117

117-
_createTest(filepath, meshType, dim=dim, axis="Z", api=3)
118-
t = runTest(filepath, meshType, dim=dim)
118+
#_createTest(filepath, meshType, dim=dim, axis="Z", api=3)
119+
#t = runTest(filepath, meshType, dim=dim)
119120
#if Cmpi.master: test.testT(t, 9) # WRONG REF!
120121

121122
# 3D NGON

0 commit comments

Comments
 (0)