00001 #ifndef INCLUDED_DIQUARK_H
00002 #define INCLUDED_DIQUARK_H
00003
00004 #include <comms/glb.h>
00005 #include "wilson_matrix.h"
00006
00007 CPS_START_NAMESPACE
00008
00009 enum ProjectType {PPAR = 0,
00010 NPAR = 1,
00011 PPAR_5Z = 2,
00012 NPAR_5Z = 3,
00013 PPAR_5Y = 4,
00014 NPAR_5Y = 5,
00015 PPAR_5X = 6,
00016 NPAR_5X = 7,
00017 PPAR_XY = 8,
00018 NPAR_XY = 9,
00019 PPAR_5 = 10,
00020 NPAR_5 = 11
00021 } ;
00022
00023
00024
00025
00026 class Diquark {
00027 WilsonVector q[4][4];
00028
00029 public:
00030 Diquark(){};
00031
00032 void Project(WilsonVector& res, ProjectType P) ;
00033 void D_diquark(WilsonMatrix& Q1, WilsonMatrix& Q2,
00034 WilsonMatrix& Q3, WilsonMatrix& Q4, int spin, int color) ;
00035 void U_diquark(WilsonMatrix& Q1, WilsonMatrix& Q2, int spin, int color) ;
00036
00037 ~Diquark(){} ;
00038
00039 } ;
00040
00041 CPS_END_NAMESPACE
00042 #endif
00043