ColorFull::Col_amp Class Reference
The full color amplitude is Scalar + Cs1+Cs2+Cs3... Col_amp is a class to contain info on several Col_strs, a color amplitude.
Constructor & Destructor Documentation
Default constructor, sets Scalar=0, and leaves ca empty.
Constructor taking a string as argument. The string should be of form Polynomial1* col_str1 + Polynomial2*col_str2, for example: Col_amp Ca("13*Nc*[(1, 3, 4, 2)] +2 TR 5 Nc^(-3) [(1, 4) (3, 2)]"). (The Polynomials should multiply the whole col_strs in square brackets, rather than a quark_line inside the -brackets.)
Member Function Documentation
Appends the Col_strs in ca_in to the col_amp member ca.
Erases the information in the col_amp.
Compares col_strs in a Col_amp to collect similar col_strs and only store once in ca.
Function for contracting all gluon indices in a Col_amp, only intended for closed Quark_lines.
Function for contracting gluon indices within the Quark_lines. Checks only for ONE pair in each Quark_line.
Function for contracting the (anti-)quarks in Ca1 with those in Ca2. The results is saved in this Col_amp.
Is the col_amp empty?
Erases the Col_str at place i.
Checks if the Col_amp only contains gluons, i.e., if all Quark_lines are closed.
Normal orders the individual col_strs and then orders the Col_strs using the order defined in the Col_str member function smallest.
Normal orders all col_strs in ca.
Remove quark_lines with no gluons, they are Nc if closed, and defined to be 1 if open.
Remove Col_strs with quark_lines with just 1 gluon, they are 0 as Tr[t^a]=0.
Function for simplifying an amplitude, removes 0 and 1-rings, compares col_strs, removes Col_strs multiplying 0 and simplifies Polynomials of the individual Col_strs.
The size of the col_amp ca.
Function for writing out the Col_amp to a file with name filename.
Member Data Documentation
To actually contain the information about the Col_strs, ca=Cs1+Cs2+Cs3+... . Technically the ca is a vector of Col_strs, a col_amp.
Scalar is Polynomial for collecting color factors appearing when the color structure has been fully contracted. The full color amplitude is Scalar + Cs1+Cs2+Cs3.... Scalar should thus be non-zero only if all indices can be contracted.
The documentation for this class was generated from the following file:
Generated on Fri Jun 2 2017 11:57:53 for ColorFull by 1.8.13