Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix the topology_ function#604

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
tueda wants to merge2 commits intoform-dev:master
base:master
Choose a base branch
Loading
fromtueda:pr-fix-topologies-1

Conversation

@tueda
Copy link
Collaborator

@tuedatueda commentedDec 27, 2024
edited
Loading

Thisfixes#474.

Internally, 2 new flagsNOTOPOS andNOSYMMETRYFACTOR have been introduced. These flags are not yet exposed to users as preprocessor variables.

For now, node numbers start from 1.

The result of Diagram_3 has been updated:

-       + node_(0,-Q1)*node_(1,-Q2)*node_(2,Q1,-p1,-p2)*node_(3,p1,-p3,-p4)*-      node_(4,Q2,p2,p3,p4)+       + node_(0,-Q1)*node_(1,-Q2)*node_(2,-p1,-p2,-p3)*node_(3,Q2,p1,-p4)*+      node_(4,Q1,p2,p3,p4)

but they are actually the same. Theold andnew diagrams are equivalent when considering the symmetry that arises from interchanging the two external legs:

I am not sure about the diagram generator options forNOSNAILS_,NOTADPOLES_, etc., as they have not yet been tested.

- Add NOTOPOS and NOSYMMETRYFACTOR flags to control the inclusion of  topo_ and symmetry factors.- Set an appropriate default value for the optional last argument of the  topologies_ function.- Fix missing/wrong initialization of info and TopoInf.- Avoid unnecessary heap allocation.
The expected result for the Diagrams_3 test case is updated whileremaining consistent with the old result because of the symmetry ofinterchanging the external legs.For now, the node IDs are decremented in the test code to reproduce theold results.
@coveralls
Copy link

Coverage Status

coverage: 50.914% (+0.2%) from 50.722%
when pullinge76def6 on tueda:pr-fix-topologies-1
into8abec49 on vermaseren:master.

@tuedatueda added this to thev5 milestoneJan 29, 2025
@tuedatueda marked this pull request as ready for reviewJune 1, 2025 15:32
@tueda
Copy link
CollaboratorAuthor

Question: Are these changes acceptable?

  1. The node numbering starts from 1 instead of 0.
  2. The generated graphs appear different (but are isomorphic).

Another question about the diagram generator is why the nameWITHOUTINSERTIONS_ was chosen instead ofNOINSERTIONS_.

@jodavies
Copy link
Collaborator

There is alsoWITHEDGES,WITHBLOCKS andWITHONEPISETS. Those could be standardised a bit indeed

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v5

Development

Successfully merging this pull request may close these issues.

Broken topologies_

3 participants

@tueda@coveralls@jodavies

[8]ページ先頭

©2009-2025 Movatter.jp