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

cps::QPropW Class Reference

The Quark Propagator (Wilson type) class. More...

#include <qpropw.h>

Inherits cps::Alg.

Inherited by cps::QPropWBoxSrc, cps::QPropWExpSrc, cps::QPropWGaussSrc, cps::QPropWGFLfuncSrc, cps::QPropWGFPointSrc, cps::QPropWMultGaussSrc, cps::QPropWPointSrc, cps::QPropWRand, cps::QPropWSeq, cps::QPropWVolSrc, and cps::QPropWWallSrc.

List of all members.

Public Member Functions

 QPropW (Lattice &lat, CommonArg *c_arg)
 QPropW (Lattice &lat, QPropWArg *arg, CommonArg *c_arg)
 QPropW (const QPropW &rhs)
 copy constructor
 QPropW (QPropW &prop1, QPropW &prop2)
 averaging constructor
Float Mass () const
int SourceTime () const
virtual int BoxSrcStart () const
virtual int BoxSrcEnd () const
virtual const QPropWGaussArgGaussArg (void)
virtual int Gauss_N () const
virtual Float Gauss_W () const
int GFixedSnk () const
 Is sink gauge fixed?
int StoreMidprop () const
 Is source gauge fixed?
int DoHalfFermion () const
 Returns the half fermion flag.
void Run (const int do_rerun, const Float precision=1e-8)
 calculate the propagator (or, if do_rerun=1, load, recompute, compare)
void Run ()
 calculate the propagator
void ReRun (const Float precision=1e-8)
 reloads the propagator (QIO), recomputes it and does a comparison between those
void ReLoad (char *infile)
 Loads a propagator(QIO) from file infile.
void CG (FermionVectorTp &, FermionVectorTp &, FermionVectorTp &, int &, Float &)
void CG (Lattice &lat, CgArg *arg, FermionVectorTp &source, FermionVectorTp &sol, int &iter, Float &true_res)
void FixSol (FermionVectorTp &sol)
void LoadRow (int spin, int color, FermionVectorTp &, FermionVectorTp &)
void SetFileName (char *nm)
void ShiftPropForward (int n)
void ShiftPropBackward (int n)
void Allocate (int)
 Allocates memory for prop or prop_mid.
void Delete (int)
 Deallocates memory of prop or prop_mid.
void SetArgs (QPropWArg &arg)
 Sets the QPropW arguments.
void Average (QPropW &Q)
 computes .5(prop+Q)
WilsonMatrixGetMatrix (const int *, WilsonMatrix &) const
 Comunicate Wilson Matrices...
virtual void RestoreQProp (char *, int mid)
virtual void SaveQProp (char *, int mid)
virtual void RestoreQPropLs (char *, int ls)
virtual void SaveQPropLs (Vector *sol_5d, char *, int ls)
virtual void RestoreQPropLs_ftom (char *)
virtual void DeleteQPropLs ()
virtual void RestoreOrgProp (char *, int ls)
void SwapQPropLs ()
void NonRelProp (int ls)
virtual void MeasConAxialOld (Vector *sol_5d)
virtual void MeasJ5qPion (Vector *sol_5d)
virtual void SetSource (FermionVectorTp &src, int spin, int color)
virtual SourceType SrcType ()
SourceType SeqSmearSink () const
void GaussSmearSinkProp (int t_sink, const QPropWGaussArg &gauss_arg)
void GaussSmearSinkProp (const QPropWGaussArg &gauss_arg)
virtual Complexrand_src (int i) const
WilsonMatrix WallSinkProp (int t_sink)
void DoLinkSmear (const QPropWGaussArg &gauss_arg)
void UndoLinkSmear (const QPropWGaussArg &gauss_arg)
QPropWoperator= (const QPropW &rhs)
WilsonMatrixoperator[] (int i)
WilsonMatrixoperator() (int i)
virtual ~QPropW ()
int GFixedSrc () const
int PointSrcX () const
int PointSrcY () const
int PointSrcZ () const
int siteOffset (const int lcl_site[], const int lcl_sites[]) const

Public Attributes

Floatconserved
Floatj5q_pion
int spnclr_cnt
 pointer to 5d prop counter

Protected Attributes

WilsonMatrixprop
 pointer to 4d prop
QPropWArg qp_arg
char * cname
 The class name.


Detailed Description

The Quark Propagator (Wilson type) class.

Definition at line 49 of file qpropw.h.


Constructor & Destructor Documentation

cps::QPropW::QPropW Lattice lat,
CommonArg c_arg
 

Definition at line 91 of file QPropW.C.

