ColorFull::Col_amp Class Reference
Detailed DescriptionThe 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◆ Col_amp() [1/3]
Default constructor, sets Scalar=0, and leaves ca empty. ◆ Col_amp() [2/3]
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.) ◆ Col_amp() [3/3]Member Function Documentation◆ append() [1/2]◆ append() [2/2]
Appends the Col_strs in ca_in to the col_amp member ca. ◆ at() [1/2]◆ at() [2/2]◆ clear()
Erases the information in the col_amp. ◆ collect_col_strs()
Compares col_strs in a Col_amp to collect similar col_strs and only store once in ca. ◆ conjugate()
Function for taking the conjugate of the Col_amp by conjugating each Col_str in ca and the Polynomial member Scalar. ◆ contract_2_rings()
Contract closed Quark_lines with only 2 gluons in each Quark_line in each Col_str in the Col_amp. This removes the 2-ring, replaces one of the gluon indices and multiplies with a factor tr[t^a t^a]=TR (no sum). only intended for fully contractable Col_strs. ◆ contract_a_gluon()
Contracts one gluon, the first gluon in first Quark_line (in each Col_str), only intended for closed Quark_lines. ◆ contract_all_gluons()
Function for contracting all gluon indices in a Col_amp, only intended for closed Quark_lines. ◆ contract_next_neighboring_gluons()
Contracts up to next to neighboring gluons in each Quark_line in each Col_str in each Col_amp, only intended for closed Quark_lines. ◆ contract_Quark_line_gluons()
Function for contracting gluon indices within the Quark_lines. Checks only for ONE pair in each Quark_line. ◆ contract_quarks()Function for contracting the (anti-)quarks in Ca1 with those in Ca2. The results is saved in this Col_amp. ◆ empty()
Is the col_amp empty? ◆ erase()
Erases the Col_str at place i. ◆ gluons_only()
Checks if the Col_amp only contains gluons, i.e., if all Quark_lines are closed. ◆ longest_quark_line()
Returns the length of the longest Quark_line in any Col_str. ◆ n_gluon()
◆ n_gluon_check()
◆ n_quark()
◆ n_quark_check()
◆ normal_order()
Normal orders the individual col_strs and then orders the Col_strs using the order defined in the Col_str member function smallest. ◆ normal_order_col_strs()
Normal orders all col_strs in ca. ◆ read_in_Col_amp()
Reads in the Col_amp to the member ca from the file filename. (This is for reading in an actual color amplitude, nothing is read in the the Polynomial member scalar.) ◆ remove_0_rings()
Remove quark_lines with no gluons, they are Nc if closed, and defined to be 1 if open. ◆ remove_1_rings()
Remove Col_strs with quark_lines with just 1 gluon, they are 0 as Tr[t^a]=0. ◆ remove_empty_Col_strs()
Removes empty Col_strs, an empty Col_str means that all indices have been contracted, so the Col_str is equal to its Polynomial, which is moved to the scalar part of the Col_amp. ◆ simplify()
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. ◆ size()
The size of the col_amp ca. ◆ write_out_Col_amp()
Function for writing out the Col_amp to a file with name filename. Member Data Documentation◆ ca
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
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 |