Skip to content

Commit

Permalink
warnings are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
cometscome committed Sep 17, 2023
1 parent 7288506 commit d190ee4
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 460 deletions.
445 changes: 0 additions & 445 deletions Manifest.toml

This file was deleted.

3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LatticeDiracOperators"
uuid = "019239df-b0e3-486e-8e4c-d1c29ee5d6b9"
authors = ["Akio Tomiya, Yuki Nagai <[email protected]> and contributors"]
version = "0.2.2"
version = "0.2.3"

[deps]
AlgRemez_jll = "acb6dc63-88f0-54c7-a126-ccdc963b8b3f"
Expand All @@ -20,6 +20,7 @@ Requires = "1"
Wilsonloop = "0.1.3"
Gaugefields = "0.2"
julia = "1.6"
SparseArrays = "1,2"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
2 changes: 2 additions & 0 deletions src/AbstractFermions_4D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1585,9 +1585,11 @@ function apply_σμν!(a,μ,ν,b)
apply_σ!(a,σ,b)
end

#=
function apply_σ!(a::Abstractfermion,σ::σμν{μ,ν},b::Abstractfermion;factor=1) where {μ,ν}
error("apply_σ! is not implemented in type a:$(typeof(a)),b:$(typeof(b))")
end
=#

function apply_σ!(a::AbstractFermionfields_4D{NC}::σμν{μ,ν},b::AbstractFermionfields_4D{NC};factor=1) where {NC,μ,ν}
NX = a.NX
Expand Down
4 changes: 2 additions & 2 deletions src/DomainwallFermion/DomainwallFermion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function bicg(
eps = 1e-10,
maxsteps = 1000,
verbose = Verbose_print(2),
) where {T} #A*x = b -> x = A^-1*b
) #A*x = b -> x = A^-1*b
#A = D5DW(m)*D5DW(m=1)^(-1)
#A' = (D5DW(m=1)^+)^(-1) D5DW(m)^+
#A'^-1 = D5DW(m)^+^-1 D5DW(m=1)^+
Expand Down Expand Up @@ -557,7 +557,7 @@ function bicgstab(
eps = 1e-10,
maxsteps = 1000,
verbose = Verbose_print(2),
) where {T} #A*x = b -> x = A^-1*b
) #A*x = b -> x = A^-1*b
#A = D5DW(m)*D5DW(m=1)^(-1)
#A' = (D5DW(m=1)^+)^(-1) D5DW(m)^+
#A'^-1 = D5DW(m)^+^-1 D5DW(m=1)^+
Expand Down
4 changes: 2 additions & 2 deletions src/MobiusDomainwallFermion/MobiusDomainwallFermion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function bicg(
eps = 1e-10,
maxsteps = 1000,
verbose = Verbose_print(2),
) where {T} #A*x = b -> x = A^-1*b
) #A*x = b -> x = A^-1*b
#A = D5DW(m)*D5DW(m=1)^(-1)
#A' = (D5DW(m=1)^+)^(-1) D5DW(m)^+
#A'^-1 = D5DW(m)^+^-1 D5DW(m=1)^+
Expand Down Expand Up @@ -572,7 +572,7 @@ function bicgstab(
eps = 1e-10,
maxsteps = 1000,
verbose = Verbose_print(2),
) where {T} #A*x = b -> x = A^-1*b
) #A*x = b -> x = A^-1*b
#A = D5DW(m)*D5DW(m=1)^(-1)
#A' = (D5DW(m=1)^+)^(-1) D5DW(m)^+
#A'^-1 = D5DW(m)^+^-1 D5DW(m=1)^+
Expand Down
2 changes: 1 addition & 1 deletion src/WilsonFermion/WilsonFermion_2D_wing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function add_fermion!(
α::Number,
a::T1,
iseven::Bool,
) where {NC,NDW,T1<:Abstractfermion,T2<:Abstractfermion}#c += alpha*a + beta*b
) where {NC,NDW,T1<:Abstractfermion}#c += alpha*a + beta*b
n1, n2, n5, n6 = size(c.f)

