/data/Documents/eclipse/workspace/ColorFull/Col_str.h
Go to the documentation of this file.
void conjugate() Quark_line & at(int i) Returns the Quark_line at place i. Definition: Col_str.h:55 void write_out_Col_str(std::string filename) const int longest_quark_line() const Returns the length of the longest Quark_line in the Col_str. void contract_2_rings() void contract_next_neighboring_gluons() std::pair< int, int > find_parton(int part_num) const Locates the parton with number part_num in a Col_str. Col_str(Quark_line Ql) Make a Col_str of a Quark_line. Definition: Col_str.h:41 void remove_0_rings() Removes Quark_lines without partons, equal to Nc (closed) or 1 (open). void append(Quark_line Ql) Appends a Quark_line to data member cs. Definition: Col_str.h:79 bool neighbor(int p1, int p2) const Function for telling if the partons p1 and p2 are neighbors. Definition: Quark_line.h:31 bool left_neighbor(int p1, int p2) const Function for telling if parton p2 stands to the left of parton p1. void read_in_Col_str(std::string filename) Function for reading in the Col_str from the file filename. void contract_quarks(const Col_str Cs1, const Col_str Cs2) Col_amp operator*(const Col_amp &Ca, const int i) Define the operator * for Col_amps and integers. int n_quark() const bool operator==(const Col_amp &Ca1, const Col_amp &Ca2) Define the operator == for two Col_amps. int n_gluon() const Definition: Col_amp.h:15 Definition: Polynomial.h:30 std::ostream & operator<<(std::ostream &out, const col_amp &ca) Define the operator << for col_amp. const Quark_line & at(int i) const Returns the Quark_line at place i. Definition: Col_str.h:52 int at(int j) const Polynomial Poly Polynomial factor multiplying the whole product of quark-lines. Definition: Col_str.h:49 std::complex< double > cnum A complex number, needed as amplitudes in general are complex. Definition: types.h:20 void remove_1_rings() Removes Quark_lines with only one gluon as Tr(t^a)=0. Definition: Monomial.h:23 void normal_order() bool operator!=(const Col_amp &Ca1, const Col_amp &Ca2) Define the operator != for two Col_amps. int smallest(const Col_str &Cs1, const Col_str &Cs2) const std::string find_kind(int p) const void insert(int i, int j, int part_num) void replace(int old_ind, int new_ind) Replaces the parton index old_ind with new_ind. Definition: Col_str.h:26 bool right_neighbor(int p1, int p2) const Function for telling if parton p2 stands to the right of parton p1. bool gluons_only() const Checks if the amplitude only has gluons, i.e. if all Quark_lines are closed. void simplify() Generated on Fri Jun 2 2017 11:57:53 for ColorFull by 1.8.13 |