feyn.gle
Drawing Feynman diagrams, version 1.2
for documentation see
Drawing Feynman diagrams with GLE,
Comp. Phys. Commun. 283 (2023) 108590
[https://arxiv.org/abs/2207.01351]
new features in the version 1.2:
https://arxiv.org/abs/2611.29526
variable names beginning with F are reserved for internal use
straight line | arc
fr - -1 | radius
fx,fy - initial point | center
fa - slope | slope: center->initial
fl - length | angle length
fc - | +1 - counterclockwise
fsx,fsy - | starting point for Feyn2 functions
fxx,fyy - | intermediate points for Feyn2 functions
ffx,ffy - final point
fx1,fy1,... - temporary coordinates
f1,f2,... - temporary variables
fi,fm,fd - for loops
fcirc - the arc is a circle
sin table
Setup
internal - setup for straight line
+1 counterclockwise-1 clockwise
internal - setup for circle
internal - setup for arcFermion line
Fermion line from the current point to x,y
Fermion line - circle with the center x,y Fermion line from the current point via xx,yy to x,y Double line from the current point to x,y Double line - circle with the center x,y Double line from the current point via xx,yy to x,yDashed line
DashB>0: the line begins with a dash of the length DashBDashFDashL
DashB<0: the line begins with a gap of the length -DashB(1-DashF)DashL
DashE: similarly
Calculate fn
Calculate fd, fm, f1, f2 Higgs (dashed) line from the current point to x,y Higgs (dashed) line - circle with the center x,y Higgs (dashed) line from the current point via xx,yy to x,y Double dashed line Double dashed line - circle Double dashed line - arcVertices
Vertex at the current point
Regular polygon Set color of both lines and filled circlesDotted line
Dotted line from the current point to x,y
Dotted line - circle with the center x,y Dotted line from the current point via xx,yy to x,y Double dotted line Double dotted line - circle Double dotted line - arcZigzag line
Vector boson (zigzag) line from the current point to x,y
Vector boson (zigzag) line - circle with the center x,y Vector boson (zigzag) line from the current point via xx,yy to x,y Double zigzag line Double zigzag line - circle Double zigzag line - arcPhoton line
Photon line from the current point to x,y
Photon line - circle with the center x,y Photon line from the current point via xx,yy to x,y Double photon line Double photon line - circle Double photon line - arcGluon line
1 - the ends are "symmetric"
-1 - the ends are "different"
Gluon line from the current point to x,y
Gluon line - circle with the center x,y Gluon line from the current point via xx,yy to x,yCombined lines
Pattern line
Pattern line Pattern line - circle Pattern line - arc Double pattern line Double pattern line - circle Double pattern line - arcArrows
Arrow on the last line, fraction f from the beginning
Dot on the last line, fraction f from the beginning Arrow for indication of momentum near the last line Double arrow near the last line Arc-shaped arrow for indication of momentum near the last line Arc-shaped double arrow near the last line