Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

cps::WspectExtendedMesons Class Reference

#include <w_ext_mesons.h>

Inherits cps::WspectGinfo.

Inherited by cps::WspectExtendedMesonsBE.

List of all members.

Public Member Functions

 WspectExtendedMesons (WspectArg *w_arg_p, const WspectHyperRectangle &whr, int fuzzing_index, int allocatemem=1)
 ~WspectExtendedMesons ()
void collect (const WspectQuark &q_l, WspectQuark &q_nl, WspectFuzzing *sink_fuzz_p)
void finish ()
void print () const
Float table (int state, int sour_gamma, int sour_op, int sink_gamma, int sink_int) const
int isInOpGroup (int op, int groupId) const
int matchSUMOp (int op, int sum_op) const
void dumpData (char *filename) const

Protected Member Functions

void setWMesonOpTerm (int *term_p, int weight, WGammaMatrix gammaMat, DEVOperatorKind opKind)
void initWMesonOpTable ()
void initWMesonStateTable (WspectArg *arg)
void doAllAlgebra (int lclw, const Float *ql_p, const Float *qnl_p, DEVOperatorKind src_op, DEVOperatorKind)
void ColorAlgebra (const Float *q1_p, const Float *q2_p, int D1x, int D2x, int D1y, int D2y, const int a_local_site[LORENTZs], Complex &result) const
void MomProject (const Float *q1_p, const Float *q2_p, int D1x, int D2x, int D1y, int D2y, int lclW)
void DiracAlgebra (const Float *qp1, const Float *qp2, int lclW, int sour_op, int sink_op)
void traceDirac (Float *gam1, Float *gam2, Complex &result)
void getBinary (const int i, int &i1, int &i2, int &i3, int &i4) const
void testCombination (const int sour_op, const int sink_op, Float &weight_test) const

Protected Attributes

WspectArgarg_p
const int fuzzing_c_index
int d_prop_dir
int d_lclMin [LORENTZs]
int d_lclMax [LORENTZs]
int d_glb_walls
const WspectHyperRectangled_whr
Complex d_zero_mom_proj [DIRACs][DIRACs][DIRACs][DIRACs]


Constructor & Destructor Documentation

cps::WspectExtendedMesons::WspectExtendedMesons WspectArg w_arg_p,
const WspectHyperRectangle whr,
int  fuzzing_index,
int  allocatemem = 1
 

!!!!!!!!!!!!!!!!!!!!Need to be modified to make prop!=3 work!!!!!!!

Definition at line 68 of file w_ext_mesons.C.

References cps::Complex, cps::ERR, cps::Float, cps::NUM_WMESON_OUTPUT, cps::NUM_WMESON_STATE, cps::Error::Pointer(), cps::Verbose::Smalloc(), cps::smalloc(), and cps::VRB.

cps::WspectExtendedMesons::~WspectExtendedMesons  ) 
 

Definition at line 144 of file w_ext_mesons.C.

References cps::Verbose::Func(), cps::sfree(), cps::Verbose::Sfree(), and cps::VRB.


Member Function Documentation

void cps::WspectExtendedMesons::collect const WspectQuark q_l,
WspectQuark q_nl,
WspectFuzzing sink_fuzz_p
 

Definition at line 162 of file w_ext_mesons.C.

References cps::WspectQuark::Data(), cps::WspectQuark::dataSize(), cps::DEVOperatorKind, DiracAlgebra(), cps::WspectQuark::doSinkOperator(), cps::ERR, cps::Float, cps::Verbose::Func(), cps::Error::Pointer(), cps::MPISCU::printf(), cps::sfree(), cps::Verbose::Sfree(), cps::smalloc(), cps::WspectQuark::srcOpKind(), testCombination(), and cps::VRB.

Referenced by cps::AlgWspectExtMeson::run().

void cps::WspectExtendedMesons::ColorAlgebra const Float q1_p,
const Float q2_p,
int  D1x,
int  D2x,
int  D1y,
int  D2y,
const int  a_local_site[LORENTZs],
Complex result
const [protected]
 

