#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.
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 QPropWGaussArg & | GaussArg (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) | |
| WilsonMatrix & | GetMatrix (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 Complex & | rand_src (int i) const |
| WilsonMatrix | WallSinkProp (int t_sink) |
| void | DoLinkSmear (const QPropWGaussArg &gauss_arg) |
| void | UndoLinkSmear (const QPropWGaussArg &gauss_arg) |
| QPropW & | operator= (const QPropW &rhs) |
| WilsonMatrix & | operator[] (int i) |
| WilsonMatrix & | operator() (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 | |
| Float * | conserved |
| Float * | j5q_pion |
| int | spnclr_cnt |
| pointer to 5d prop counter | |
Protected Attributes | |
| WilsonMatrix * | prop |
| pointer to 4d prop | |
| QPropWArg | qp_arg |
| char * | cname |
| The class name. | |
Definition at line 49 of file qpropw.h.
|
||||||||||||
|
Definition at line 91 of file QPropW.C. References cname, cps::Verbose::Func(), prop, and cps::VRB. |
|
||||||||||||||||
|
|
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. |
|
||||||||||||
|
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. |
|
|
Definition at line 1072 of file QPropW.C. References cname, Delete(), cps::Verbose::Func(), MIDPROP, PROP, and cps::VRB. |
|
|
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(). |
|
|
computes .5(prop+Q) Compute the average of the current propagator and the propagaror Q
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(). |
|
|
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(). |
|
|
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(). |
|
||||||||||||||||||||||||||||
|
Definition at line 719 of file QPropW.C. References cname, cps::ERR, and cps::Error::NotImplemented(). |
|
||||||||||||||||||||||||
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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. |
|
||||||||||||
|
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(). |
|
||||||||||||
|
Comunicate Wilson Matrices... Purpose: get a WilsonMatrix at specified coordinates (vec). can deal with vec being off node. Arguments:
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(). |
|
|
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(). |
|
|
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(). |
|
||||||||||||||||||||
|
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(). |
|
|
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(). |
|
|
|
|
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(). |
|
|
Returns the midpoint prop |
|
|
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. |
|
|
Returns the prop |
|
|
Definition at line 218 of file qpropw.h. References cps::QPropWArg::x. Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon(). |
|
|
Definition at line 219 of file qpropw.h. References cps::QPropWArg::y. Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon(). |
|
|
Definition at line 220 of file qpropw.h. References cps::QPropWArg::z. Referenced by cps::Nuc3pt::Calc3pt(), cps::Nuc2pt::calcMomNucleon(), and cps::Nuc2pt::calcNucleon(). |
|
|
Reimplemented in cps::QPropWRand. Definition at line 1046 of file QPropW.C. References cps::Complex, cps::ERR, and cps::Error::General(). |
|
|
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. |
|
|
reloads the propagator (QIO), recomputes it and does a comparison between those
|
|
||||||||||||
|
||||||||||||
|
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. |
|
||||||||||||
|
|
|
||||||||||||
|
||||||||||||
|
Reimplemented in cps::QPropWRand. Definition at line 1091 of file QPropW.C. References cname, cps::Verbose::Func(), and cps::VRB. |
|
||||||||||||||||
|
|
Definition at line 186 of file qpropw.h. References cps::QPropWArg::SeqSmearSink, and cps::SourceType. Referenced by cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource(). |
|
|
Sets the QPropW arguments.
|
|
|
|
|
||||||||||||||||
|
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(). |
|
|
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. |
|
|
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. |
|
||||||||||||
|
Definition at line 3374 of file QPropW.C. Referenced by MeasConAxialOld(), and MeasJ5qPion(). |
|
|
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(). |
|
|
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(). |
|
|
Is source gauge fixed?
Definition at line 113 of file qpropw.h. Referenced by CG(), LoadRow(), operator=(), QPropW(), and Run(). |
|
|
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(). |
|
|
|
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(). |
|
|
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(). |
|
|
Definition at line 76 of file qpropw.h. Referenced by MeasConAxialOld(), and Run(). |
|
|
Definition at line 78 of file qpropw.h. Referenced by MeasJ5qPion(), and Run(). |
|
|
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(). |
|
|
Definition at line 69 of file qpropw.h. Referenced by CG(), GaussSmearSinkProp(), NonRelProp(), operator=(), QPropW(), RestoreOrgProp(), RestoreQProp(), RestoreQPropLs(), RestoreQPropLs_ftom(), Run(), SaveQPropLs(), and SwapQPropLs(). |
|
|
pointer to 5d prop counter
Definition at line 81 of file qpropw.h. Referenced by CG(), Run(), and SaveQPropLs(). |
1.3.9.1