References cname, cps::Verbose::Func(), prop, and cps::VRB.

cps::QPropW::QPropW Lattice lat,
QPropWArg arg,
CommonArg c_arg
 

Definition at line 107 of file QPropW.C.

References cps::QPropWArg::cg, cname, cps::Verbose::Debug(), cps::ERR, cps::QPropWArg::file, cps::Error::FileA(), cps::Verbose::Flow(), cps::Verbose::Func(), cps::GJP, cps::CgArg::mass, cps::Error::Pointer(), prop, qp_arg, cps::QPropWArg::save_ls_prop, cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::SnodeSites(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

cps::QPropW::QPropW const QPropW rhs  ) 
 

copy constructor

Definition at line 159 of file QPropW.C.

References Allocate(), cname, cps::Verbose::Func(), cps::GJP, midprop, MIDPROP, prop, PROP, propls, qp_arg, sink_type, StoreMidprop(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

cps::QPropW::QPropW QPropW prop1,
QPropW prop2
 

averaging constructor

Definition at line 220 of file QPropW.C.

References Allocate(), cname, cps::Verbose::Func(), cps::GJP, PROP, prop, qp_arg, sink_type, cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

cps::QPropW::~QPropW  )  [virtual]
 

Definition at line 1072 of file QPropW.C.

References cname, Delete(), cps::Verbose::Func(), MIDPROP, PROP, and cps::VRB.


Member Function Documentation

void cps::QPropW::Allocate int   ) 
 

Allocates memory for prop or prop_mid.

Definition at line 48 of file QPropW.C.

References cname, cps::ERR, cps::Verbose::Func(), cps::GJP, cps::Error::Pointer(), prop, cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

Referenced by operator=(), QPropW(), RestoreQProp(), and Run().

void cps::QPropW::Average QPropW Q  ) 
 

computes .5(prop+Q)

Compute the average of the current propagator and the propagaror Q

\[ prop[i] =\frac{1}{2}(prop[i] + Q.prop[i]) \]

It does this for both prop and midprop

NOTE: This way of doing things saves an extra propagator in storage the averaging constructor should be removed since it is now obsolete.

Definition at line 949 of file QPropW.C.

References cps::GJP, midprop, prop, and cps::GlobalJobParameter::VolNodeSites().

int cps::QPropW::BoxSrcEnd  )  const [virtual]
 

Reimplemented in cps::QPropWBoxSrc.

Definition at line 3391 of file QPropW.C.

References cname, cps::ERR, and cps::Error::NotImplemented().

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

int cps::QPropW::BoxSrcStart  )  const [virtual]
 

Reimplemented in cps::QPropWBoxSrc.

Definition at line 3387 of file QPropW.C.

References cname, cps::ERR, and cps::Error::NotImplemented().

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

void cps::QPropW::CG Lattice lat,
CgArg arg,
FermionVectorTp source,
FermionVectorTp sol,
int &  iter,
Float true_res
 

Definition at line 719 of file QPropW.C.

References cname, cps::ERR, and cps::Error::NotImplemented().

void cps::QPropW::CG FermionVectorTp ,
FermionVectorTp ,
FermionVectorTp ,
int &  ,
Float
 

Definition at line 725 of file QPropW.C.

References cps::Alg::AlgLattice(), cps::QPropWArg::cg, cname, cps::CNV_FRM_YES, cps::FermionVectorTp::data(), cps::ERR, cps::Lattice::Fclass(), cps::Lattice::Ffive2four(), cps::Lattice::Ffour2five(), cps::QPropWArg::file, cps::Lattice::FmatInv(), cps::Lattice::FsiteSize(), cps::Verbose::Func(), cps::GJP, cps::IFloat, MeasConAxialOld(), MeasJ5qPion(), cps::Error::Pointer(), cps::PRESERVE_NO, qp_arg, cps::QPropWArg::save_ls_prop, SaveQPropLs(), cps::sfree(), cps::Verbose::Sfree(), cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), spnclr_cnt, StoreMidprop(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

Referenced by Run().

void cps::QPropW::Delete int   ) 
 

Deallocates memory of prop or prop_mid.

Definition at line 70 of file QPropW.C.

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

Referenced by ~QPropW().

void cps::QPropW::DeleteQPropLs  )  [virtual]
 

Definition at line 1487 of file QPropW.C.

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

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

int cps::QPropW::DoHalfFermion  )  const [inline]
 

Returns the half fermion flag.

Definition at line 116 of file qpropw.h.

