Skip to content

Commit

Permalink
update test script for comparing new local error
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanderson committed Nov 9, 2024
1 parent 6a4214b commit 47e0f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test_local_error.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ r, ρ_max, A, ΔC = 1.0, 3.0, 1.0, 5.0
ps = collect(0:20)

# integral of abs(Plm(cos)...
#e_manual = manual_sum.(Ref(r), Ref(ρ_max), Ref(A), ps, Ref(ΔC))
e_manual = manual_sum.(Ref(r), Ref(ρ_max), Ref(A), ps, Ref(ΔC))

# let abs(Plm(cos(theta))) <= 1; numerical integral
e2_manual = manual_sum2.(Ref(r), Ref(ρ_max), Ref(A), ps, Ref(ΔC))
Expand Down

0 comments on commit 47e0f02

Please sign in to comment.