Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Hernandez Acosta committed Nov 14, 2024
1 parent 33364c2 commit 5fbf3ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/interfaces/phase_space_layout.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

"""
AbstractPhaseSpaceLayout
The `AbstractPhaseSpaceLayout` is an abstract type that represents the general concept of
Expand All @@ -12,6 +13,7 @@ a phase space layout in a scattering process.
abstract type AbstractPhaseSpaceLayout end

"""
AbstractInPhaseSpaceLayout <: AbstractPhaseSpaceLayout
The `AbstractInPhaseSpaceLayout` represents the phase space layout for the incoming particles
Expand All @@ -27,6 +29,7 @@ constructed from phase space coordinates.
abstract type AbstractInPhaseSpaceLayout <: AbstractPhaseSpaceLayout end

"""
AbstractOutPhaseSpaceLayout{InPSL<:AbstractInPhaseSpaceLayout} <: AbstractPhaseSpaceLayout
The `AbstractOutPhaseSpaceLayout` represents the phase space layout for the outgoing particles
Expand All @@ -47,6 +50,7 @@ allowing consistency between the two configurations in the process.
abstract type AbstractOutPhaseSpaceLayout{InPSL<:AbstractInPhaseSpaceLayout} <:
AbstractPhaseSpaceLayout end
"""
phase_space_dimension(proc, model, layout::AbstractPhaseSpaceLayout) -> Int
This function needs to be implemented for the phase-space layout interface.
Expand Down Expand Up @@ -94,6 +98,7 @@ when calculating or sampling phase space points in scattering processes.
function in_phase_space_layout end

"""
_build_momenta(proc, model, in_psl::AbstractInPhaseSpaceLayout, in_coords::Tuple)
_build_momenta(proc, model, Ptot::AbstractFourMomentum, out_psl::AbstractOutPhaseSpaceLayout, out_coords::Tuple)
Expand Down

0 comments on commit 5fbf3ad

Please sign in to comment.