//------------------------------------------------------------------ // // Nuc3pt_GAMMAR.C // // Implementation of the Nucl3pt_GAMMAR class // // August 2003 // // Federico Berruto // //------------------------------------------------------------------ #include #include CPS_START_NAMESPACE Nuc3ptGammaR::Nuc3ptGammaR(Gamma op, int dd):Nuc3pt(),dir(dd),G(op) { cname = "Nuc3ptGammaR"; //char *fname = "Nuc3ptGammaR(Gamma,int)"; //VRB.Func(cname,fname); } /*! Computes \f[ Trace(seqQ \, \gamma_{\mu}\,r_{\nu} \, Quark) \f] **/ void Nuc3ptGammaR::InsertOp(CorrFunc& tmp,QPropW& seqQ, QPropW& Quark) { char *fname = "InsertOp()"; VRB.Func(cname, fname); Site s ; for(s.Begin();s.End();s.nextSite()) { int t(s.physT()) ; WilsonMatrix sq(seqQ[s.Index()]) ; for(int mu(0);mu