Referenced by cps::Nuc2pt::calcNucleon(), NonRelProp(), cps::QPropWSeq::QPropWSeq(), RestoreOrgProp(), RestoreQPropLs(), RestoreQPropLs_ftom(), Run(), SaveQPropLs(), cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

void cps::QPropW::DoLinkSmear const QPropWGaussArg gauss_arg  ) 
 

Definition at line 2076 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::ApeSmearArg::coef, cps::Lattice::CopyGaugeField(), cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::Fopen(), cps::Fprintf(), cps::Verbose::Func(), cps::Lattice::GaugeField(), cps::QPropWGaussArg::gauss_link_smear_coeff, cps::QPropWGaussArg::gauss_link_smear_N, cps::QPropWGaussArg::gauss_link_smear_type, cps::Error::General(), cps::GJP, cps::GKLS_APE, cps::GKLS_STOUT, cps::Error::NotImplemented(), cps::ApeSmearArg::orthog, cps::Error::Pointer(), cps::CommonArg::results, cps::AlgApeSmear::run(), cps::AlgPlaq::run(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

Referenced by GaussSmearSinkProp(), cps::QPropWSeqProtUSrc::SetSource(), cps::QPropWSeqProtDSrc::SetSource(), cps::QPropWMultGaussSrc::SetSource(), and cps::QPropWGaussSrc::SetSource().

void cps::QPropW::FixSol FermionVectorTp sol  ) 
 

gauge fix solution - only works for coulomb guage in time, or Landau gauge

Definition at line 818 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::ERR, cps::Lattice::FixGaugeKind(), cps::Verbose::Func(), cps::FermionVectorTp::GaugeFixSink(), cps::Error::General(), GFixedSnk(), cps::FermionVectorTp::LandauGaugeFixSink(), and cps::VRB.

Referenced by Run().

int cps::QPropW::Gauss_N  )  const [virtual]
 

Reimplemented in cps::QPropWGaussSrc, and cps::QPropWMultGaussSrc.

Definition at line 3402 of file QPropW.C.

References cname, cps::ERR, and cps::Error::NotImplemented().

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

Float cps::QPropW::Gauss_W  )  const [virtual]
 

Reimplemented in cps::QPropWGaussSrc, and cps::QPropWMultGaussSrc.

Definition at line 3406 of file QPropW.C.

References cname, cps::ERR, cps::Float, and cps::Error::NotImplemented().

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

const QPropWGaussArg & cps::QPropW::GaussArg void   )  [virtual]
 

Reimplemented in cps::QPropWGaussSrc, and cps::QPropWMultGaussSrc.

Definition at line 3397 of file QPropW.C.

References cname, cps::ERR, and cps::Error::NotImplemented().

Referenced by cps::QPropWGaussSrc::QPropWGaussSrc(), cps::AlgNuc3pt::run(), cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

void cps::QPropW::GaussSmearSinkProp const QPropWGaussArg gauss_arg  ) 
 

Gauge invariant gaussian smearing of the sink at time t

Definition at line 2427 of file QPropW.C.

References cps::Alg::AlgLattice(), cps::Site::Begin(), cps::FermionVectorTp::CopyWilsonMatSink(), DoLinkSmear(), cps::Site::End(), cps::QPropWGaussArg::gauss_N, cps::QPropWGaussArg::gauss_W, cps::FermionVectorTp::GaussianSmearVector(), cps::Site::Index(), cps::WilsonMatrix::load_row(), cps::Site::nextSite(), prop, qp_arg, cps::QPropWArg::SeqSmearSink, UndoLinkSmear(), and cps::wilson_vector.

void cps::QPropW::GaussSmearSinkProp int  t_sink,
const QPropWGaussArg gauss_arg
 

Gauge invariant gaussian smearing of the sink at time t

Definition at line 2399 of file QPropW.C.

References cps::Alg::AlgLattice(), cps::Site::Begin(), cps::FermionVectorTp::CopyWilsonMatSink(), DoLinkSmear(), cps::Site::End(), cps::QPropWGaussArg::gauss_N, cps::QPropWGaussArg::gauss_W, cps::FermionVectorTp::GaussianSmearVector(), cps::Site::Index(), cps::WilsonMatrix::load_row(), cps::Site::nextSite(), prop, qp_arg, cps::QPropWArg::SeqSmearSink, UndoLinkSmear(), and cps::wilson_vector.

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

WilsonMatrix & cps::QPropW::GetMatrix const int *  vec,
WilsonMatrix tmp
const
 

Comunicate Wilson Matrices...

Purpose: get a WilsonMatrix at specified coordinates (vec). can deal with vec being off node.