Definition at line 505 of file w_ext_mesons.C.

References cps::compDotProduct(), cps::Complex, d_prop_dir, cps::IFloat, and cps::WspectGinfo::siteOffset().

Referenced by MomProject().

void cps::WspectExtendedMesons::DiracAlgebra const Float qp1,
const Float qp2,
int  lclW,
int  sour_op,
int  sink_op
[protected]
 

Definition at line 341 of file w_ext_mesons.C.

References cps::Complex, cps::Float, cps::Verbose::Func(), getBinary(), MomProject(), cps::p(), table(), traceDirac(), cps::VRB, and cps::WGamma.

Referenced by collect(), and cps::WspectExtendedMesonsBE::collect().

void cps::WspectExtendedMesons::doAllAlgebra int  lclw,
const Float ql_p,
const Float qnl_p,
DEVOperatorKind  src_op,
DEVOperatorKind 
[protected]
 

void cps::WspectExtendedMesons::dumpData char *  filename  )  const
 

Reimplemented in cps::WspectExtendedMesonsBE.

void cps::WspectExtendedMesons::finish  ) 
 

Reimplemented in cps::WspectExtendedMesonsBE.

Definition at line 321 of file w_ext_mesons.C.

References cps::Float, cps::glb_sum(), and cps::MPISCU::printf().

Referenced by cps::AlgWspectExtMeson::run().

void cps::WspectExtendedMesons::getBinary const int  i,
int &  i1,
int &  i2,
int &  i3,
int &  i4
const [protected]
 

Definition at line 733 of file w_ext_mesons.C.

Referenced by DiracAlgebra().

void cps::WspectExtendedMesons::initWMesonOpTable  )  [protected]
 

Definition at line 979 of file w_ext_mesons.C.

References cps::DEV1, cps::DEV1DEV2, cps::DEV1DEV3, cps::DEV2, cps::DEV2DEV1, cps::DEV2DEV3, cps::DEV3, cps::DEV3DEV1, cps::DEV3DEV2, cps::MO_a0_primexD_x, cps::MO_a0_primexD_y, cps::MO_a0_primexD_z, cps::MO_a0_primexP_x, cps::MO_a0_primexP_y, cps::MO_a0_primexP_z, cps::MO_a0xP_x, cps::MO_a0xP_y, cps::MO_a0xP_z, cps::MO_a1xB_A1, cps::MO_a1xB_T1_x, cps::MO_a1xB_T1_y, cps::MO_a1xB_T1_z, cps::MO_a1xB_T2_x, cps::MO_a1xB_T2_y, cps::MO_a1xB_T2_z, cps::MO_a1xD_A2, cps::MO_a1xD_E_1, cps::MO_a1xD_E_2, cps::MO_a1xD_T1_x, cps::MO_a1xD_T1_y, cps::MO_a1xD_T1_z, cps::MO_a1xD_T2_x, cps::MO_a1xD_T2_y, cps::MO_a1xD_T2_z, cps::MO_a1xP_A1, cps::MO_a1xP_E_1, cps::MO_a1xP_E_2, cps::MO_a1xP_T2_x, cps::MO_a1xP_T2_y, cps::MO_a1xP_T2_z, cps::MO_b1xD_A2, cps::MO_b1xD_E_1, cps::MO_b1xD_E_2, cps::MO_b1xD_T1_x, cps::MO_b1xD_T1_y, cps::MO_b1xD_T1_z, cps::MO_b1xD_T2_x, cps::MO_b1xD_T2_y, cps::MO_b1xD_T2_z, cps::MO_b1xP_T1_x, cps::MO_b1xP_T1_y, cps::MO_b1xP_T1_z, cps::MO_pionxB_T1_x, cps::MO_pionxB_T1_y, cps::MO_pionxB_T1_z, cps::MO_pionxD_T2_x, cps::MO_pionxD_T2_y, cps::MO_pionxD_T2_z, cps::MO_pionxP_x, cps::MO_pionxP_y, cps::MO_pionxP_z, cps::MO_rhoxB_T1_x, cps::MO_rhoxB_T1_y, cps::MO_rhoxB_T1_z, cps::MO_rhoxB_T2_x, cps::MO_rhoxB_T2_y, cps::MO_rhoxB_T2_z, cps::MO_rhoxD_A2, cps::MO_rhoxD_T1_x, cps::MO_rhoxD_T1_y, cps::MO_rhoxD_T1_z, cps::MO_rhoxD_T2_x, cps::MO_rhoxD_T2_y, cps::MO_rhoxD_T2_z, cps::MO_rhoxP_A1, cps::MO_rhoxP_T1_x, cps::MO_rhoxP_T1_y, cps::MO_rhoxP_T1_z, cps::MO_rhoxP_T2_x, cps::MO_rhoxP_T2_y, cps::MO_rhoxP_T2_z, cps::WMesonOpInfo::num_terms, setWMesonOpTerm(), cps::WGAM_1, cps::WGAM_1_2, cps::WGAM_1_3, cps::WGAM_1_5, cps::WGAM_2, cps::WGAM_2_3, cps::WGAM_3, cps::WGAM_3_5, cps::WGAM_4, cps::WGAM_5, cps::WGAM_5_2, and cps::WUNIT.

