diff --git a/Manifest.toml b/Manifest.toml deleted file mode 100644 index 4abed10..0000000 --- a/Manifest.toml +++ /dev/null @@ -1,445 +0,0 @@ -# This file is machine-generated - editing it directly is not advised - -[[AlgRemez_jll]] -deps = ["Artifacts", "GMP_jll", "JLLWrappers", "Libdl", "MPFR_jll", "Pkg"] -git-tree-sha1 = "491f3c8c89a7aa6f89c76642032e1eebf8f1cd8a" -uuid = "acb6dc63-88f0-54c7-a126-ccdc963b8b3f" -version = "0.1.1+0" - -[[ArgTools]] -uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" - -[[Artifacts]] -uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" - -[[Base64]] -uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" - -[[CLIME_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "317144c2bc37c62db8035746298f96050ef4c3aa" -uuid = "3c6ae550-c37b-5556-a07e-d40b4910cf1c" -version = "1.3.2+0" - -[[Calculus]] -deps = ["LinearAlgebra"] -git-tree-sha1 = "f641eb0a4f00c343bbc32346e1217b86f3ce9dad" -uuid = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9" -version = "0.5.1" - -[[ChainRulesCore]] -deps = ["Compat", "LinearAlgebra", "SparseArrays"] -git-tree-sha1 = "9950387274246d08af38f6eef8cb5480862a435f" -uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" -version = "1.14.0" - -[[ChangesOfVariables]] -deps = ["ChainRulesCore", "LinearAlgebra", "Test"] -git-tree-sha1 = "1e315e3f4b0b7ce40feded39c73049692126cf53" -uuid = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0" -version = "0.1.3" - -[[Compat]] -deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] -git-tree-sha1 = "b153278a25dd42c65abbf4e62344f9d22e59191b" -uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" -version = "3.43.0" - -[[CompilerSupportLibraries_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" - -[[DataAPI]] -git-tree-sha1 = "fb5f5316dd3fd4c5e7c30a24d50643b73e37cd40" -uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" -version = "1.10.0" - -[[DataStructures]] -deps = ["Compat", "InteractiveUtils", "OrderedCollections"] -git-tree-sha1 = "cc1a8e22627f33c789ab60b36a9132ac050bbf75" -uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" -version = "0.18.12" - -[[Dates]] -deps = ["Printf"] -uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" - -[[DelimitedFiles]] -deps = ["Mmap"] -uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" - -[[DensityInterface]] -deps = ["InverseFunctions", "Test"] -git-tree-sha1 = "80c3e8639e3353e5d2912fb3a1916b8455e2494b" -uuid = "b429d917-457f-4dbc-8f4c-0cc954292b1d" -version = "0.4.0" - -[[Distributed]] -deps = ["Random", "Serialization", "Sockets"] -uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" - -[[Distributions]] -deps = ["ChainRulesCore", "DensityInterface", "FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SparseArrays", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "Test"] -git-tree-sha1 = "8a6b49396a4058771c5c072239b2e0a76e2e898c" -uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" -version = "0.25.58" - -[[DocStringExtensions]] -deps = ["LibGit2"] -git-tree-sha1 = "b19534d1895d702889b219c382a6e18010797f0b" -uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" -version = "0.8.6" - -[[Downloads]] -deps = ["ArgTools", "LibCURL", "NetworkOptions"] -uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" - -[[DualNumbers]] -deps = ["Calculus", "NaNMath", "SpecialFunctions"] -git-tree-sha1 = "5837a837389fccf076445fce071c8ddaea35a566" -uuid = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74" -version = "0.6.8" - -[[EzXML]] -deps = ["Printf", "XML2_jll"] -git-tree-sha1 = "0fa3b52a04a4e210aeb1626def9c90df3ae65268" -uuid = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" -version = "1.1.0" - -[[FileIO]] -deps = ["Pkg", "Requires", "UUIDs"] -git-tree-sha1 = "9267e5f50b0e12fdfd5a2455534345c4cf2c7f7a" -uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" -version = "1.14.0" - -[[FillArrays]] -deps = ["LinearAlgebra", "Random", "SparseArrays", "Statistics"] -git-tree-sha1 = "246621d23d1f43e3b9c368bf3b72b2331a27c286" -uuid = "1a297f60-69ca-5386-bcde-b61e274b549b" -version = "0.13.2" - -[[GMP_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "781609d7-10c4-51f6-84f2-b8444358ff6d" - -[[Gaugefields]] -deps = ["CLIME_jll", "Distributions", "EzXML", "InteractiveUtils", "JLD2", "LinearAlgebra", "NPZ", "Random", "Requires", "StableRNGs", "Wilsonloop"] -git-tree-sha1 = "65c662d2705d71237ed15995de177431eb2835f3" -uuid = "a461e10c-0d91-493e-bc41-027b226eee91" -version = "0.1.14" - -[[HypergeometricFunctions]] -deps = ["DualNumbers", "LinearAlgebra", "SpecialFunctions", "Test"] -git-tree-sha1 = "cb7099a0109939f16a4d3b572ba8396b1f6c7c31" -uuid = "34004b35-14d8-5ef3-9330-4cdb6864b03a" -version = "0.3.10" - -[[InteractiveUtils]] -deps = ["Markdown"] -uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" - -[[InverseFunctions]] -deps = ["Test"] -git-tree-sha1 = "336cc738f03e069ef2cac55a104eb823455dca75" -uuid = "3587e190-3f89-42d0-90ee-14403ec27112" -version = "0.1.4" - -[[IrrationalConstants]] -git-tree-sha1 = "7fd44fd4ff43fc60815f8e764c0f352b83c49151" -uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" -version = "0.1.1" - -[[JLD2]] -deps = ["FileIO", "MacroTools", "Mmap", "OrderedCollections", "Pkg", "Printf", "Reexport", "TranscodingStreams", "UUIDs"] -git-tree-sha1 = "81b9477b49402b47fbe7f7ae0b252077f53e4a08" -uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819" -version = "0.4.22" - -[[JLLWrappers]] -deps = ["Preferences"] -git-tree-sha1 = "abc9885a7ca2052a736a600f7fa66209f96506e1" -uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" -version = "1.4.1" - -[[LaTeXStrings]] -git-tree-sha1 = "f2355693d6778a178ade15952b7ac47a4ff97996" -uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" -version = "1.3.0" - -[[LibCURL]] -deps = ["LibCURL_jll", "MozillaCACerts_jll"] -uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" - -[[LibCURL_jll]] -deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] -uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" - -[[LibGit2]] -deps = ["Base64", "NetworkOptions", "Printf", "SHA"] -uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" - -[[LibSSH2_jll]] -deps = ["Artifacts", "Libdl", "MbedTLS_jll"] -uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" - -[[Libdl]] -uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" - -[[Libiconv_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "42b62845d70a619f063a7da093d995ec8e15e778" -uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531" -version = "1.16.1+1" - -[[LinearAlgebra]] -deps = ["Libdl", "libblastrampoline_jll"] -uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" - -[[LogExpFunctions]] -deps = ["ChainRulesCore", "ChangesOfVariables", "DocStringExtensions", "InverseFunctions", "IrrationalConstants", "LinearAlgebra"] -git-tree-sha1 = "09e4b894ce6a976c354a69041a04748180d43637" -uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" -version = "0.3.15" - -[[Logging]] -uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" - -[[MPFR_jll]] -deps = ["Artifacts", "GMP_jll", "Libdl"] -uuid = "3a97d323-0669-5f0c-9066-3539efd106a3" - -[[MacroTools]] -deps = ["Markdown", "Random"] -git-tree-sha1 = "3d3e902b31198a27340d0bf00d6ac452866021cf" -uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" -version = "0.5.9" - -[[Markdown]] -deps = ["Base64"] -uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" - -[[MbedTLS_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" - -[[Missings]] -deps = ["DataAPI"] -git-tree-sha1 = "bf210ce90b6c9eed32d25dbcae1ebc565df2687f" -uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" -version = "1.0.2" - -[[Mmap]] -uuid = "a63ad114-7e13-5084-954f-fe012c677804" - -[[MozillaCACerts_jll]] -uuid = "14a3606d-f60d-562e-9121-12d972cd8159" - -[[NPZ]] -deps = ["Compat", "FileIO", "ZipFile"] -git-tree-sha1 = "45f77b87cb9ed5b519f31e1590258930f3b840ee" -uuid = "15e1cf62-19b3-5cfa-8e77-841668bca605" -version = "0.4.2" - -[[NaNMath]] -git-tree-sha1 = "737a5957f387b17e74d4ad2f440eb330b39a62c5" -uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" -version = "1.0.0" - -[[NetworkOptions]] -uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" - -[[OpenBLAS_jll]] -deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] -uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" - -[[OpenLibm_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "05823500-19ac-5b8b-9628-191a04bc5112" - -[[OpenSpecFun_jll]] -deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1" -uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" -version = "0.5.5+0" - -[[OrderedCollections]] -git-tree-sha1 = "85f8e6578bf1f9ee0d11e7bb1b1456435479d47c" -uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" -version = "1.4.1" - -[[PDMats]] -deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"] -git-tree-sha1 = "027185efff6be268abbaf30cfd53ca9b59e3c857" -uuid = "90014a1f-27ba-587c-ab20-58faa44d9150" -version = "0.11.10" - -[[Pkg]] -deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] -uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" - -[[Preferences]] -deps = ["TOML"] -git-tree-sha1 = "47e5f437cc0e7ef2ce8406ce1e7e24d44915f88d" -uuid = "21216c6a-2e73-6563-6e65-726566657250" -version = "1.3.0" - -[[Printf]] -deps = ["Unicode"] -uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" - -[[QuadGK]] -deps = ["DataStructures", "LinearAlgebra"] -git-tree-sha1 = "78aadffb3efd2155af139781b8a8df1ef279ea39" -uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" -version = "2.4.2" - -[[REPL]] -deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] -uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" - -[[Random]] -deps = ["SHA", "Serialization"] -uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" - -[[Reexport]] -git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" -uuid = "189a3867-3050-52da-a836-e630ba90ab69" -version = "1.2.2" - -[[Requires]] -deps = ["UUIDs"] -git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" -uuid = "ae029012-a4dd-5104-9daa-d747884805df" -version = "1.3.0" - -[[Rmath]] -deps = ["Random", "Rmath_jll"] -git-tree-sha1 = "bf3188feca147ce108c76ad82c2792c57abe7b1f" -uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa" -version = "0.7.0" - -[[Rmath_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "68db32dff12bb6127bac73c209881191bf0efbb7" -uuid = "f50d1b31-88e8-58de-be2c-1cc44531875f" -version = "0.3.0+0" - -[[SHA]] -uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" - -[[Serialization]] -uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" - -[[SharedArrays]] -deps = ["Distributed", "Mmap", "Random", "Serialization"] -uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" - -[[Sockets]] -uuid = "6462fe0b-24de-5631-8697-dd941f90decc" - -[[SortingAlgorithms]] -deps = ["DataStructures"] -git-tree-sha1 = "b3363d7460f7d098ca0912c69b082f75625d7508" -uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c" -version = "1.0.1" - -[[SparseArrays]] -deps = ["LinearAlgebra", "Random"] -uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" - -[[SpecialFunctions]] -deps = ["ChainRulesCore", "IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"] -git-tree-sha1 = "5ba658aeecaaf96923dce0da9e703bd1fe7666f9" -uuid = "276daf66-3868-5448-9aa4-cd146d93841b" -version = "2.1.4" - -[[StableRNGs]] -deps = ["Random", "Test"] -git-tree-sha1 = "3be7d49667040add7ee151fefaf1f8c04c8c8276" -uuid = "860ef19b-820b-49d6-a774-d7a799459cd3" -version = "1.0.0" - -[[Statistics]] -deps = ["LinearAlgebra", "SparseArrays"] -uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" - -[[StatsAPI]] -deps = ["LinearAlgebra"] -git-tree-sha1 = "c82aaa13b44ea00134f8c9c89819477bd3986ecd" -uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0" -version = "1.3.0" - -[[StatsBase]] -deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"] -git-tree-sha1 = "8977b17906b0a1cc74ab2e3a05faa16cf08a8291" -uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" -version = "0.33.16" - -[[StatsFuns]] -deps = ["ChainRulesCore", "HypergeometricFunctions", "InverseFunctions", "IrrationalConstants", "LogExpFunctions", "Reexport", "Rmath", "SpecialFunctions"] -git-tree-sha1 = "5783b877201a82fc0014cbf381e7e6eb130473a4" -uuid = "4c63d2b9-4356-54db-8cca-17b64c39e42c" -version = "1.0.1" - -[[SuiteSparse]] -deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"] -uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" - -[[TOML]] -deps = ["Dates"] -uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" - -[[Tar]] -deps = ["ArgTools", "SHA"] -uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" - -[[Test]] -deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] -uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" - -[[TranscodingStreams]] -deps = ["Random", "Test"] -git-tree-sha1 = "216b95ea110b5972db65aa90f88d8d89dcb8851c" -uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" -version = "0.9.6" - -[[UUIDs]] -deps = ["Random", "SHA"] -uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" - -[[Unicode]] -uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" - -[[Wilsonloop]] -deps = ["LaTeXStrings", "LinearAlgebra"] -git-tree-sha1 = "079ad065ab140113c6c05f332095fb068bf7fe30" -uuid = "f3c8d4fe-2f22-401d-8228-e6a01d7a1d02" -version = "0.1.3" - -[[XML2_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"] -git-tree-sha1 = "1acf5bdf07aa0907e0a37d3718bb88d4b687b74a" -uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" -version = "2.9.12+0" - -[[ZipFile]] -deps = ["Libdl", "Printf", "Zlib_jll"] -git-tree-sha1 = "3593e69e469d2111389a9bd06bac1f3d730ac6de" -uuid = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea" -version = "0.9.4" - -[[Zlib_jll]] -deps = ["Libdl"] -uuid = "83775a58-1f1d-513f-b197-d71354ab007a" - -[[libblastrampoline_jll]] -deps = ["Artifacts", "Libdl", "OpenBLAS_jll"] -uuid = "8e850b90-86db-534c-a0d3-1478176c7d93" - -[[nghttp2_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" - -[[p7zip_jll]] -deps = ["Artifacts", "Libdl"] -uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" diff --git a/Project.toml b/Project.toml index f86ac65..f49e667 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LatticeDiracOperators" uuid = "019239df-b0e3-486e-8e4c-d1c29ee5d6b9" authors = ["Akio Tomiya, Yuki Nagai and contributors"] -version = "0.2.2" +version = "0.2.3" [deps] AlgRemez_jll = "acb6dc63-88f0-54c7-a126-ccdc963b8b3f" @@ -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" diff --git a/src/AbstractFermions_4D.jl b/src/AbstractFermions_4D.jl index d2f2f9e..402206d 100644 --- a/src/AbstractFermions_4D.jl +++ b/src/AbstractFermions_4D.jl @@ -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 diff --git a/src/DomainwallFermion/DomainwallFermion.jl b/src/DomainwallFermion/DomainwallFermion.jl index e465cb2..6860f08 100644 --- a/src/DomainwallFermion/DomainwallFermion.jl +++ b/src/DomainwallFermion/DomainwallFermion.jl @@ -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)^+ @@ -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)^+ diff --git a/src/MobiusDomainwallFermion/MobiusDomainwallFermion.jl b/src/MobiusDomainwallFermion/MobiusDomainwallFermion.jl index 5d8d3e5..2772a74 100644 --- a/src/MobiusDomainwallFermion/MobiusDomainwallFermion.jl +++ b/src/MobiusDomainwallFermion/MobiusDomainwallFermion.jl @@ -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)^+ @@ -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)^+ diff --git a/src/WilsonFermion/WilsonFermion_2D_wing.jl b/src/WilsonFermion/WilsonFermion_2D_wing.jl index addec8c..5e30e6d 100644 --- a/src/WilsonFermion/WilsonFermion_2D_wing.jl +++ b/src/WilsonFermion/WilsonFermion_2D_wing.jl @@ -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 diff --git a/src/WilsonFermion/WilsonFermion_4D_nowing.jl b/src/WilsonFermion/WilsonFermion_4D_nowing.jl index c3f4606..380ffdc 100644 --- a/src/WilsonFermion/WilsonFermion_4D_nowing.jl +++ b/src/WilsonFermion/WilsonFermion_4D_nowing.jl @@ -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 diff --git a/src/WilsonFermion/WilsonFermion_4D_wing_Adjoint.jl b/src/WilsonFermion/WilsonFermion_4D_wing_Adjoint.jl index a7d593f..d64f1f6 100644 --- a/src/WilsonFermion/WilsonFermion_4D_wing_Adjoint.jl +++ b/src/WilsonFermion/WilsonFermion_4D_wing_Adjoint.jl @@ -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 diff --git a/src/action/FermiAction.jl b/src/action/FermiAction.jl index 2776f74..4373d78 100644 --- a/src/action/FermiAction.jl +++ b/src/action/FermiAction.jl @@ -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 diff --git a/src/action/WilsonFermiAction.jl b/src/action/WilsonFermiAction.jl index 085adf7..0c1f710 100644 --- a/src/action/WilsonFermiAction.jl +++ b/src/action/WilsonFermiAction.jl @@ -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', ϕ) @@ -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) @@ -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 @@ -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!(ϕ) diff --git a/src/action/WilsontypeFermiAction.jl b/src/action/WilsontypeFermiAction.jl index f44db20..62a9df3 100644 --- a/src/action/WilsontypeFermiAction.jl +++ b/src/action/WilsontypeFermiAction.jl @@ -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, @@ -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]