Skip to content

Commit f93094f

Browse files
committed
Move propagator and phase space tests to QEDcore
1 parent 47100dc commit f93094f

7 files changed

+3
-368
lines changed

Project.toml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
name = "QEDprocesses"
22
uuid = "46de9c38-1bb3-4547-a1ec-da24d767fdad"
3-
authors = [
4-
"Uwe Hernandez Acosta <[email protected]>",
5-
"Simeon Ehrig",
6-
"Klaus Steiniger",
7-
"Tom Jungnickel",
8-
"Anton Reinhard",
9-
]
3+
authors = ["Uwe Hernandez Acosta <[email protected]>", "Simeon Ehrig", "Klaus Steiniger", "Tom Jungnickel", "Anton Reinhard"]
104
version = "0.1.0"
115

126
[deps]
137
QEDbase = "10e22c08-3ccb-4172-bfcf-7d7aa3d04d93"
8+
QEDcore = "35dc0263-cb5f-4c33-a114-1d7f54ab753e"
149
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
1510
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1611

src/QEDprocesses.jl

+1-8
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,13 @@ export PerturbativeQED
1414
export Compton, omega_prime
1515

1616
using QEDbase
17+
using QEDcore
1718
using StaticArrays
1819
using QuadGK
1920

2021
include("constants.jl")
2122
include("utils.jl")
2223

23-
include("phase_spaces/types.jl")
24-
include("phase_spaces/access.jl")
25-
include("phase_spaces/create.jl")
26-
include("phase_spaces/print.jl")
27-
include("phase_spaces/utility.jl")
28-
29-
include("propagators.jl")
30-
3124
include("cross_section/diff_probability.jl")
3225
include("cross_section/diff_cross_section.jl")
3326
include("cross_section/total_probability.jl")

src/patch_QEDbase.jl

-25
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,3 @@
33
# remove if this went into `QEDbase.jl`
44
#
55
#############
6-
7-
# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/61
8-
Base.show(io::IO, ::Electron) = print(io, "electron")
9-
Base.show(io::IO, ::Positron) = print(io, "positron")
10-
Base.show(io::IO, ::Photon) = print(io, "photon")
11-
Base.show(io::IO, ::Incoming) = print(io, "incoming")
12-
Base.show(io::IO, ::Outgoing) = print(io, "outgoing")
13-
Base.show(io::IO, ::PolX) = print(io, "x-polarized")
14-
Base.show(io::IO, ::PolY) = print(io, "y-polarized")
15-
Base.show(io::IO, ::AllPol) = print(io, "all polarizations")
16-
Base.show(io::IO, ::SpinUp) = print(io, "spin up")
17-
Base.show(io::IO, ::SpinDown) = print(io, "spin down")
18-
Base.show(io::IO, ::AllSpin) = print(io, "all spins")
19-
20-
# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/62
21-
Broadcast.broadcastable(dir::Incoming) = Ref(dir)
22-
Broadcast.broadcastable(dir::Outgoing) = Ref(dir)
23-
Broadcast.broadcastable(part::AbstractParticleType) = Ref(part)
24-
Broadcast.broadcastable(spin_or_pol::AbstractSpinOrPolarization) = Ref(spin_or_pol)
25-
26-
# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/63
27-
number_of_spin_pol(::AbstractDefinitePolarization) = 1
28-
number_of_spin_pol(::AbstractDefiniteSpin) = 1
29-
number_of_spin_pol(::AbstractIndefinitePolarization) = 2
30-
number_of_spin_pol(::AbstractIndefiniteSpin) = 2

src/propagators.jl

-35
This file was deleted.

test/phase_spaces.jl

-260
This file was deleted.

test/propagators.jl

-26
This file was deleted.

0 commit comments

Comments
 (0)