Skip to content

Commit 2d0bce3

Browse files
author
Uwe Hernandez Acosta
committed
formatting
1 parent 058b4f2 commit 2d0bce3

File tree

5 files changed

+11
-20
lines changed

5 files changed

+11
-20
lines changed

src/QEDprocesses.jl

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
module QEDprocesses
22

33
# constants
4-
export
5-
ALPHA,
6-
ALPHA_SQUARE,
7-
ELEMENTARY_CHARGE,
8-
ELEMENTARY_CHARGE_SQUARE,
9-
ELECTRONMASS,
10-
ONE_OVER_FOURPI
4+
export ALPHA,
5+
ALPHA_SQUARE, ELEMENTARY_CHARGE, ELEMENTARY_CHARGE_SQUARE, ELECTRONMASS, ONE_OVER_FOURPI
116

127
# Abstract model interface
138
export AbstractModelDefinition, fundamental_interaction_type

src/models/perturbative_qed.jl

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
32
struct PerturbativeQED <: AbstractModelDefinition end
43

54
fundamental_interaction_type(::PerturbativeQED) = :electromagnetic
@@ -16,11 +15,9 @@ Return the number of degrees of freedom to determine the incoming phase space fo
1615
1716
"""
1817
function in_phase_space_dimension(proc::AbstractProcessDefinition, ::PerturbativeQED)
19-
return 3 * number_incoming_particles(proc) - 4 - 1
18+
return 3 * number_incoming_particles(proc) - 4 - 1
2019
end
2120

2221
function out_phase_space_dimension(proc::AbstractProcessDefinition, ::PerturbativeQED)
23-
return 3 * number_outgoing_particles(proc) - 4
22+
return 3 * number_outgoing_particles(proc) - 4
2423
end
25-
26-

src/processes/one_photon_compton/one_photon_compton.jl

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
export Compton
99
export omega_prime
1010

11-
1211
include("process.jl")
1312
include("perturbative/kinematics.jl")
1413
include("perturbative/cross_section.jl")

test/processes/one_photon_compton/process.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using QEDprocesses
1+
using QEDprocesses
22
using Random
33
using QEDbase
44
using QEDprocesses

test/processes/run_process_test.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
@time @safetestset "general one photon compton" begin
3-
include("one_photon_compton/process.jl")
4-
end
2+
@time @safetestset "general one photon compton" begin
3+
include("one_photon_compton/process.jl")
4+
end
55

6-
@time @safetestset "perturbative one photon compton" begin
7-
include("one_photon_compton/perturbative.jl")
8-
end
6+
@time @safetestset "perturbative one photon compton" begin
7+
include("one_photon_compton/perturbative.jl")
8+
end

0 commit comments

Comments
 (0)