Arguments:

  • vec: coordinates [x,y,z,t] of the WilsonMatrix we want to fetch. These coordinates are relative to the [0,0,0,0] site of the node. They could be out-of-range, i.e., located off-node.
  • tmp: Buffer for the Matrix if communication is needed.
  • return: a reference to the Matrix. If off-node, it points to tmp.
WARNING: It only works on prop and not on midprop

Definition at line 975 of file QPropW.C.

References cps::getMinusData(), cps::getPlusData(), cps::GJP, cps::IFloat, cps::GlobalJobParameter::NodeSites(), prop, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().

Referenced by cps::Nuc3ptStru::InsertOp().

int cps::QPropW::GFixedSnk  )  const [inline]
 

Is sink gauge fixed?

Definition at line 109 of file qpropw.h.

Referenced by cps::Nuc2pt::calcNucleon(), FixSol(), cps::Nuc3ptStru::InsertOp(), cps::QPropWSeqProtUSrc::SetSource(), cps::QPropWSeqProtDSrc::SetSource(), and cps::QPropWSeqMesSrc::SetSource().

int cps::QPropW::GFixedSrc  )  const [inline]
 

Definition at line 217 of file qpropw.h.

References cps::QPropWArg::gauge_fix_src.

Referenced by cps::QPropWRandSlabSrc::SetSource(), cps::QPropWRandVolSrc::SetSource(), cps::QPropWRandWallSrc::SetSource(), cps::QPropWBoxSrc::SetSource(), cps::QPropWVolSrc::SetSource(), cps::QPropWMomSrc::SetSource(), and cps::QPropWWallSrc::SetSource().

void cps::QPropW::LoadRow int  spin,
int  color,
FermionVectorTp sol,
FermionVectorTp midsol
 

Collect the solutions in the propagator

Definition at line 852 of file QPropW.C.

References cps::GJP, cps::WilsonMatrix::load_row(), prop, StoreMidprop(), cps::GlobalJobParameter::VolNodeSites(), and cps::wilson_vector.

Referenced by RestoreOrgProp(), RestoreQPropLs(), and Run().

Float cps::QPropW::Mass  )  const [inline]
 

Definition at line 93 of file qpropw.h.

References cps::Float.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Meson::calcMeson(), cps::Meson::calcMidPointPion(), cps::Nuc2pt::calcMomNucleon(), cps::Nuc2pt::calcNucleon(), cps::Nuc2pt::calcWallMomNucleon(), and cps::QPropWSeq::QPropWSeq().

void cps::QPropW::MeasConAxialOld Vector sol_5d  )  [virtual]
 

Definition at line 1756 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::GlobalJobParameter::Colors(), conserved, cps::Matrix::Dagger(), cps::Matrix::DotMEqual(), cps::ERR, cps::Lattice::Ffive2four(), cps::Float, cps::Verbose::Func(), cps::Lattice::Gamma5(), cps::Lattice::GaugeField(), cps::getPlusData(), cps::GJP, cps::IFloat, cps::Error::Pointer(), cps::Matrix::ReTr(), cps::sfree(), siteOffset(), cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), cps::sproj_tr, cps::GlobalJobParameter::TnodeBc(), cps::GlobalJobParameter::TnodeCoor(), cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeBc(), cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeBc(), cps::GlobalJobParameter::YnodeCoor(), cps::GlobalJobParameter::YnodeSites(), cps::GlobalJobParameter::ZnodeBc(), cps::GlobalJobParameter::ZnodeCoor(), and cps::GlobalJobParameter::ZnodeSites().

Referenced by CG().

void cps::QPropW::MeasJ5qPion Vector sol_5d  )  [virtual]
 

Definition at line 1993 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::GlobalJobParameter::Colors(), cps::ERR, cps::Lattice::Ffive2four(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::IFloat, j5q_pion, cps::Error::Pointer(), cps::sfree(), siteOffset(), cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), cps::GlobalJobParameter::TnodeCoor(), cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeCoor(), cps::GlobalJobParameter::YnodeSites(), cps::GlobalJobParameter::ZnodeCoor(), and cps::GlobalJobParameter::ZnodeSites().

Referenced by CG().

void cps::QPropW::NonRelProp int  ls  ) 
 

Definition at line 1726 of file QPropW.C.

References cps::QPropWArg::do_half_fermion, DoHalfFermion(), cps::GJP, cps::WilsonMatrix::PParProjectSource(), prop, qp_arg, cps::QPropWArg::save_ls_prop, cps::GlobalJobParameter::SnodeSites(), and cps::GlobalJobParameter::VolNodeSites().

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

