Skip to content

Commit 087a1b6

Browse files
AntonReinhardAntonReinhard
AntonReinhard
authored andcommitted
Remove propagator and phase space
1 parent f143534 commit 087a1b6

6 files changed

+0
-364
lines changed

src/QEDprocesses.jl

-8
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ using QuadGK
2525
include("constants.jl")
2626
include("utils.jl")
2727

28-
include("phase_spaces/types.jl")
29-
include("phase_spaces/access.jl")
30-
include("phase_spaces/create.jl")
31-
include("phase_spaces/print.jl")
32-
include("phase_spaces/utility.jl")
33-
34-
include("propagators.jl")
35-
3628
include("cross_section/diff_probability.jl")
3729
include("cross_section/diff_cross_section.jl")
3830
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, ::QEDbase.Incoming) = print(io, "incoming")
12-
Base.show(io::IO, ::QEDbase.Outgoing) = print(io, "outgoing")
13-
Base.show(io::IO, ::QEDbase.PolX) = print(io, "x-polarized")
14-
Base.show(io::IO, ::QEDbase.PolY) = print(io, "y-polarized")
15-
Base.show(io::IO, ::QEDbase.AllPol) = print(io, "all polarizations")
16-
Base.show(io::IO, ::QEDbase.SpinUp) = print(io, "spin up")
17-
Base.show(io::IO, ::QEDbase.SpinDown) = print(io, "spin down")
18-
Base.show(io::IO, ::QEDbase.AllSpin) = print(io, "all spins")
19-
20-
# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/62
21-
Broadcast.broadcastable(dir::QEDbase.Incoming) = Ref(dir)
22-
Broadcast.broadcastable(dir::QEDbase.Outgoing) = Ref(dir)
23-
Broadcast.broadcastable(part::QEDbase.AbstractParticleType) = Ref(part)
24-
Broadcast.broadcastable(spin_or_pol::QEDbase.AbstractSpinOrPolarization) = Ref(spin_or_pol)
25-
26-
# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/63
27-
number_of_spin_pol(::QEDbase.AbstractDefinitePolarization) = 1
28-
number_of_spin_pol(::QEDbase.AbstractDefiniteSpin) = 1
29-
number_of_spin_pol(::QEDbase.AbstractIndefinitePolarization) = 2
30-
number_of_spin_pol(::QEDbase.AbstractIndefiniteSpin) = 2

src/propagators.jl

-35
This file was deleted.

test/phase_spaces.jl

-262
This file was deleted.

test/propagators.jl

-27
This file was deleted.

test/runtests.jl

-7
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@ using SafeTestsets
44

55
begin
66
# modules
7-
@time @safetestset "propagators" begin
8-
include("propagators.jl")
9-
end
107
@time @safetestset "cross section & probability" begin
118
include("cross_sections.jl")
129
end
1310

14-
@time @safetestset "phase spaces" begin
15-
include("phase_spaces.jl")
16-
end
17-
1811
# scattering processes
1912
include("processes/run_process_test.jl")
2013
end

0 commit comments

Comments
 (0)