Skip to content

Commit

Permalink
Export AbstractFourMomentum (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard authored May 27, 2024
1 parent 326184d commit a394e86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/QEDbase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export setTransverseMass!, setMt!
export setRapidity!

export AbstractLorentzVector, SLorentzVector, MLorentzVector, dot
export SFourMomentum, MFourMomentum, isonshell, assert_onshell
export AbstractFourMomentum, SFourMomentum, MFourMomentum
export isonshell, assert_onshell

export BiSpinor, AdjointBiSpinor, DiracMatrix, mul
export AbstractDiracVector, AbstractDiracMatrix
Expand Down
5 changes: 4 additions & 1 deletion src/four_momentum.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""
SFourMomentum type
AbstractFourMomentum
Abstract base type for four-momentas, representing one energy and three spacial components.
Also see: [`SFourMomentum`](@ref)
"""

abstract type AbstractFourMomentum <: AbstractLorentzVector{Float64} end
Expand Down

0 comments on commit a394e86

Please sign in to comment.