void cps::WspectExtendedMesons::initWMesonStateTable WspectArg arg  )  [protected]
 

!!!!!!!!!!!!Turn On/Off manually now!!!!!

Definition at line 1476 of file w_ext_mesons.C.

References cps::WMesonStateInfo::category, cps::WspectArg::extended_mesons_first_dev_on, cps::WspectArg::extended_mesons_second_antisym_dev_on, cps::WspectArg::extended_mesons_second_diag_dev_on, cps::WspectArg::extended_mesons_second_sym_dev_on, cps::WMesonStateInfo::measure, cps::WMesonStateInfo::mesonId, cps::WMesonStateInfo::polarization, cps::MPISCU::printf(), cps::WMesonStateInfo::sinkOp, cps::WMesonStateInfo::srcOp, and cps::WMesonStateInfo::stateName.

int cps::WspectExtendedMesons::isInOpGroup int  op,
int  groupId
const
 

Reimplemented in cps::WspectExtendedMesonsBE.

Definition at line 891 of file w_ext_mesons.C.

References cps::ERR, cps::Error::General(), cps::SUM_F, cps::SUM_F_S_ANTISYM, cps::SUM_S_ANTISYM, cps::SUM_S_SYM, cps::SUM_UNIT_F_S_ANTISYM, and cps::UNIT.

Referenced by cps::AlgWspectExtMeson::run().

int cps::WspectExtendedMesons::matchSUMOp int  op,
int  sum_op
const
 

Reimplemented in cps::WspectExtendedMesonsBE.

Definition at line 923 of file w_ext_mesons.C.

References cps::DEV1, cps::DEV1DEV1, cps::DEV1DEV2, cps::DEV1DEV3, cps::DEV2, cps::DEV2DEV2, cps::DEV2DEV3, cps::DEV3, cps::SUM_F, cps::SUM_F_S_ANTISYM, cps::SUM_S_ANTISYM, cps::SUM_S_DIAG, cps::SUM_S_SYM, cps::SUM_S_SYM_DIAG, cps::SUM_UNIT_F_S_ANTISYM, and cps::UNIT.

Referenced by table().

void cps::WspectExtendedMesons::MomProject const Float q1_p,
const Float q2_p,
int  D1x,
int  D2x,
int  D1y,
int  D2y,
int  lclW
[protected]
 

Definition at line 557 of file w_ext_mesons.C.

References ColorAlgebra(), cps::Complex, d_lclMax, d_lclMin, d_zero_mom_proj, cps::Verbose::Func(), and cps::VRB.

Referenced by DiracAlgebra().

void cps::WspectExtendedMesons::print  )  const
 

Reimplemented in cps::WspectExtendedMesonsBE.

Definition at line 625 of file w_ext_mesons.C.

