Skip to content

Commit

Permalink
Added correct errors for tests for the coupled adveciton equations in…
Browse files Browse the repository at this point in the history
… structured 2d.
  • Loading branch information
SimonCan committed Nov 24, 2023
1 parent e8c2d52 commit 4f76579
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,18 @@ end

@testset "analysis_callback(sol) for AnalysisCallbackCoupled" begin
errors = analysis_callback(sol)
@test errors.l2[7.816742843181738e-6, 7.816742843196112e-6] rtol=1.0e-4
@test errors.linf[6.314906965543265e-5, 6.314906965410039e-5] rtol=1.0e-4
@test errors.l2[
7.816742843336293e-6,
7.816742843340186e-6,
7.816742843025513e-6,
7.816742843061526e-6,
] rtol=1.0e-4
@test errors.linf[
6.314906965276812e-5,
6.314906965187994e-5,
6.31490696496595e-5,
6.314906965032563e-5,
] rtol=1.0e-4
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down

0 comments on commit 4f76579

Please sign in to comment.