@inbounds for i6 = 1:n6
Expand Down
2 changes: 1 addition & 1 deletion src/WilsonFermion/WilsonFermion_4D_nowing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function add_fermion!(
α::Number,
a::T1,
iseven::Bool,
) where {NC,T1<:Abstractfermion,T2<:Abstractfermion}#c += alpha*a + beta*b
) where {NC,T1<:Abstractfermion}#c += alpha*a + beta*b
n1, n2, n3, n4, n5, n6 = size(c.f)

@inbounds for i6 = 1:n6
Expand Down
2 changes: 1 addition & 1 deletion src/WilsonFermion/WilsonFermion_4D_wing_Adjoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ function add_fermion!(
α::Number,
a::T1,
iseven::Bool,
) where {NC,NDW,NumofBasis,T1<:Abstractfermion,T2<:Abstractfermion}#c += alpha*a + beta*b
) where {NC,NDW,NumofBasis,T1<:Abstractfermion}#c += alpha*a + beta*b
n1, n2, n3, n4, n5, n6 = size(c.f)

@inbounds for i6 = 1:n6
Expand Down
2 changes: 1 addition & 1 deletion src/action/FermiAction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function FermiAction(
D::Dirac_operator{Dim},
parameters_action;
covneuralnet = nothing,
) where {NC,Dim}
) where {Dim}
diractype = typeof(D)
if covneuralnet == nothing
hascovnet = false
Expand Down
8 changes: 4 additions & 4 deletions src/action/WilsonFermiAction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function evaluate_FermiAction(
fermi_action::Wilsontype_FermiAction{Dim,Dirac,fermion,gauge},
U,
ϕ::AbstractFermionfields,
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}
W = fermi_action.diracoperator(U)
η = fermi_action._temporary_fermionfields[1]
solve_DinvX!(η, W', ϕ)
Expand All @@ -97,7 +97,7 @@ function calc_UdSfdU!(
fermi_action::Wilsontype_FermiAction{Dim,Dirac,fermion,gauge},
U::Vector{<:AbstractGaugefields},
ϕ::AbstractFermionfields,
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}

W = fermi_action.diracoperator(U)
WdagW = DdagD_Wilson_operator(W)
Expand Down Expand Up @@ -289,7 +289,7 @@ function gauss_sampling_in_action!(
η::AbstractFermionfields,
U,
fermi_action::Wilsontype_FermiAction{Dim,Dirac,fermion,gauge},
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}
#gauss_distribution_fermion!(η)
gauss_distribution_fermion!(η, rand)
end
Expand All @@ -301,7 +301,7 @@ function sample_pseudofermions!(
U,
fermi_action::Wilsontype_FermiAction{Dim,Dirac,fermion,gauge},
ξ::AbstractFermionfields,
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}
W = fermi_action.diracoperator(U)
mul!(ϕ, W', ξ)
set_wing_fermion!(ϕ)
Expand Down
4 changes: 2 additions & 2 deletions src/action/WilsontypeFermiAction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function calc_UdSfdU!(
fermi_action::Wilson_GeneralDirac_FermiAction{Dim,Dirac,fermion,gauge},
U::Vector{<:AbstractGaugefields},
ϕ::AbstractFermionfields,
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}

calc_dSfdU!(
UdSfdU,
Expand All @@ -71,7 +71,7 @@ function calc_dSfdU!(
fermi_action::Wilson_GeneralDirac_FermiAction{Dim,Dirac,fermion,gauge},
U::Vector{<:AbstractGaugefields},
ϕ::AbstractFermionfields,
) where {Dim,Dirac,fermion,gauge,hascloverterm}
) where {Dim,Dirac,fermion,gauge}
W = fermi_action.diracoperator(U)
WdagW = DdagD_Wilson_GeneralDirac_operator(W)
X = fermi_action._temporary_fermionfields[5]
Expand Down

0 comments on commit d190ee4

Please sign in to comment.