WilsonMatrix& cps::QPropW::operator() int  i  )  [inline]
 

Returns the midpoint prop

Definition at line 213 of file qpropw.h.

QPropW & cps::QPropW::operator= const QPropW rhs  ) 
 

Definition at line 189 of file QPropW.C.

References Allocate(), cname, cps::Verbose::Func(), cps::GJP, midprop, MIDPROP, prop, PROP, qp_arg, sink_type, StoreMidprop(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

WilsonMatrix& cps::QPropW::operator[] int  i  )  [inline]
 

Returns the prop

Definition at line 210 of file qpropw.h.

int cps::QPropW::PointSrcX  )  const [inline]
 

Definition at line 218 of file qpropw.h.

References cps::QPropWArg::x.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

int cps::QPropW::PointSrcY  )  const [inline]
 

Definition at line 219 of file qpropw.h.

References cps::QPropWArg::y.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

int cps::QPropW::PointSrcZ  )  const [inline]
 

Definition at line 220 of file qpropw.h.

References cps::QPropWArg::z.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon().

Complex & cps::QPropW::rand_src int  i  )  const [virtual]
 

Reimplemented in cps::QPropWRand.

Definition at line 1046 of file QPropW.C.

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

void cps::QPropW::ReLoad char *  infile  ) 
 

Loads a propagator(QIO) from file infile.

Definition at line 682 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::GlobalJobParameter::DwfHeight(), cps::ERR, cps::Lattice::Fclass(), cps::Float, cps::GJP, cps::Error::Pointer(), prop, cps::sfree(), cps::Verbose::Smalloc(), cps::smalloc(), VOLFMT, cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

void cps::QPropW::ReRun const Float  precision = 1e-8  )  [inline]
 

reloads the propagator (QIO), recomputes it and does a comparison between those

Definition at line 135 of file qpropw.h.

void cps::QPropW::RestoreOrgProp char *  ,
int  ls
[virtual]
 

Definition at line 1501 of file QPropW.C.

