Skip to content

Diagram generator: Towards Qgraf keywords - #716

Merged
tueda merged 1 commit into
form-dev:masterfrom
tueda:pr/feat/diagrams-20250717
Oct 14, 2025
Merged

tueda merged 1 commit into
form-dev:masterfrom
tueda:pr/feat/diagrams-20250717

Conversation

@tueda

@tueda tueda commented Sep 30, 2025 •

Copy link
Copy Markdown
Collaborator

This PR merges changes from the current diagrams branch, which introduces Qgraf keywords at the grcc level. Merge conflicts were resolved by entirely replacing the diagram generator source files, rather than merging them. It also fixes typos reintroduced as a result of this replacement, removes dead code related to TKMOD, and includes memory bug fixes in a separate commit.

@coveralls

coveralls commented Sep 30, 2025 •

Copy link
Copy Markdown

Coverage Status

coverage: 56.768% (+1.0%) from 55.768%
when pulling 0f381ec on tueda:pr/feat/diagrams-20250717
into 7ed2880 on form-dev:master.

@tueda
tueda force-pushed the pr/feat/diagrams-20250717 branch 2 times, most recently from 9f83cba to 08527fa Compare September 30, 2025 12:05
@tueda

tueda commented Sep 30, 2025

Copy link
Copy Markdown
Collaborator Author

I think the merge has been improved now.

@tueda
tueda force-pushed the pr/feat/diagrams-20250717 branch from 08527fa to bcf451a Compare October 14, 2025 11:18
This patch implements the following QGRAF options:

    onepi/onepr
    onshell/offshell
    nosigma/sigma
    nosnail/snail
    notadpole/tadpole
    simple/notsimple
    bipart/nonbipart
    cycli/cyclr
    floop

The following options are not implemented:

    topol
    onevi/onevr
    onshellx/offshellx

The default options are updated to generate the set of all connected
graphs. Specifying additional options can generate a subset of the
default output.

Example:

    #define LOOPS "2"
    Vectors Q1,Q2,p1,...,p8;
    Set QQ:Q1,Q2;
    Set PP:p1,...,p8;
    Local F = topologies_(`LOOPS',2,{3,4},QQ,PP);
    Print +ss;
    .end

This generates 24 terms, corresponding to 24 topologies, due to the
updated default options. When applied to the 3-loop case, the same
example yields 240 terms.

Note: The above example crashes when called with
"`LOOPS',-2,{3,4},QQ,PP". This behaviour was also seen in previous
versions.
@tueda
tueda force-pushed the pr/feat/diagrams-20250717 branch from bcf451a to 0f381ec Compare October 14, 2025 11:28
@tueda
tueda merged commit 2aba64b into form-dev:master Oct 14, 2025
77 of 83 checks passed
@tueda
tueda deleted the pr/feat/diagrams-20250717 branch October 14, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants