-
Notifications
You must be signed in to change notification settings - Fork 146
test: diagram generator comparison tests #745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
93412ae to
97fe0e1
Compare
6feac9e to
9dc826b
Compare
42e1861 to
c4f3928
Compare
|
At this point, though the TODOs are not fully completed, this PR can be merged as it improves test code coverage. |
|
Found a bug in |
The core part of the diagram generator comparison tests. This includes FORM routines for comparing the diagram generator with QGRAF and FeynGraph: http://cefema-gt.tecnico.ulisboa.pt/~paulo/qgraf.html https://jens-braun.github.io/FeynGraph/
The standard test set of the diagram generator.
Checked with QGRAF 3.6.10 and FeynGraph 0.1.0b4+gf7ae8f4.
c4f3928 to
f8e9ca0
Compare
|
The bug in I added QCD 3-loop vacuum bubbles. The results have been validated against FeynGraph on its main branch. I'm not sure how to use Furry's theorem in FeynGraph (it seems that a custom filter would need to be created), so I added both a test without filtering and one with the 1PI filter. I also added The |
Update: This PR depends on:
The former may not be needed depending on how we treat the cache files.
TODO:
Move the test file (probably) toTests should be fast enough. Put them incheck/extra.check/diagrams.frm. The core routines moved tocheck/diagrams/diagrams.h.0`ONEPI_'+`FLOOP_'check/.diagrams_cache/).check/diagrams/).CanonicalizeDiagramsperformance.This PR introduces tests for comparing the diagram generator with QGRAF. The core routines also support FeynGraph, which could be helpful when we implement and test vacuum diagrams in the future (#485). For now, the test cases in the file cover only simple 1-loop diagrams and compare them with QGRAF.
The code contains two
#pipepreprocessor instructions. One checks whether a cache file exists (see also #240). The other checks the FeynGraph version, for which I couldn't find any way to get it from the result using a Jinja template.Open questions:
check,check/extraorcheck/diagrams)checkThe
CanonicalizeDiagramsprocedure may perform better if spectators are used in a smarter way.