References cps::Site::Begin(), cps::QPropWArg::cg, cname, cps::GlobalJobParameter::Colors(), cps::FermionVectorTp::data(), cps::Verbose::Debug(), DoHalfFermion(), cps::Site::End(), cps::ERR, cps::QPropWArg::file, cps::Error::FileA(), cps::Float, cps::Verbose::Func(), cps::Error::General(), cps::GJP, cps::glb_sum_dir(), cps::Site::Index(), cps::WilsonMatrix::load_vec(), LoadRow(), cps::CgArg::mass, cps::Site::nextSite(), prop, qp_arg, cps::QPropWArg::save_ls_prop, cps::WilsonMatrix::SinkChiralToDirac(), cps::GlobalJobParameter::SnodeCoor(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), cps::WilsonMatrix::sol(), SrcType(), cps::sync(), cps::QioControl::synchronize(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::wilson_vector, and cps::FermionVectorTp::ZeroSource().

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

void cps::QPropW::RestoreQProp char *  ,
int  mid
[virtual]
 

Reimplemented in cps::QPropWRand.

Definition at line 1132 of file QPropW.C.

References Allocate(), cps::GlobalJobParameter::argc(), cps::GlobalJobParameter::argv(), cps::Site::Begin(), cname, cps::Site::End(), cps::ERR, cps::QPropWArg::file, cps::Float, cps::Verbose::Func(), cps::GJP, cps::Site::Index(), cps::Site::nextSite(), cps::Error::Pointer(), PROP, prop, cps::QIO_FULL_SOURCE, qp_arg, cps::sfree(), cps::Verbose::Smalloc(), cps::smalloc(), SrcType(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

void cps::QPropW::RestoreQPropLs char *  ,
int  ls
[virtual]
 

Definition at line 1248 of file QPropW.C.

References cps::QPropWArg::cg, cname, cps::GlobalJobParameter::Colors(), cps::FermionVectorTp::data(), cps::Verbose::Debug(), DoHalfFermion(), cps::ERR, cps::QPropWArg::file, cps::Error::FileA(), cps::Float, cps::Verbose::Flow(), cps::Verbose::Func(), cps::Error::General(), cps::GJP, cps::glb_sum_dir(), LoadRow(), cps::CgArg::mass, prop, qp_arg, cps::QPropWArg::save_ls_prop, cps::WilsonMatrix::SinkChiralToDirac(), cps::GlobalJobParameter::SnodeCoor(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), SrcType(), cps::sync(), cps::QioControl::synchronize(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, and cps::FermionVectorTp::ZeroSource().

Referenced by cps::Nuc3ptCons::InsertOp().

void cps::QPropW::RestoreQPropLs_ftom char *   )  [virtual]
 

Definition at line 1342 of file QPropW.C.

References cps::QPropWArg::cg, cname, cps::GlobalJobParameter::Colors(), cps::FermionVectorTp::data(), cps::Verbose::Debug(), DoHalfFermion(), cps::ERR, cps::QPropWArg::file, cps::Error::FileA(), cps::Verbose::Func(), cps::Error::General(), cps::GJP, cps::WilsonMatrix::load_row(), cps::CgArg::mass, cps::Error::Pointer(), qp_arg, cps::QPropWArg::save_ls_prop, cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::SnodeSites(), SrcType(), cps::sync(), cps::QioControl::synchronize(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::wilson_vector, and cps::FermionVectorTp::ZeroSource().

void cps::QPropW::Run  )  [inline]
 

calculate the propagator

Definition at line 131 of file qpropw.h.

Referenced by cps::QPropWBoxSrc::QPropWBoxSrc(), cps::QPropWExpSrc::QPropWExpSrc(), cps::QPropWGaussSrc::QPropWGaussSrc(), cps::QPropWMomSrc::QPropWMomSrc(), cps::QPropWMultGaussSrc::QPropWMultGaussSrc(), cps::QPropWPointSrc::QPropWPointSrc(), cps::QPropWRandSlabSrc::QPropWRandSlabSrc(), cps::QPropWRandVolSrc::QPropWRandVolSrc(), cps::QPropWRandWallSrc::QPropWRandWallSrc(), cps::QPropWSeqMesSrc::QPropWSeqMesSrc(), cps::QPropWSeqProtDSrc::QPropWSeqProtDSrc(), cps::QPropWSeqProtUSrc::QPropWSeqProtUSrc(), cps::QPropWVolSrc::QPropWVolSrc(), and cps::QPropWWallSrc::QPropWWallSrc().

void cps::QPropW::Run const int  do_rerun,
const Float  precision = 1e-8
 

calculate the propagator (or, if do_rerun=1, load, recompute, compare)

Definition at line 242 of file QPropW.C.

References cps::Alg::AlgLattice(), Allocate(), cps::GlobalJobParameter::argc(), cps::GlobalJobParameter::argv(), cps::QPropWArg::cg, CG(), cname, cps::GlobalJobParameter::Colors(), cps::Complex, conserved, cps::FermionVectorTp::CopyWilsonMatSink(), cps::dclock(), cps::Verbose::Debug(), cps::FermionVectorTp::DiracToChiral(), DoHalfFermion(), cps::GlobalJobParameter::DwfHeight(), cps::QPropWArg::ensemble_id, cps::QPropWArg::ensemble_label, cps::ERR, cps::F_CLASS_ASQTAD, cps::F_CLASS_CLOVER, cps::F_CLASS_DWF, cps::F_CLASS_NONE, cps::F_CLASS_P4, cps::F_CLASS_STAG, cps::F_CLASS_WILSON, cps::Lattice::Fclass(), cps::Fclose(), cps::QPropWArg::file, cps::Error::FileA(), cps::FIX_GAUGE_COULOMB_T, cps::FIX_GAUGE_LANDAU, cps::FIX_GAUGE_NONE, cps::Lattice::FixGaugeKind(), FixSol(), cps::Float, cps::Verbose::Flow(), cps::Fopen(), cps::Fprintf(), cps::Verbose::Func(), cps::GJP, cps::glb_sum_five(), cps::Rcomplex::imag(), j5q_pion, LoadRow(), cps::CgArg::mass, MIDPROP, cps::Error::Pointer(), cps::print_time(), prop, PROP, cps::QIO_FULL_SOURCE, qp_arg, cps::Rcomplex::real(), cps::Verbose::Result(), cps::CommonArg::results, cps::QPropWArg::save_prop, cps::QPropWArg::seqNum, cps::qio_writePropagator::setHeader(), SetSource(), cps::qio_writePropagator::setSourceTslice(), cps::sfree(), cps::WilsonMatrix::SinkChiralToDirac(), cps::GlobalJobParameter::Sites(), cps::slice_sum(), cps::Verbose::Smalloc(), cps::smalloc(), SourceTime(), cps::SourceType_map, spnclr_cnt, SrcType(), cps::CgArg::stop_rsd, StoreMidprop(), cps::GlobalJobParameter::Tbc(), cps::GlobalJobParameter::Tnodes(), cps::GlobalJobParameter::TnodeSites(), VOLFMT, cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::qio_writePropagator::write_12pairs(), cps::GlobalJobParameter::Xbc(), cps::GlobalJobParameter::Ybc(), cps::GlobalJobParameter::Zbc(), and cps::FermionVectorTp::ZeroSource().

void cps::QPropW::SaveQProp char *  ,
int  mid
[virtual]
 

Reimplemented in cps::QPropWRand.

Definition at line 1091 of file QPropW.C.

References cname, cps::Verbose::Func(), and cps::VRB.

void cps::QPropW::SaveQPropLs Vector sol_5d,
char *  ,
int  ls
[virtual]
 

Definition at line 1172 of file QPropW.C.

References cps::QPropWArg::cg, cname, cps::GlobalJobParameter::Colors(), DoHalfFermion(), cps::ERR, cps::QPropWArg::file, cps::Error::FileA(), cps::Verbose::Flow(), cps::Verbose::Func(), cps::Error::General(), cps::GJP, cps::WilsonMatrix::load_row(), cps::CgArg::mass, qp_arg, cps::QPropWArg::save_ls_prop, SPINOR_SIZE, spnclr_cnt, SrcType(), cps::sync(), cps::QioControl::synchronize(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::wilson_vector, and cps::FermionVectorTp::ZeroSource().

Referenced by CG().

SourceType cps::QPropW::SeqSmearSink  )  const [inline]
 

Definition at line 186 of file qpropw.h.

References cps::QPropWArg::SeqSmearSink, and cps::SourceType.

Referenced by cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

void cps::QPropW::SetArgs QPropWArg arg  )  [inline]
 

Sets the QPropW arguments.

Definition at line 157 of file qpropw.h.

void cps::QPropW::SetFileName char *  nm  ) 
 

