Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit b11988c

Browse files
committed
Upwind indexing test not broken
1 parent 6cdf435 commit b11988c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/upwind_operators_interface.jl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -107,27 +107,8 @@ end
107107
res2 = A*Q*y_
108108

109109
@test res1 res2 # shifted due to upwind operators
110-
111-
N = 20
112-
x = 0:1/(N-1):2*π
113-
y = sin.(x)
114-
y_ = y[2:end-1]
115-
116-
dx = x[2]-x[1]
117-
M = length(x)
118-
119-
Q = RobinBC((1.0, 0.0, y[1]), (1.0, 0.0, y[end]), dx)
120-
U = UpwindDifference(3,2, dx, M-2, t->1.0)
121-
A = CenteredDifference(3,2, dx, M-2)
122-
123-
res1 = U*Q*y_
124-
res2 = A*Q*y_
125-
126-
# To be fixed by #145
127-
@test_broken res1[5:end-4] res2[5:end-4]
128110
end
129111

130-
# tests for full and sparse function.... BROKEN!
131112
@testset "Full and Sparse functions:" begin
132113
N = 10
133114
d_order = 2

0 commit comments

Comments
 (0)