-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release version 0.2.0
- Loading branch information
Showing
32 changed files
with
769 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
name = "QEDprocesses" | ||
uuid = "46de9c38-1bb3-4547-a1ec-da24d767fdad" | ||
authors = ["Uwe Hernandez Acosta <u.hernandez@hzdr.de>", "Simeon Ehrig", "Klaus Steiniger", "Tom Jungnickel", "Anton Reinhard"] | ||
version = "0.1.0" | ||
authors = [ | ||
"Uwe Hernandez Acosta <u.hernandez@hzdr.de>", | ||
"Simeon Ehrig", | ||
"Klaus Steiniger", | ||
"Tom Jungnickel", | ||
"Anton Reinhard", | ||
] | ||
version = "0.2.0" | ||
|
||
[deps] | ||
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | ||
QEDbase = "10e22c08-3ccb-4172-bfcf-7d7aa3d04d93" | ||
QEDcore = "35dc0263-cb5f-4c33-a114-1d7f54ab753e" | ||
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" | ||
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" | ||
|
||
[compat] | ||
DocStringExtensions = "0.9" | ||
QEDbase = "0.1" | ||
QEDbase = "0.2.2" | ||
QEDcore = "0.1" | ||
QuadGK = "2" | ||
StaticArrays = "1" | ||
julia = "1.6" | ||
|
||
[extras] | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Random", "SafeTestsets", "Test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
QEDbase = "10e22c08-3ccb-4172-bfcf-7d7aa3d04d93" | ||
QEDcore = "35dc0263-cb5f-4c33-a114-1d7f54ab753e" | ||
QEDprocesses = "46de9c38-1bb3-4547-a1ec-da24d767fdad" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
module QEDprocesses | ||
|
||
# Abstract model interface | ||
export AbstractModelDefinition, fundamental_interaction_type | ||
# constants | ||
export ALPHA, | ||
ALPHA_SQUARE, ELEMENTARY_CHARGE, ELEMENTARY_CHARGE_SQUARE, ELECTRONMASS, ONE_OVER_FOURPI | ||
|
||
# Abstract process interface | ||
export AbstractProcessDefinition, incoming_particles, outgoing_particles | ||
export in_phasespace_dimension, out_phasespace_dimension | ||
export number_incoming_particles, number_outgoing_particles | ||
export differential_cross_section, total_cross_section | ||
# propagator | ||
export propagator | ||
|
||
# Abstract setup interface | ||
export AbstractComputationSetup, InvalidInputError, compute | ||
export AbstractProcessSetup, scattering_process, physical_model | ||
# specific compute models | ||
export PerturbativeQED | ||
|
||
# specific scattering processes | ||
export Compton, omega_prime | ||
|
||
using DocStringExtensions | ||
using QEDbase | ||
using QEDcore | ||
using StaticArrays | ||
using QuadGK | ||
|
||
include("constants.jl") | ||
include("utils.jl") | ||
include("interfaces/model_interface.jl") | ||
include("interfaces/process_interface.jl") | ||
include("interfaces/setup_interface.jl") | ||
|
||
include("models/models.jl") | ||
|
||
# one photon compton | ||
include("processes/one_photon_compton/process.jl") | ||
include("processes/one_photon_compton/perturbative/kinematics.jl") | ||
include("processes/one_photon_compton/perturbative/cross_section.jl") | ||
include("processes/one_photon_compton/perturbative/total_probability.jl") | ||
|
||
include("patch_QEDbase.jl") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
const ALPHA = inv(137.035999074) | ||
const ALPHA_SQUARE = ALPHA^2 | ||
const ELEMENTARY_CHARGE = sqrt(4 * pi * ALPHA) | ||
const ELEMENTARY_CHARGE_SQUARE = 4 * pi * ALPHA | ||
const ELECTRONMASS = 0.510998928e6 # eV | ||
const ONE_OVER_FOURPI = 1 / (4 * pi) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.