References arg_p, cps::Complex, d_glb_walls, d_whr, cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::Fopen(), cps::Fprintf(), cps::Verbose::Func(), cps::WspectArg::fuzzing_c, fuzzing_c_index, cps::WspectArg::fuzzing_on, cps::WspectHyperRectangle::glbCoord(), cps::WMesonStateInfo::measure, cps::WMesonStateInfo::mesonId, cps::NUM_WMESON_OUTPUT, cps::MPISCU::printf(), cps::Rcomplex::real(), and cps::VRB.

Referenced by cps::AlgWspectExtMeson::run().

void cps::WspectExtendedMesons::setWMesonOpTerm int *  term_p,
int  weight,
WGammaMatrix  gammaMat,
DEVOperatorKind  opKind
[protected]
 

Definition at line 970 of file w_ext_mesons.C.

Referenced by initWMesonOpTable().

Float cps::WspectExtendedMesons::table int  state,
int  sour_gamma,
int  sour_op,
int  sink_gamma,
int  sink_int
const
 

Reimplemented in cps::WspectExtendedMesonsBE.

Definition at line 791 of file w_ext_mesons.C.

References cps::WMesonStateInfo::category, cps::EXT_FIRSTDEV_MESON, cps::EXT_SECONDDEV_SYM_MESON, cps::Float, matchSUMOp(), cps::WMesonStateInfo::measure, cps::NORMALMESON, cps::WMesonOpInfo::num_terms, cps::WMesonStateInfo::sinkOp, cps::WMesonStateInfo::srcOp, cps::SUM_F, cps::SUM_F_S_ANTISYM, cps::SUM_S_ANTISYM, cps::SUM_S_DIAG, cps::SUM_S_SYM, cps::SUM_S_SYM_DIAG, cps::SUM_UNIT_F_S_ANTISYM, and cps::WMesonOpInfo::terms.

Referenced by DiracAlgebra(), cps::AlgWspectExtMeson::run(), and testCombination().

void cps::WspectExtendedMesons::testCombination const int  sour_op,
const int  sink_op,
Float weight_test
const [protected]
 

Definition at line 778 of file w_ext_mesons.C.

References table().

Referenced by collect().

void cps::WspectExtendedMesons::traceDirac Float gam1,
Float gam2,
Complex result
[protected]
 

Definition at line 592 of file w_ext_mesons.C.

References cps::Complex, d_zero_mom_proj, cps::ERR, and cps::Error::General().

Referenced by DiracAlgebra().


Member Data Documentation

WspectArg* cps::WspectExtendedMesons::arg_p [protected]
 

Definition at line 117 of file w_ext_mesons.h.

Referenced by print().

int cps::WspectExtendedMesons::d_glb_walls [protected]
 

Definition at line 126 of file w_ext_mesons.h.

Referenced by print().

int cps::WspectExtendedMesons::d_lclMax[LORENTZs] [protected]
 

Definition at line 125 of file w_ext_mesons.h.

Referenced by MomProject().

int cps::WspectExtendedMesons::d_lclMin[LORENTZs] [protected]
 

Definition at line 124 of file w_ext_mesons.h.

Referenced by MomProject().

int cps::WspectExtendedMesons::d_prop_dir [protected]
 

Definition at line 123 of file w_ext_mesons.h.

Referenced by ColorAlgebra().

const WspectHyperRectangle& cps::WspectExtendedMesons::d_whr [protected]
 

Definition at line 129 of file w_ext_mesons.h.

Referenced by print().

Complex cps::WspectExtendedMesons::d_zero_mom_proj[DIRACs][DIRACs][DIRACs][DIRACs] [protected]
 

Definition at line 132 of file w_ext_mesons.h.

Referenced by MomProject(), and traceDirac().

const int cps::WspectExtendedMesons::fuzzing_c_index [protected]
 

Definition at line 120 of file w_ext_mesons.h.

Referenced by print().


The documentation for this class was generated from the following files:
Generated on Sat Oct 10 14:12:04 2009 for Columbia Physics System by  doxygen 1.3.9.1