Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
RJDennis committed Dec 7, 2022
1 parent 6702882 commit b08bfb3
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ h = Grid((g, g))

ord = 5
dom = [1.0 1.0; -1.0 -1.0]
a = ApproxPlan(h, ord, dom)
a = CCApproxPlan(h, ord, dom)

p1 = chebyshev_polynomial(ord, g)
p2 = chebyshev_polynomial(ord, g)
b = ApproxPlanPoly((p1, p2), ord, dom)
b = CCApproxPlanPoly((p1, p2), ord, dom)

# Test the 1-variable case

Expand Down Expand Up @@ -90,23 +90,23 @@ hex = Grid((gex,))
hv = Grid((gv,))
hl = Grid((gl,))

ar = ApproxPlan(hr, order, dom)
ae = ApproxPlan(he, order, dom)
aex = ApproxPlan(hex, order, dom)
av = ApproxPlan(hv, order, dom)
al = ApproxPlan(hl, order, dom)
ar = CApproxPlan(hr, order, dom)
ae = CApproxPlan(he, order, dom)
aex = CApproxPlan(hex, order, dom)
av = CApproxPlan(hv, order, dom)
al = CApproxPlan(hl, order, dom)

pr = chebyshev_polynomial(order, gr)
pe = chebyshev_polynomial(order, ge)
pex = chebyshev_polynomial(order, gex)
pv = chebyshev_polynomial(order, gv)
pl = chebyshev_polynomial(order, gl)

br = ApproxPlanPoly((pr,), order, dom)
be = ApproxPlanPoly((pe,), order, dom)
bex = ApproxPlanPoly((pex,), order, dom)
bv = ApproxPlanPoly((pv,), order, dom)
bl = ApproxPlanPoly((pl,), order, dom)
br = CApproxPlanPoly((pr,), order, dom)
be = CApproxPlanPoly((pe,), order, dom)
bex = CApproxPlanPoly((pex,), order, dom)
bv = CApproxPlanPoly((pv,), order, dom)
bl = CApproxPlanPoly((pl,), order, dom)

wr = chebyshev_weights(yr, ar)
we = chebyshev_weights(ye, ae)
Expand Down Expand Up @@ -326,11 +326,11 @@ hex = Grid((gex_1, gex_2))
hv = Grid((gv_1, gv_2))
hl = Grid((gl_1, gl_2))

ar = ApproxPlan(hr, order, dom)
ae = ApproxPlan(he, order, dom)
aex = ApproxPlan(hex, order, dom)
av = ApproxPlan(hv, order, dom)
al = ApproxPlan(hl, order, dom)
ar = CApproxPlan(hr, order, dom)
ae = CApproxPlan(he, order, dom)
aex = CApproxPlan(hex, order, dom)
av = CApproxPlan(hv, order, dom)
al = CApproxPlan(hl, order, dom)

pr_1 = chebyshev_polynomial(order[1], gr_1)
pr_2 = chebyshev_polynomial(order[2], gr_2)
Expand All @@ -343,11 +343,11 @@ pv_2 = chebyshev_polynomial(order[2], gv_2)
pl_1 = chebyshev_polynomial(order[1], gl_1)
pl_2 = chebyshev_polynomial(order[2], gl_2)

br = ApproxPlanPoly((pr_1, pr_2), ord, dom)
be = ApproxPlanPoly((pe_1, pe_2), ord, dom)
bex = ApproxPlanPoly((pex_1, pex_2), ord, dom)
bv = ApproxPlanPoly((pv_1, pv_2), ord, dom)
bl = ApproxPlanPoly((pl_1, pl_2), ord, dom)
br = CApproxPlanPoly((pr_1, pr_2), ord, dom)
be = CApproxPlanPoly((pe_1, pe_2), ord, dom)
bex = CApproxPlanPoly((pex_1, pex_2), ord, dom)
bv = CApproxPlanPoly((pv_1, pv_2), ord, dom)
bl = CApproxPlanPoly((pl_1, pl_2), ord, dom)

wr = chebyshev_weights(yr, ar)
we = chebyshev_weights(ye, ae)
Expand Down

0 comments on commit b08bfb3

Please sign in to comment.