hao-wang / feynmandiagram Goto Github PK
View Code? Open in Web Editor NEWC-program for Feynman diagram generation
C-program for Feynman diagram generation
I was playing with generating the simplest of diagrams, Moller Scattering where a photon scatters 2 electrons, but I'm getting some odd results so I'm guessing I'm not understanding your "input.txt" file format correctly.
total number of interactions >>>
1
list of the interactions >>>
3> F1 U1:1 F1
============================================================================
The physical process
============================================================================
total number of incoming and outgoing particles >>>
4
the incoming and outgoing particles >>>
2> F1 F1
2> F1 F1
total loops >>>
0
This generates no diagrams and has the output
============================================================================
The physical process
============================================================================
>>> the external particles
P1: (F-1)
P2: (F-1)
P3: (F1)
P4: (F1)
>>> the internal vertices
H1
H2
What's particularly confusing is, it looks like it's turning 2 of my particles into anti-particles, P1:(F-1) and P2:(F-1) . There should be no anti particles at all. What am I doing wrong here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.