FCLoopTopologyNameToSymbol[exp]
converts topology names
in FCTopology
s and GLI
s that are strings to
expressions. This can be useful when exporting expressions generated
with Mathematica to other software tools.
Using the option Except
one can exclude certain names
from the conversion process.
[GLI["a1", {1, 1, 1}]] // InputForm FCLoopTopologyNameToSymbol
[a1, {1, 1, 1}] GLI
[FCTopology["topo2", {FAD[{p1, m}], FAD[{p1 - q, m}]}, {p1}, {q}, {}, {}]] // InputForm FCLoopTopologyNameToSymbol
[topo2, {FAD[{p1, m}], FAD[{p1 - q, m}]}, {p1}, {q}, {}, {}] GLI
[GLI["a1", {1, 1, 1}] + GLI["b1", {1, 1, 1}], Except -> {"a"}] // InputForm FCLoopTopologyNameToSymbol
["a1", {1, 1, 1}] + GLI[b1, {1, 1, 1}] GLI