Skip to content

Commit

Permalink
fix test values
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Aug 29, 2024
1 parent a055fe4 commit 3be8b77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ end
# Compute difference with analytical solution
@test norm(Szz_vec - Sv_a) 1.075864674505617 rtol=1e-3
@test norm(Sxx_vec - Sh_a) 19.59995396792367 rtol=1e-4
@test norm(Pf_vec - Pf_a) 4.67442385860321 rtol=1e-5
@test norm(Pf_vec - Pf_a) 4.675374630769038 rtol=1e-5

# Create plot with stress & analytical solution
Plot_vs_analyticalSolution(data, dir,"Compressible1D_output_1Core.png")
Expand All @@ -397,7 +397,7 @@ end
# Compute difference with analytical solution
@test norm(Szz_vec - Sv_a) 1.075864674505617 rtol=1e-3
@test norm(Sxx_vec - Sh_a) 19.59995396792367 rtol=1e-4
@test norm(Pf_vec - Pf_a) 4.67442385860321 rtol=1e-5
@test norm(Pf_vec - Pf_a) 4.675374630769038 rtol=1e-5

# Create plot with stress & analytical solution
Plot_vs_analyticalSolution(data, dir,"Compressible1D_output_2Cores.png")
Expand Down
2 changes: 1 addition & 1 deletion test/setup_packages.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this downloads the required packages

# Add PETSc
# Add PETSc with required version
using Pkg
Pkg.add(name="PETSc_jll", version="3.19.6")

Expand Down

0 comments on commit 3be8b77

Please sign in to comment.