void cps::QPropW::SetSource FermionVectorTp src,
int  spin,
int  color
[virtual]
 

Reimplemented in cps::QPropWWallSrc, cps::QPropWGaussSrc, cps::QPropWMultGaussSrc, cps::QPropWMomSrc, cps::QPropWVolSrc, cps::QPropWPointSrc, cps::QPropWBoxSrc, cps::QPropWRandWallSrc, cps::QPropWRandVolSrc, cps::QPropWRandSlabSrc, cps::QPropWSeqMesSrc, cps::QPropWSeqProtUSrc, cps::QPropWSeqProtDSrc, cps::QPropWExpSrc, cps::QPropWGFPointSrc, and cps::QPropWLandauGaugeVolumeSrc.

Definition at line 1036 of file QPropW.C.

References cname, cps::Verbose::Func(), and cps::VRB.

Referenced by Run().

void cps::QPropW::ShiftPropBackward int  n  ) 
 

Reimplemented in cps::QPropWRand.

Definition at line 912 of file QPropW.C.

References cname, cps::ERR, cps::Float, cps::getPlusData(), cps::GJP, cps::IFloat, cps::moveMem(), cps::Error::Pointer(), prop, cps::sfree(), cps::Verbose::Sfree(), cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

void cps::QPropW::ShiftPropForward int  n  ) 
 

Reimplemented in cps::QPropWRand.

Definition at line 885 of file QPropW.C.

References cname, cps::ERR, cps::Float, cps::getMinusData(), cps::GJP, cps::IFloat, cps::moveMem(), cps::Error::Pointer(), prop, cps::sfree(), cps::Verbose::Sfree(), cps::Verbose::Smalloc(), cps::smalloc(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

int cps::QPropW::siteOffset const int  lcl_site[],
const int  lcl_sites[]
const
 

Definition at line 3374 of file QPropW.C.

Referenced by MeasConAxialOld(), and MeasJ5qPion().

int cps::QPropW::SourceTime  )  const [inline]
 

Definition at line 94 of file qpropw.h.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Meson::calcMeson(), cps::Meson::calcMidPointPion(), cps::Nuc2pt::calcMomNucleon(), cps::Nuc2pt::calcNucleon(), cps::Nuc2pt::calcWallMomNucleon(), and Run().

virtual SourceType cps::QPropW::SrcType  )  [inline, virtual]
 

Reimplemented in cps::QPropWWallSrc, cps::QPropWGaussSrc, cps::QPropWMultGaussSrc, cps::QPropWVolSrc, cps::QPropWGFLfuncSrc, cps::QPropWPointSrc, cps::QPropWBoxSrc, cps::QPropWRandWallSrc, cps::QPropWRandVolSrc, cps::QPropWRandSlabSrc, cps::QPropWSeqMesSrc, cps::QPropWSeqProtUSrc, cps::QPropWSeqProtDSrc, and cps::QPropWExpSrc.

