Skip to content

Commit

Permalink
Remove propagator and phase space
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard authored and AntonReinhard committed Jun 25, 2024
1 parent f143534 commit 087a1b6
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 364 deletions.
8 changes: 0 additions & 8 deletions src/QEDprocesses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ using QuadGK
include("constants.jl")
include("utils.jl")

include("phase_spaces/types.jl")
include("phase_spaces/access.jl")
include("phase_spaces/create.jl")
include("phase_spaces/print.jl")
include("phase_spaces/utility.jl")

include("propagators.jl")

include("cross_section/diff_probability.jl")
include("cross_section/diff_cross_section.jl")
include("cross_section/total_probability.jl")
Expand Down
25 changes: 0 additions & 25 deletions src/patch_QEDbase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,3 @@
# remove if this went into `QEDbase.jl`
#
#############

# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/61
Base.show(io::IO, ::Electron) = print(io, "electron")
Base.show(io::IO, ::Positron) = print(io, "positron")
Base.show(io::IO, ::Photon) = print(io, "photon")
Base.show(io::IO, ::QEDbase.Incoming) = print(io, "incoming")
Base.show(io::IO, ::QEDbase.Outgoing) = print(io, "outgoing")
Base.show(io::IO, ::QEDbase.PolX) = print(io, "x-polarized")
Base.show(io::IO, ::QEDbase.PolY) = print(io, "y-polarized")
Base.show(io::IO, ::QEDbase.AllPol) = print(io, "all polarizations")
Base.show(io::IO, ::QEDbase.SpinUp) = print(io, "spin up")
Base.show(io::IO, ::QEDbase.SpinDown) = print(io, "spin down")
Base.show(io::IO, ::QEDbase.AllSpin) = print(io, "all spins")

# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/62
Broadcast.broadcastable(dir::QEDbase.Incoming) = Ref(dir)
Broadcast.broadcastable(dir::QEDbase.Outgoing) = Ref(dir)
Broadcast.broadcastable(part::QEDbase.AbstractParticleType) = Ref(part)
Broadcast.broadcastable(spin_or_pol::QEDbase.AbstractSpinOrPolarization) = Ref(spin_or_pol)

# fix: https://github.com/QEDjl-project/QEDbase.jl/pull/63
number_of_spin_pol(::QEDbase.AbstractDefinitePolarization) = 1
number_of_spin_pol(::QEDbase.AbstractDefiniteSpin) = 1
number_of_spin_pol(::QEDbase.AbstractIndefinitePolarization) = 2
number_of_spin_pol(::QEDbase.AbstractIndefiniteSpin) = 2
35 changes: 0 additions & 35 deletions src/propagators.jl

This file was deleted.

262 changes: 0 additions & 262 deletions test/phase_spaces.jl

This file was deleted.

27 changes: 0 additions & 27 deletions test/propagators.jl

This file was deleted.

7 changes: 0 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ using SafeTestsets

begin
# modules
@time @safetestset "propagators" begin
include("propagators.jl")
end
@time @safetestset "cross section & probability" begin
include("cross_sections.jl")
end

@time @safetestset "phase spaces" begin
include("phase_spaces.jl")
end

# scattering processes
include("processes/run_process_test.jl")
end

0 comments on commit 087a1b6

Please sign in to comment.