FeynCalc manual (development version)

FCLoopTopologyNameToSymbol

FCLoopTopologyNameToSymbol[exp] converts topology names in FCTopologys and GLIs 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.

See also

Overview, FCTopology, GLI.

Examples

FCLoopTopologyNameToSymbol[GLI["a1", {1, 1, 1}]] // InputForm
GLI[a1, {1, 1, 1}]
FCLoopTopologyNameToSymbol[FCTopology["topo2", {FAD[{p1, m}], FAD[{p1 - q, m}]}, {p1}, {q}, {}, {}]] // InputForm
GLI[topo2, {FAD[{p1, m}], FAD[{p1 - q, m}]}, {p1}, {q}, {}, {}]
FCLoopTopologyNameToSymbol[GLI["a1", {1, 1, 1}] + GLI["b1", {1, 1, 1}], Except -> {"a"}] // InputForm
GLI["a1", {1, 1, 1}] + GLI[b1, {1, 1, 1}]