Definition at line 183 of file qpropw.h.

References cps::SourceType.

Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), cps::Nuc2pt::calcNucleon(), cps::Nuc2pt::calcWallMomNucleon(), RestoreOrgProp(), RestoreQProp(), RestoreQPropLs(), RestoreQPropLs_ftom(), Run(), and SaveQPropLs().

int cps::QPropW::StoreMidprop  )  const [inline]
 

Is source gauge fixed?

Definition at line 113 of file qpropw.h.

Referenced by CG(), LoadRow(), operator=(), QPropW(), and Run().

void cps::QPropW::SwapQPropLs  ) 
 

Definition at line 1429 of file QPropW.C.

References cname, cps::Verbose::Debug(), cps::ERR, cps::Float, cps::Verbose::Func(), cps::Error::General(), cps::GJP, cps::glb_sum_dir(), qp_arg, cps::QPropWArg::save_ls_prop, cps::GlobalJobParameter::SnodeCoor(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), cps::sync(), cps::QioControl::synchronize(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

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

void cps::QPropW::UndoLinkSmear const QPropWGaussArg gauss_arg  ) 
 

Definition at line 2178 of file QPropW.C.

References cps::Alg::AlgLattice(), cname, cps::Lattice::CopyGaugeField(), cps::ERR, cps::Verbose::Func(), cps::Lattice::GaugeField(), cps::QPropWGaussArg::gauss_link_smear_type, cps::Error::General(), cps::GJP, cps::Error::Pointer(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

Referenced by GaussSmearSinkProp(), cps::QPropWSeqProtUSrc::SetSource(), cps::QPropWSeqProtDSrc::SetSource(), cps::QPropWMultGaussSrc::SetSource(), and cps::QPropWGaussSrc::SetSource().

WilsonMatrix cps::QPropW::WallSinkProp int  t_sink  ) 
 

This is a better name for the WallWallProp

Definition at line 1053 of file QPropW.C.

References cps::Float, cps::GJP, prop, cps::slice_sum(), cps::GlobalJobParameter::TnodeCoor(), cps::GlobalJobParameter::TnodeSites(), and cps::GlobalJobParameter::VolNodeSites().

Referenced by cps::Nuc2pt::calcNucleon().


Member Data Documentation

char* cps::QPropW::cname [protected]
 

The class name.

Reimplemented from cps::Alg.

Definition at line 72 of file qpropw.h.

Referenced by Allocate(), BoxSrcEnd(), BoxSrcStart(), CG(), Delete(), DeleteQPropLs(), DoLinkSmear(), FixSol(), Gauss_N(), Gauss_W(), GaussArg(), MeasConAxialOld(), MeasJ5qPion(), operator=(), QPropW(), ReLoad(), RestoreOrgProp(), RestoreQProp(), RestoreQPropLs(), RestoreQPropLs_ftom(), Run(), SaveQProp(), SaveQPropLs(), SetSource(), ShiftPropBackward(), ShiftPropForward(), SwapQPropLs(), UndoLinkSmear(), and ~QPropW().

Float* cps::QPropW::conserved
 

Definition at line 76 of file qpropw.h.

Referenced by MeasConAxialOld(), and Run().

Float* cps::QPropW::j5q_pion
 

Definition at line 78 of file qpropw.h.

Referenced by MeasJ5qPion(), and Run().

WilsonMatrix* cps::QPropW::prop [protected]
 

pointer to 4d prop

Definition at line 67 of file qpropw.h.

Referenced by Allocate(), Average(), Delete(), GaussSmearSinkProp(), GetMatrix(), LoadRow(), NonRelProp(), operator=(), QPropW(), ReLoad(), RestoreOrgProp(), RestoreQProp(), RestoreQPropLs(), Run(), ShiftPropBackward(), ShiftPropForward(), and WallSinkProp().

QPropWArg cps::QPropW::qp_arg [protected]
 

Definition at line 69 of file qpropw.h.

Referenced by CG(), GaussSmearSinkProp(), NonRelProp(), operator=(), QPropW(), RestoreOrgProp(), RestoreQProp(), RestoreQPropLs(), RestoreQPropLs_ftom(), Run(), SaveQPropLs(), and SwapQPropLs().

int cps::QPropW::spnclr_cnt
 

pointer to 5d prop counter

Definition at line 81 of file qpropw.h.

Referenced by CG(), Run(), and SaveQPropLs().


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