Skip to content

Commit

Permalink
Merge pull request #40 from akio-tomiya/v1.0.2
Browse files Browse the repository at this point in the history
test is revised
  • Loading branch information
cometscome authored Feb 14, 2023
2 parents 811d7f9 + 68feec4 commit a4c4b18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LatticeQCD"
uuid = "8a12f9b3-8daf-4285-9aa6-f1d88d857ae8"
authors = ["Akio Tomiya", "Yuki Nagai"]
version = "1.0.1"
version = "1.0.2"

[deps]
AlgRemez_jll = "acb6dc63-88f0-54c7-a126-ccdc963b8b3f"
Expand Down
20 changes: 10 additions & 10 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ using Test
@testset "quenched HMC" begin

@testset "SU(2)" begin
@time plaq = run_LQCD("test02.jl")
@time plaq = run_LQCD("test02.toml")
#plaq_comparison = 0.5575491312570713
plaq_comparison = 0.48785061558469406
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
#println(fout,"qhmc SU(2), $plaq")
end

@testset "SU(3)" begin
@time plaq = run_LQCD("test01.jl")
@time plaq = run_LQCD("test01.toml")
#plaq_comparison = 0.6190393357419764
plaq_comparison = 0.5753703885492326
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
Expand All @@ -25,7 +25,7 @@ using Test


@testset "SU(4)" begin
@time plaq = run_LQCD("test03.jl")
@time plaq = run_LQCD("test03.toml")
#plaq_comparison = 0.4966683811089479
plaq_comparison = 0.3915274700011152
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
Expand All @@ -37,15 +37,15 @@ using Test

@testset "Heatbath" begin
@testset "SU(2)" begin
@time plaq = run_LQCD("test02-hb.jl")
@time plaq = run_LQCD("test02-hb.toml")
#plaq_comparison = 0.5287735727118359
plaq_comparison = 0.4855523668804699
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
#println(fout,"hb SU(2), $plaq")
end

@testset "SU(3)" begin
@time plaq = run_LQCD("test01-hb.jl")
@time plaq = run_LQCD("test01-hb.toml")
#plaq_comparison = 0.5821680570717788
plaq_comparison = 0.5502269475635925
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
Expand All @@ -54,7 +54,7 @@ using Test


@testset "SU(4)" begin
@time plaq = run_LQCD("test03-hb.jl")
@time plaq = run_LQCD("test03-hb.toml")
#plaq_comparison = 0.5467724338528576
plaq_comparison = 0.4425954597477664
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
Expand All @@ -69,7 +69,7 @@ using Test
@testset "HMC" begin

@testset "Wilson SU(3) with SextonWeingargten" begin
@time plaq = run_LQCD("test_wilson.jl")
@time plaq = run_LQCD("test_wilson.toml")
#plaq_comparison = 0.3449688128155864
#plaq_comparison = 0.4867607208994073
#plaq_comparison = 0.4976172009730353
Expand All @@ -80,7 +80,7 @@ using Test
end

@testset "Staggered SU(3) with 4 tastes" begin
@time plaq = run_LQCD("test_staggered.jl")
@time plaq = run_LQCD("test_staggered.toml")
#plaq_comparison = 0.25455870400018477 #0.00624053999484795
#plaq_comparison = 0.4987738124715037
#plaq_comparison = 0.4713469212809392
Expand All @@ -92,15 +92,15 @@ using Test
end

@testset "Staggered SU(3) with 2 tastes" begin
@time plaq = run_LQCD("test_Nf2.jl")
@time plaq = run_LQCD("test_Nf2.toml")
#plaq_comparison = 0.5630198767336069
plaq_comparison = 0.5837848292310798
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
#println(fout,"Staggered SU(3) with 2 tastes, $plaq")
end

@testset "Staggered SU(3) with 3 tastes" begin
@time plaq = run_LQCD("test_Nf3.jl")
@time plaq = run_LQCD("test_Nf3.toml")
#plaq_comparison = 0.565176584402352
plaq_comparison = 0.5864438294310259
@test abs(plaq - plaq_comparison)/plaq_comparison < eps
Expand Down

0 comments on commit a4c4b18

Please sign in to comment.