Namespace containing topology utilities for Feynman diagram calculations. More...
Enumerations | |
| enum | Type { Tadpole = (1 << 0), Mass = (1 << 1), Triangle = (1 << 2), Box = (1 << 3), Pentagon = (1 << 4), Any = Tadpole | Mass | Triangle | Box | Pentagon } |
| Enumeration of the different possible topologies. More... | |
Functions | |
| Type | legsToTopology (int nLegs) |
| Converts an integer corresponding to a number of legs to a topology. More... | |
| std::ostream & | operator<< (std::ostream &out, Type t) |
| Overload of output stream operator for a topology. More... | |
Variables | |
| constexpr auto | topologyList |
| List of the different possible topologies. More... | |
| constexpr auto | names |
| Names for topologies. More... | |
Namespace containing topology utilities for Feynman diagram calculations.
| enum mty::Topology::Type |
Enumeration of the different possible topologies.
Enumeration values are aligned on powers of 2 to be able to compose topologies using the pipe | as the logical 'or'. For example, Triangle | Box corresponds to a topology "triangle or box". The topology Any refers to all the topologies and is equivalent to
The topology does not count the number of propagators in the loop but the number of particles connected to it. For only 3-vertices those two situations are equivalent but when higher order vertices are connected to the loop they are not. For example, a 4-vertex looping with a 3-vertex by 2 propagators is a Triangle because the loop is connected to three external particles (2 from the 4-vertex + 1 form the 3-vertex).
|
inline |
Converts an integer corresponding to a number of legs to a topology.
| nLegs | number of legs outside the loop. |
|
inline |
Overload of output stream operator for a topology.
| out | Output stream. |
| t | Type of the topology to display. |
|
inline |
Names for topologies.
|
inline |
List of the different possible topologies.
1.8.13