You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/interfaces/background_field_interface.jl
+20-60Lines changed: 20 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# The abstract background field interface
3
3
#
4
4
# In this file, the abstract interface for different types of background fields
5
-
# is defined.
5
+
# is defined.
6
6
####################
7
7
"""
8
8
Abstract base type for describing classical background fields.
@@ -45,13 +45,13 @@ function reference_momentum end
45
45
46
46
domain(::AbstractPulsedPlaneWaveField)
47
47
48
-
Interface function for [`AbstractPulsedPlaneWaveField`](@ref), which returns interval (as a `IntervalSets.Interval`) for the given background field.
48
+
Interface function for [`AbstractPulsedPlaneWaveField`](@ref), which returns interval (as a `IntervalSets.Interval`) for the given background field.
49
49
50
50
"""
51
51
function domain end
52
52
53
53
"""
54
-
54
+
55
55
pulse_length(::AbstractPulsedPlaneWaveField)
56
56
57
57
Interface function for [`AbstractPulsedPlaneWaveField`](@ref), which returns a dimensionless representative number for the duration of the background field,
@@ -68,35 +68,35 @@ Interface function for [`AbstractPulsedPlaneWaveField`](@ref), which returns the
68
68
!!! note "Single point implementation"
69
69
70
70
The interface function can be implemented for just one phase point as input. With that, evaluation on a vector of inputs is generically implemented by broadcasting.
71
-
However, if there is a better custom implementation for vectors in input values, consider implementing
71
+
However, if there is a better custom implementation for vectors in input values, consider implementing
where ``A^\\mu(\\varphi)`` is the background field, ``G(\\varphi,p, p^\\prime)`` is the [`phase function`](@ref), ``(p,p^\\prime)`` the given phase space point, and ``l`` the photon number parameter.
Return the first phase integral for the given setup `ph_Int_stp`, background field strength `a0`, photon number parameter `pnum`, components of the kinematic vector factor ``\\alpha_1^\\mu``, and kinematic scalar factor ``\\alpha_2``.
where ``A^\\mu(\\varphi)`` is the background field, ``G(\\varphi,p, p^\\prime)`` is the [`phase function`](@ref), ``(p,p^\\prime)`` the given phase space point, and ``l`` the photon number parameter.
0 commit comments