#include <lattice.h>
Inherited by cps::Fnone [virtual], cps::Fsmear [virtual], cps::FstagTypes [virtual], cps::FwilsonTypes [virtual], cps::GimprOLSym [virtual], cps::GimprOLSymFclover [virtual], cps::GimprOLSymFdwf [virtual], cps::GimprOLSymFnone [virtual], cps::GimprOLSymFstag [virtual], cps::GimprOLSymFwilson [virtual], cps::GimprRect [virtual], cps::GimprRectFclover [virtual], cps::GimprRectFdwf [virtual], cps::GimprRectFnone [virtual], cps::GimprRectFstag [virtual], cps::GimprRectFwilson [virtual], cps::GimprRectFwilsonTm [virtual], cps::Gnone [virtual], cps::GnoneFasqtad [virtual], cps::GnoneFclover [virtual], cps::GnoneFdwf [virtual], cps::GnoneFnone [virtual], cps::GnoneFp4 [virtual], cps::GnoneFstag [virtual], cps::GnoneFwilson [virtual], cps::GnoneFwilsonTm [virtual], cps::GpowerPlaq [virtual], cps::GpowerPlaqFclover [virtual], cps::GpowerPlaqFdwf [virtual], cps::GpowerPlaqFnone [virtual], cps::GpowerPlaqFstag [virtual], cps::GpowerPlaqFwilson [virtual], cps::GpowerRect [virtual], cps::GpowerRectFclover [virtual], cps::GpowerRectFdwf [virtual], cps::GpowerRectFnone [virtual], cps::GpowerRectFstag [virtual], cps::GpowerRectFwilson [virtual], cps::GtadpoleRect [virtual], cps::Gwilson [virtual], cps::GwilsonFasqtad [virtual], cps::GwilsonFclover [virtual], cps::GwilsonFdwf [virtual], cps::GwilsonFp4 [virtual], cps::GwilsonFstag [virtual], cps::GwilsonFwilson [virtual], and cps::GwilsonFwilsonTm [virtual].
Public Member Functions | |
| const Matrix * | GetLink (const int *x, int mu) const |
| Gets the gauge link U_mu(x). | |
| const Matrix * | GetLinkOld (Matrix *g_offset, const int *x, int dir, int mu) const |
| Gets the gauge link U_mu(x+dir). | |
| int | LinkBufferIsEnabled () |
| Returns true if there is a buffer for the links, false otherwise. | |
| int | EnableLinkBuffer (int buf_sz) |
| Creates a link buffer. | |
| void | DisableLinkBuffer () |
| delete the LinkBuffer Object when it's not in use. | |
| const Matrix * | GetBufferedLink (const int *x, int mu) |
| Gets a link from the buffer. | |
| void | ClearBufferedLink (const int *x, int mu) |
| Removes links from the buffer. | |
| void | ClearAllBufferedLink () |
| Deletes all the links from the buffer. | |
| int | IsOnNode (const int *x) |
| Checks if a lattice site local to this node. | |
| void | PathOrdProdPlus (Matrix &mat, const int *x, const int *dirs, int n) |
| Computes the product of links along a path and adds it to a matrix. | |
| void | PathOrdProd (Matrix &mat, const int *x, const int *dirs, int n) |
| Computes the product of links along a path. | |
| Lattice () | |
| virtual | ~Lattice () |
| Matrix * | GaugeField () const |
| Returns the pointer to the gauge field configuration. | |
| void | GaugeField (Matrix *u) |
| Copies an array into the gauge configuration. | |
| int | GsiteOffset (const int *x) const |
| Gets the array index of a gauge link. | |
| void | CopyGaugeField (Matrix *u) |
| Copies the gauge configuration into an array;. | |
| int | CompareGaugeField (Matrix *u) |
| Compares the gauge configuration to the lattice instance;. | |
| StrOrdType | StrOrd () |
| Returns the storage order. | |
| int | Colors () const |
| Returns the number of colors. | |
| int | GsiteSize () |
| Gets the number of gauge field components per lattice site. | |
| void | Staple (Matrix &stap, int *x, int mu) |
| Calculates the gauge field square staple sum around a link. | |
| void | BufferedStaple (Matrix &stap, const int *x, int mu) |
| Calculates the gauge field square staple sum around a link. | |
| void | RectStaple (Matrix &stap, int *x, int mu) |
| Calculates the rectangle staple sum around a link. | |
| void | BufferedRectStaple (Matrix &stap, const int *x, int mu) |
| Calculates the rectangle staple sum around a link. | |
| void | RectStaple1 (Matrix &stap, int *x, int mu) |
| Appears not to be implemented. | |
| void | ChairStaple (Matrix &stap, int *x, int mu) |
| Appears not to be implemented. | |
| void | BufferedChairStaple (Matrix &stap, const int *x, int mu) |
| Calculates the chair shaped staple sum around a link. | |
| void | CubeStaple (Matrix &stap, const int *x, int mu) |
| Appears not to be implemented. | |
| void | BufferedCubeStaple (Matrix &stap, const int *x, int mu) |
| Calculates the 5-link cube shaped staple sum around a link. | |
| virtual void | AllStaple (Matrix &stap, const int *x, int mu)=0 |
| Computes all of the staple sums around a link. | |
| void | Plaq (Matrix &plaq, int *x, int mu, int nu) const |
| Computes a plaquette. | |
| Float | ReTrPlaq (int *x, int mu, int nu) const |
| Calculates the real part of the trace of a plaquette. | |
| Float | SumReTrPlaqNode () const |
| Calculates the local sum of the real part of the trace of the plaquette. | |
| Float | SumReTrPlaq () const |
| Calculates the global sum of the real part of the trace of the plaquette. | |
| Float | ReTrRect (int *x, int mu, int nu) const |
| Calculates the real part of the trace of a 6-link rectangle. | |
| Float | SumReTrRectNode () const |
| Calculates the local sum of the real part of the trace of the 6-link rectangle. | |
| Float | SumReTrRect () const |
| Calculates the global sum of the real part of the trace of the 6-link rectangle. | |
| Float | ReTrLoop (const int *x, const int *dir, int length) |
| Computes the real trace of the product of links along a path. | |
| Float | SumReTrCubeNode () |
| Calculates the local sum of the real part of the trace of the cube. | |
| Float | SumReTrCube () |
| Calculates the global sum of the real part of the trace of the cube. | |
| Float | AveReTrPlaqNodeNoXi () const |
| Calculates the local average of the real part of the trace of the plaquettes perpendicular to the special anisotropic direction. | |
| Float | AveReTrPlaqNodeXi () const |
| Calculates the local average of the real part of the trace of the plaquettes parallel to the special anisotropic direction. | |
| Float | AveReTrPlaqNoXi () const |
| Calculates the global average of the real part of the trace of the plaquettes perpendicular to the special anisotropic direction. | |
| Float | AveReTrPlaqXi () const |
| Calculates the global average of the real part of the trace of the plaquettes parallel to the special anisotropic direction. | |
| Float | AveReTrRectNodeNoXi () const |
| Calculates the local average of the real part of the trace of the rectangle perpendicular to the special anisotropic direction. | |
| Float | AveReTrRectNodeXi1 () const |
| Calculates the local average of the real part of the trace of the rectangle, where the short axix is the special anisotropic direction. | |
| Float | AveReTrRectNodeXi2 () const |
| Calculates the local average of the real part of the trace of the rectangle, where the long axis is the special anisotropic direction. | |
| Float | AveReTrRectNoXi () const |
| Calculates the global average of the real part of the trace of the rectangle perpendicular to the special anisotropic direction. | |
| Float | AveReTrRectXi1 () const |
| Calculates the global average of the real part of the trace of the rectangle, where the short axis is the special anisotropic direction. | |
| Float | AveReTrRectXi2 () const |
| Calculates the global average of the real part of the trace of the rectangle, where the long axis is the special anisotropic direction. | |
| void | MltFloat (Float factor, int dir) |
| Multiplies all gauge links with direction dir by a real factor. | |
| void | Reunitarize () |
| Re-unitarize the gauge field configuration. | |
| void | Reunitarize (Float &dev, Float &max_diff) |
| Test the gauge field for unitarity violation and reunitarize it. | |
| int | MetropolisAccept (Float delta_h, Float *accept) |
| Metropolis algorithm decision. | |
| int | MetropolisAccept (Float delta_h) |
| Metropolis algorithm decision. | |
| void | EvolveGfield (Matrix *mom, Float step_size) |
| Molecular dynamics evolution of the gauge field. | |
| Float | MomHamiltonNode (Matrix *momentum) |
| The kinetic energy term of the canonical Hamiltonian on the local lattice. | |
| void | Convert (StrOrdType new_str_ord, Vector *f_field_1, Vector *f_field_2) |
| Converts the gauge field and two fermion fields to a new data layout. | |
| void | Convert (StrOrdType new_str_ord) |
| Converts the gauge field to a new data layout. | |
| void | RandGaussAntiHermMatrix (Matrix *mat, Float sigma2) |
| A random gaussian anti-Hermitian matrix field. | |
| void | RandGaussVector (Vector *vect, Float sigma) |
| Creates a random gaussian spin-colour field. | |
| void | RandGaussVector (Vector *vect, Float sigma, FermionFieldDimension frm_field_dim) |
| Creates a random gaussian spin-colour field. | |
| void | RandGaussVector (Vector *vect, Float sigma, int num_chckbds, FermionFieldDimension frm_field_dim=FIVE_D) |
| Creates a random gaussian spin-colour field. | |
| void | RandGaussVector (Vector *vect, Float sigma, int num_chckbds, StrOrdType str, FermionFieldDimension frm_field_dim=FIVE_D) |
| void | SetGfieldOrd () |
| Creates a unit gauge field. | |
| void | SetGfieldDisOrd () |
| Creates a random (disordered) gauge field. | |
| int | GupdCnt () |
| Reads the gauge field updates counter. | |
| int | GupdCnt (int set_val) |
| Sets the gauge field updates counter. | |
| int | GupdCntInc (int inc_val=1) |
| Increments the gauge field updates counter. | |
| Float | MdTime () |
| The molecular dynamics time counter. | |
| Float | MdTime (Float set_val) |
| Sets the value of the molecular dynamics time counter. | |
| Float | MdTimeInc (Float inc_val=0.5) |
| Increments the value of the molecular dynamics time counter. | |
| void * | FdiracOpInitPtr () |
| void | FixGaugeAllocate (FixGaugeType GaugeType, int NHplanes=0, int *Hplanes=0) |
| Allocates memory for the gauge fixing matrices. | |
| int | FixGauge (Float StopCond, int MaxIterNum) |
| Fixes the gauge. | |
| void | FixGaugeFree () |
| Free memory used by the gauge fixing matrices. | |
| Matrix ** | FixGaugePtr () |
| Returns an array of pointers to the gauge fixed hyperplanes. | |
| FixGaugeType | FixGaugeKind () |
| Returns the kind of gauge fixing. | |
| Float | FixGaugeStopCond () |
| Returns the stopping condition used. | |
| void * | Aux0Ptr () |
| Returns a general purpose auxiliary pointer. | |
| void * | Aux1Ptr () |
| Returns a general purpose auxiliary pointer. | |
| void | GsoCheck () |
| Checks that the gauge field is identical on 5th dimension local lattice slices. | |
| void | SoCheck (Float num) |
| Checks that a number is identical on 5th dimension local lattice slices. | |
| virtual void | Gamma5 (Vector *v_out, Vector *v_in, int num_sites) |
| Not implemented here. | |
| virtual void | Ffour2five (Vector *five, Vector *four, int s_r, int s_l, int Ncb=2) |
| Not implemented here. | |
| virtual void | Ffive2four (Vector *four, Vector *five, int s_r, int s_l, int Ncb=2) |
| Not implemented here. | |
| virtual void | Freflex (Vector *out, Vector *in) |
| Not implemented here. | |
| virtual void | Fdslash (Vector *f_out, Vector *f_in, CgArg *cg_arg, CnvFrmType cnv_frm, int dir_flag) |
| Not implemented here. | |
| virtual void | FdMdmu (Vector *f_out, Vector *f_in, CgArg *cg_arg, CnvFrmType cnv_frm, int order) |
| Not implemented here. Not implemented here. | |
| virtual Float | SetPhi (Vector *phi, Vector *frm1, Vector *frm2, Float mass, Float epsilon, DagType dag) |
| virtual ForceArg | EvolveMomFforce (Matrix *mom, Vector *frm, Float mass, Float epsilon, Float step_size) |
| virtual ForceArg | EvolveMomFforce (Matrix *mom, Vector *phi, Vector *eta, Float mass, Float epsilon, Float step_size) |
| virtual Float | BhamiltonNode (Vector *boson, Float mass, Float epsilon) |
| virtual GclassType | Gclass ()=0 |
| Returns the type of gauge action. | |
| virtual void | GactionGradient (Matrix &grad, int *x, int mu)=0 |
| Calculates the partial derivative of the gauge action w.r.t. the link U_mu(x). | |
| virtual ForceArg | EvolveMomGforce (Matrix *mom, Float step_size)=0 |
| Molecular dynamics evolution of the conjugate momentum. | |
| virtual Float | GhamiltonNode ()=0 |
| Computes the pure gauge action on the local sublattice. | |
| virtual FclassType | Fclass () const =0 |
| Returns the type of fermion action. | |
| int | FstagType () |
| int | FwilsonType () |
| virtual int | FsiteOffsetChkb (const int *x) const =0 |
| Gets the lattice site index for the odd-even (checkerboard) order. | |
| virtual int | FsiteOffset (const int *x) const =0 |
| Gets the lattice site index for the canonical order. | |
| virtual int | ExactFlavors () const =0 |
| The number of dynamical flavors. | |
| virtual int | SpinComponents () const =0 |
| Returns the number of spin components. | |
| virtual int | FsiteSize () const =0 |
| Gets the size of a fermion field per 4-dim. lattice site. | |
| virtual int | FchkbEvl () const =0 |
| Determines whether one or both parities are used in the molecular dynamics evolution. | |
| virtual int | FmatEvlInv (Vector *f_out, Vector *f_in, CgArg *cg_arg, Float *true_res, CnvFrmType cnv_frm=CNV_FRM_YES)=0 |
| The matrix inversion used in the molecular dynamics algorithms. | |
| int | FmatEvlInv (Vector *f_out, Vector *f_in, CgArg *cg_arg, CnvFrmType cnv_frm=CNV_FRM_YES) |
| virtual int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg **cg_arg, CnvFrmType cnv_frm, MultiShiftSolveType type, Float *alpha, Vector **f_out_d)=0 |
| The multishift matrix inversion used in the RHMC molecular dynamics algorithms. | |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg *cg_arg, CnvFrmType cnv_frm, MultiShiftSolveType type, Float *alpha, Vector **f_out_d) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg **cg_arg, CnvFrmType cnv_frm, MultiShiftSolveType type, Float *alpha) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg *cg_arg, CnvFrmType cnv_frm, MultiShiftSolveType type, Float *alpha) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg **cg_arg, CnvFrmType cnv_frm, Vector **f_out_d) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg *cg_arg, CnvFrmType cnv_frm, Vector **f_out_d) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg **cg_arg, CnvFrmType cnv_frm) |
| int | FmatEvlMInv (Vector **f_out, Vector *f_in, Float *shift, int Nshift, int isz, CgArg **cg_arg, CnvFrmType cnv_frm, MultiShiftSolveType type, Vector **f_out_d) |
| virtual void | FminResExt (Vector *sol, Vector *source, Vector **sol_old, Vector **vm, int degree, CgArg *cg_arg, CnvFrmType cnv_frm)=0 |
| virtual int | FmatInv (Vector *f_out, Vector *f_in, CgArg *cg_arg, Float *true_res, CnvFrmType cnv_frm=CNV_FRM_YES, PreserveType prs_f_in=PRESERVE_YES)=0 |
| Fermion matrix inversion. | |
| int | FmatInv (Vector *f_out, Vector *f_in, CgArg *cg_arg, CnvFrmType cnv_frm=CNV_FRM_YES, PreserveType prs_f_in=PRESERVE_YES) |
| virtual int | FeigSolv (Vector **f_eigenv, Float *lambda, Float *chirality, int *valid_eig, Float **hsum, EigArg *eig_arg, CnvFrmType cnv_frm=CNV_FRM_YES)=0 |
| It the eigenvectors and eigenvalues of the fermion matrix. | |
| virtual Float | SetPhi (Vector *phi, Vector *frm1, Vector *frm2, Float mass, DagType dag)=0 |
| Initialises the pseudofermion field. | |
| Float | SetPhi (Vector *phi, Vector *frm1, Vector *frm2, Float mass) |
| virtual ForceArg | EvolveMomFforce (Matrix *mom, Vector *frm, Float mass, Float step_size)=0 |
| Molecular dynamics evolution due to the fermion force. | |
| virtual ForceArg | EvolveMomFforce (Matrix *mom, Vector *phi, Vector *eta, Float mass, Float step_size)=0 |
| Molecular dynamics evolution due to the boson part of quotient integrator. | |
| virtual ForceArg | RHMC_EvolveMomFforce (Matrix *mom, Vector **sol, int degree, int isz, Float *alpha, Float mass, Float dt, Vector **sol_d, ForceMeasure measure)=0 |
| virtual Float | FhamiltonNode (Vector *phi, Vector *chi)=0 |
| Computes the pseudofermionic action on the local sublattice. | |
| virtual void | Fconvert (Vector *f_field, StrOrdType to, StrOrdType from)=0 |
| Converts the field layout. | |
| void | Fconvert (LatVector *f_field, StrOrdType to, StrOrdType from) |
| virtual Float | BhamiltonNode (Vector *boson, Float mass)=0 |
| void | ClearSmeared () |
| void | Shift () |
| virtual void | BforceVector (Vector *in, CgArg *cg_arg)=0 |
Static Public Attributes | |
| int | ForceFlops = 0 |
| Counter for flops in the HMD force calculations. | |
Protected Member Functions | |
| void | MltFloatImpl (Float factor, int dir) |
| Multiplies all gauge links in direction dir by a real factor. | |
Protected Attributes | |
| int | smeared |
| void * | f_dirac_op_init_ptr |
| void * | aux0_ptr |
| A pointer! | |
| void * | aux1_ptr |
| Another pointer! | |
| LinkBuffer * | link_buffer |
| The array of off-node links, accessed by methods in link_buffer.C. | |
Static Protected Attributes | |
| int | node_sites [5] |
| The local lattice dimensions. | |
| int | g_dir_offset [4] |
| Offsets to help find the array index of gauge links. | |
Friends | |
| class | LinkBuffer |
This is the basic class of the CPS from which many are derived. The derived classes define the lattice action, and many of the methods implementing operations with the action are defined or declared here. This class holds the gauge configuration and implements operations on the gauge configuration. all sorts of other things are actually defined here too, for instance, many of the methods used in the HMD algorithms, operations on spinor fields, etc.
Definition at line 67 of file lattice.h.
|
|
|
Note that the destructor does not free any memory allocated by the constructor for the gauge field. This is a feature, not a bug. Definition at line 315 of file lattice_base.C. References cps::Verbose::Flow(), cps::Verbose::Func(), cps::GJP, GsoCheck(), MltFloat(), cps::GlobalJobParameter::Snodes(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). |
|
||||||||||||||||
|
Computes all of the staple sums around a link.
Implemented in cps::Gnone, cps::Gwilson, cps::GpowerPlaq, cps::GimprRect, cps::GtadpoleRect, cps::GpowerRect, and cps::GimprOLSym. Referenced by cps::AlgGheatBath::NoCheckerBoardRun(), and cps::AlgGheatBath::NodeCheckerBoardRun(). |
|
|
Returns a general purpose auxiliary pointer.
Definition at line 2728 of file lattice_base.C. Referenced by cps::Fclover::BhamiltonNode(), cps::DiracOpClover::CalcHmdForceVecs(), cps::DiracOpClover::CloverMatChkb(), cps::Fclover::EvolveMomFforce(), cps::DiracOpClover::MatDagOrNotDbg(), cps::DiracOpClover::MatEvlInv(), cps::DiracOpClover::MatInv(), cps::DiracOpClover::MatPcDagOrNot(), and cps::Fclover::SetPhi(). |
|
|
Returns a general purpose auxiliary pointer.
Definition at line 2736 of file lattice_base.C. Referenced by cps::DiracOpClover::CloverMatChkb(), cps::DiracOpClover::MatDagOrNotDbg(), and cps::DiracOpClover::MatPcDagOrNot(). |
|
|
Calculates the local average of the real part of the trace of the plaquettes perpendicular to the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three
Definition at line 1596 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, node_sites, cps::NUM_SPACE_PLAQ, ReTrPlaq(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, and cps::GlobalJobParameter::XiDir(). Referenced by AveReTrPlaqNoXi(). |
|
|
Calculates the local average of the real part of the trace of the plaquettes parallel to the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three
Definition at line 1641 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, node_sites, cps::NUM_COLORS, cps::NUM_TIME_PLAQ, ReTrPlaq(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). Referenced by AveReTrPlaqXi(). |
|
|
Calculates the global average of the real part of the trace of the plaquettes perpendicular to the special anisotropic direction.
At a site x and in the
The sum is over all lattice sites and all three
Definition at line 1685 of file lattice_base.C. References AveReTrPlaqNodeNoXi(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::GlobalJobParameter::VolNodeSites(), cps::GlobalJobParameter::VolSites(), and cps::VRB. Referenced by cps::AlgPlaq::run(), and cps::AlgEqState::run(). |
|
|
Calculates the global average of the real part of the trace of the plaquettes parallel to the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three - planes where one of
Definition at line 1713 of file lattice_base.C. References AveReTrPlaqNodeXi(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::GlobalJobParameter::VolNodeSites(), cps::GlobalJobParameter::VolSites(), and cps::VRB. Referenced by cps::AlgPlaq::run(), and cps::AlgEqState::run(). |
|
|
Calculates the local average of the real part of the trace of the rectangle perpendicular to the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three
Definition at line 1751 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, node_sites, cps::NUM_SPACE_RECT, ReTrRect(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, and cps::GlobalJobParameter::XiDir(). Referenced by AveReTrRectNoXi(). |
|
|
Calculates the local average of the real part of the trace of the rectangle, where the short axix is the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three
Definition at line 1799 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, node_sites, cps::NUM_COLORS, cps::NUM_TIME_RECT, ReTrRect(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). Referenced by AveReTrRectXi1(). |
|
|
Calculates the local average of the real part of the trace of the rectangle, where the long axis is the special anisotropic direction.
At a site x and in the
The sum is over all local lattice sites and all three
Definition at line 1846 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, node_sites, cps::NUM_COLORS, cps::NUM_TIME_RECT, ReTrRect(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). Referenced by AveReTrRectXi2(). |
|
|
Calculates the global average of the real part of the trace of the rectangle perpendicular to the special anisotropic direction.
At a site x and in the
The sum is over all lattice sites and all three
Definition at line 1894 of file lattice_base.C. References AveReTrRectNodeNoXi(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::GlobalJobParameter::VolNodeSites(), cps::GlobalJobParameter::VolSites(), and cps::VRB. Referenced by cps::AlgRect::run(). |
|
|
Calculates the global average of the real part of the trace of the rectangle, where the short axis is the special anisotropic direction.
At a site x and in the
The sum is over all lattice sites and all three
Definition at line 1924 of file lattice_base.C. References AveReTrRectNodeXi1(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::GlobalJobParameter::VolNodeSites(), cps::GlobalJobParameter::VolSites(), and cps::VRB. Referenced by cps::AlgRect::run(). |
|
|
Calculates the global average of the real part of the trace of the rectangle, where the long axis is the special anisotropic direction.
At a site x and in the
The sum is over all lattice sites and all three
Definition at line 1954 of file lattice_base.C. References AveReTrRectNodeXi2(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::GlobalJobParameter::VolNodeSites(), cps::GlobalJobParameter::VolSites(), and cps::VRB. Referenced by cps::AlgRect::run(). |
|
||||||||||||
|
Implemented in cps::FwilsonTypes, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgActionBoson::evolve(). |
|
||||||||||||
|
Implemented in cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. |
|
||||||||||||||||
|
Reimplemented in cps::FwilsonTm. Definition at line 2717 of file lattice_base.C. References cps::ERR, cps::Float, and cps::Error::NotImplemented(). Referenced by cps::AlgActionBoson::energy(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||||||
|
Calculates the chair shaped staple sum around a link. The chair shaped 5-link staple sum around the link U_(x) is:
Definition at line 562 of file link_buffer.C. References cps::acumulate_mp, cps::CBUF_MODE2, cps::CBUF_MODE4, cps::dir, cps::IFloat, MATRIX_SIZE, cps::moveMem(), PathOrdProdPlus(), cps::setCbufCntrlReg(), and cps::Matrix::ZeroMatrix(). |
|
||||||||||||||||
|
Calculates the 5-link cube shaped staple sum around a link. The staple sum around the link U_(x) is
Definition at line 642 of file link_buffer.C. References cps::acumulate_mp, cps::CBUF_MODE2, cps::CBUF_MODE4, cps::dir, cps::IFloat, MATRIX_SIZE, cps::moveMem(), PathOrdProdPlus(), cps::setCbufCntrlReg(), and cps::Matrix::ZeroMatrix(). Referenced by cps::GimprOLSym::AllStaple(). |
|
||||||||||||||||
|
Calculates the rectangle staple sum around a link. The 5-link rectangle staple sum around the link U_(x) is:
Definition at line 482 of file link_buffer.C. References cps::acumulate_mp, cps::CBUF_MODE2, cps::CBUF_MODE4, cps::dir, cps::IFloat, MATRIX_SIZE, cps::moveMem(), PathOrdProdPlus(), cps::setCbufCntrlReg(), and cps::Matrix::ZeroMatrix(). Referenced by cps::GtadpoleRect::AllStaple(), cps::GimprRect::AllStaple(), and cps::GimprOLSym::AllStaple(). |
|
||||||||||||||||
|
Calculates the gauge field square staple sum around a link.
The staple sum around the link
Definition at line 421 of file link_buffer.C. References cps::acumulate_mp, cps::CBUF_MODE2, cps::CBUF_MODE4, cps::dir, cps::IFloat, MATRIX_SIZE, cps::moveMem(), PathOrdProdPlus(), cps::setCbufCntrlReg(), and cps::Matrix::ZeroMatrix(). Referenced by cps::Gwilson::AllStaple(), cps::GtadpoleRect::AllStaple(), cps::GimprRect::AllStaple(), and cps::GimprOLSym::AllStaple(). |
|
||||||||||||||||
|
Appears not to be implemented.
|
|
|
Deletes all the links from the buffer.
Definition at line 340 of file link_buffer.C. References cps::LinkBuffer::ClearAll(), link_buffer, and LinkBufferIsEnabled(). Referenced by cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), cps::AlgSmear2::run(), cps::AlgSmear::run(), and cps::AlgRotateGauge::run(). |
|
||||||||||||
|
Removes links from the buffer. Remove from the buffer all the links with local lattice site x and direction mu.
Definition at line 387 of file link_buffer.C. References cps::LinkBuffer::ClearBufferedLink(), link_buffer, and LinkBufferIsEnabled(). Referenced by cps::AlgGheatBath::NoCheckerBoardRun(), and cps::AlgGheatBath::NodeCheckerBoardRun(). |
|
|
Definition at line 1112 of file lattice.h. Referenced by cps::ReadLatticeParallel::read(). |
|
|
|
Compares the gauge configuration to the lattice instance;.
Definition at line 405 of file lattice_base.C. References cps::Float, cps::MPISCU::fprintf(), cps::Verbose::Func(), cps::GJP, GsiteSize(), cps::UniqueID(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by cps::AlgHmcRHMC::run(). |
|
|
||||||||||||||||
|
Converts the gauge field and two fermion fields to a new data layout. The fields exist on all lattice sites (both parities).
Definition at line 72 of file convert.C. References cps::ERR, Fconvert(), cps::Verbose::Flow(), cps::Verbose::Func(), cps::Error::Pointer(), and cps::VRB. Referenced by cps::DiracOpAsqtad::DiracOpAsqtad(), cps::DiracOpClover::DiracOpClover(), cps::DiracOpDwf::DiracOpDwf(), cps::DiracOpP4::DiracOpP4(), cps::DiracOpStag::DiracOpStag(), cps::DiracOpWilson::DiracOpWilson(), cps::Fp4::EvolveMomFforce(), cps::Fasqtad::EvolveMomFforce(), Lattice(), cps::ParTransAsqtad::ParTransAsqtad(), cps::ParTransGauge::ParTransGauge(), cps::ParTransStaggered_cb::ParTransStaggered_cb(), cps::ParTransStagTypes::ParTransStagTypes(), cps::ParTransWilsonTypes::ParTransWilsonTypes(), cps::Fp4::RHMC_EvolveMomFforce(), cps::Fasqtad::RHMC_EvolveMomFforce(), cps::DiracOpAsqtad::~DiracOpAsqtad(), cps::DiracOpClover::~DiracOpClover(), cps::DiracOpDwf::~DiracOpDwf(), cps::DiracOpP4::~DiracOpP4(), cps::DiracOpStag::~DiracOpStag(), cps::DiracOpWilson::~DiracOpWilson(), cps::ParTransAsqtad::~ParTransAsqtad(), cps::ParTransGauge::~ParTransGauge(), cps::ParTransStaggered_cb::~ParTransStaggered_cb(), cps::ParTransStagTypes::~ParTransStagTypes(), and cps::ParTransWilsonTypes::~ParTransWilsonTypes(). |
|
|
Copies the gauge configuration into an array;.
Definition at line 388 of file lattice_base.C. References cps::Verbose::Func(), cps::GJP, GsiteSize(), cps::IFloat, cps::moveMem(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by cps::QPropW::DoLinkSmear(), cps::LatticeContainer::Get(), cps::AlgSmear2::run(), cps::AlgOlegSmear::run(), cps::AlgSmear::run(), cps::AlgHQPotential::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), and cps::QPropW::UndoLinkSmear(). |
|
||||||||||||||||
|
Appears not to be implemented.
|
|
|
delete the LinkBuffer Object when it's not in use.
Definition at line 359 of file link_buffer.C. References link_buffer. |
|
|
Creates a link buffer. This function does not create a buffer if there already is one.
Definition at line 350 of file link_buffer.C. References link_buffer, and LinkBuffer. |
|
||||||||||||
|
Molecular dynamics evolution of the gauge field. Updates each gauge link U according to the canonical equation of motion U(t+dt) = exp(i dt H) U(t) A ninth order Horner expansion is used to compute the exponential.
Definition at line 2016 of file lattice_base.C. References cps::CBUF_MODE4, cps::CSM, cps::CSUM_EVL_LAT, cps::CSUM_EVL_MOM, cps::Float, cps::Verbose::Func(), GaugeField(), cps::GJP, cps::global_checksum(), cps::IFloat, cps::local_checksum(), MATRIX_SIZE, cps::mDotMEqual(), cps::moveMem(), cps::oneMinusfTimesMatrix(), cps::Verbose::Result(), cps::CheckSum::SaveCsum(), cps::setCbufCntrlReg(), smeared, cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by cps::AlgMomentum::evolve(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||||||||||||||
|
Molecular dynamics evolution due to the boson part of quotient integrator. The momentum is evolved for a single molecular dynamics timestep using the force from the bosonic part of a quotient action.
Implemented in cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. |
|
||||||||||||||||||||
|
Molecular dynamics evolution due to the fermion force. The momentum is evolved for a single molecular dynamics timestep using the force from the fermion action.
Implemented in cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fdwf, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. |
|
||||||||||||||||||||||||||||
|
Reimplemented in cps::FwilsonTm. Definition at line 2710 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). |
|
||||||||||||||||||||||||
|
Reimplemented in cps::FwilsonTm. Definition at line 2703 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::AlgActionQuotient::evolve(), cps::AlgActionFermion::evolve(), cps::AlgActionBoson::evolve(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||
|
Molecular dynamics evolution of the conjugate momentum. The momentum is evolved for a single molecular dynamics timestep using the force from the pure gauge action.
Implemented in cps::Gnone, cps::Gwilson, cps::GpowerPlaq, cps::GimprRect, cps::GtadpoleRect, cps::GpowerRect, and cps::GimprOLSym. Referenced by cps::AlgActionGauge::evolve(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
The number of dynamical flavors.
Implemented in cps::FwilsonTypes, cps::Fnone, and cps::FstagTypes. Referenced by cps::AlgHmdR2::run(), and cps::AlgHmdR::run(). |
|
|
Determines whether one or both parities are used in the molecular dynamics evolution. Are the fields used in the molecular dynamics algorithms defined on the whole lattice or just on sites on one parity?
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by cps::AlgActionBilinear::AlgActionBilinear(), cps::AlgHmcPhi::AlgHmcPhi(), cps::AlgHmcQPQ::AlgHmcQPQ(), cps::AlgHmd::AlgHmd(), cps::AlgHmdR::AlgHmdR(), cps::AlgHmdR2::AlgHmdR2(), cps::DiracOpWilsonTypes::BiCGstab(), cps::FwilsonTypes::FhamiltonNode(), cps::DiracOp::InvCg(), cps::DiracOp::MinResExt(), and cps::DiracOp::MInvCG(). |
|
|
Returns the type of fermion action.
Implemented in cps::FwilsonTypes, cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::FstagTypes, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgHmcRHMC::AlgHmcRHMC(), cps::AlgHmdR2::AlgHmdR2(), cps::AlgStagMeson::AlgStagMeson(), cps::AlgStagMomMeson::AlgStagMomMeson(), cps::AlgStagNonLocal::AlgStagNonLocal(), cps::AlgStagNucleon::AlgStagNucleon(), cps::AlgStagQuark::AlgStagQuark(), cps::AlgWspect::AlgWspect(), cps::DiracOpWilsonTypes::BiCGstab(), cps::QPropW::CG(), cps::AlgActionQuotient::energy(), cps::AlgActionQuotient::evolve(), cps::AlgActionFermion::evolve(), cps::AlgActionQuotient::heatbath(), cps::AlgActionFermion::heatbath(), cps::DiracOp::InvCg(), cps::DiracOp::MinResExt(), cps::DiracOp::MInvCG(), RandGaussVector(), cps::QPropW::ReLoad(), cps::AlgActionQuotient::reweight(), cps::AlgWspect::run(), cps::QPropW::Run(), cps::AlgPbp::run(), cps::AlgHmcRHMC::run(), cps::AlgEig::run(), cps::AlgDens::run(), cps::AlgPbp::runPointSource(), cps::WspectAxialCurrent::WspectAxialCurrent(), cps::WspectQuark::WspectQuark(), cps::AlgHmcRHMC::~AlgHmcRHMC(), and cps::WspectAxialCurrent::~WspectAxialCurrent(). |
|
||||||||||||||||
|
Exactly which data layouts are supported depends on the type of fermion action. The field exists on all lattice sites (both parities).
Definition at line 1096 of file lattice.h. References cps::LatVector::Vec(). |
|
||||||||||||||||
|
Converts the field layout.
Implemented in cps::FwilsonTypes, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by Convert(). |
|
|
Definition at line 541 of file lattice.h. Referenced by cps::DiracOpClover::DiracOpClover(), cps::DiracOpDwf::DiracOpDwf(), and cps::DiracOpWilson::DiracOpWilson(). |
|
||||||||||||||||||||||||
|
Not implemented here. Not implemented here.
Reimplemented in cps::Fstag, and cps::Fp4. Definition at line 2680 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::AlgDens::run(). |
|
||||||||||||||||||||||||
|
Not implemented here.
Reimplemented in cps::Fstag, cps::Fasqtad, and cps::Fp4. Definition at line 2667 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::AlgPbp::run(). |
|
||||||||||||||||||||||||||||||||
|
It the eigenvectors and eigenvalues of the fermion matrix.
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgHmcRHMC::dynamicalApprox(), and cps::AlgEig::run(). |
|
||||||||||||||||||||||||
|
Not implemented here.
Reimplemented in cps::FdwfBase. Definition at line 2654 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::QPropW::CG(), cps::QPropW::MeasConAxialOld(), cps::QPropW::MeasJ5qPion(), cps::AlgPbp::run(), cps::AlgPbp::runPointSource(), and cps::WspectQuark::WspectQuark(). |
|
||||||||||||||||||||||||
|
Not implemented here.
Reimplemented in cps::FdwfBase. Definition at line 2644 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::QPropW::CG(), cps::AlgPbp::run(), cps::AlgPbp::runPointSource(), and cps::WspectQuark::WspectQuark(). |
|
||||||||||||
|
Computes the pseudofermionic action on the local sublattice.
Implemented in cps::FwilsonTypes, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by cps::AlgActionQuotient::energy(), cps::AlgActionFermion::energy(), cps::AlgActionQuotient::reweight(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||
|
Fixes the gauge.
Definition at line 956 of file fix_gauge.C. References COLORS, Colors(), cps::FixHPlane::delta(), cps::ERR, cps::Float, cps::Verbose::Func(), GaugeField(), cps::Error::General(), cps::glb_sum(), cps::FixHPlane::iter(), cps::Error::NotImplemented(), cps::Error::Pointer(), cps::sfree(), cps::Verbose::Sfree(), cps::HyperPlane::small_enough, cps::Verbose::Smalloc(), cps::smalloc(), cps::FixHPlane::unitarize(), cps::VRB, and cps::Verbose::Warn(). Referenced by cps::AlgHQPotential::run(), and cps::AlgFixGauge::run(). |
|
||||||||||||||||
|
Allocates memory for the gauge fixing matrices. If Landau gauge fixing is requested, memory is allocated for a gauge fixing matrix at each lattice site. If Coulomb gauge fixing is requested, memory is allocated for a gauge fixing matrix at each lattice site on the hyperplanes requested, if that hyperplane intersects the local lattice on this node. The matrices are initialised to unity.
Definition at line 1131 of file fix_gauge.C. References COLORS, Colors(), cps::ERR, cps::Verbose::Func(), cps::Error::General(), cps::Error::NotImplemented(), cps::Error::Pointer(), cps::Verbose::Smalloc(), cps::smalloc(), cps::Matrix::UnitMatrix(), and cps::VRB. Referenced by cps::AlgRandomGauge::run(), cps::AlgHQPotential::run(), and cps::AlgFixGauge::run(). |
|
|
Free memory used by the gauge fixing matrices.
Definition at line 1281 of file fix_gauge.C. References cps::ERR, cps::Verbose::Func(), cps::Error::General(), cps::sfree(), cps::Verbose::Sfree(), and cps::VRB. Referenced by cps::AlgFixGauge::free(), cps::AlgHQPotential::run(), and cps::AlgMeas::RunTask(). |
|
|
Returns the kind of gauge fixing.
Definition at line 2606 of file lattice_base.C. References cps::FixGaugeType. Referenced by cps::QPropW::FixSol(), cps::FermionVector::gaugeFixSink(), cps::FermionVectorTp::GaugeFixSink(), cps::FermionVectorTp::LandauGaugeFixSink(), cps::AlgRotateGauge::run(), cps::QPropW::Run(), and cps::FermionVectorTp::SetLandauGaugeMomentaSource(). |
|
|
Returns an array of pointers to the gauge fixed hyperplanes. The array are allocated with FixGaugeAllocate. Definition at line 2598 of file lattice_base.C. Referenced by cps::FermionVector::gaugeFixSink(), cps::FermionVectorTp::GaugeFixSink(), cps::QuarkPropS::getQuarkPropS(), cps::FermionVectorTp::GFWallSource(), cps::FermionVectorTp::LandauGaugeFixSink(), cps::AlgRotateGauge::run(), cps::AlgRandomGauge::run(), cps::AlgHQPotential::run(), cps::FermionVectorTp::SetGFPointSource(), cps::FermionVectorTp::SetLandauGaugeMomentaSource(), and cps::WspectQuark::WspectQuark(). |
|
|
Returns the stopping condition used.
Definition at line 2610 of file lattice_base.C. References cps::Float. |
|
||||||||||||||||||||
|
Reimplemented in cps::FdwfBase. |
|
||||||||||||||||||||||||
|
The matrix inversion used in the molecular dynamics algorithms.
Solves
Implemented in cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgActionQuotient::energy(), cps::AlgActionFermion::energy(), cps::AlgActionQuotient::evolve(), cps::AlgActionFermion::evolve(), cps::AlgActionQuotient::heatbath(), cps::AlgActionBoson::heatbath(), cps::AlgActionQuotient::reweight(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 903 of file lattice.h. References cps::Float, and cps::MULTI. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 894 of file lattice.h. References cps::Float, and cps::MULTI. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 885 of file lattice.h. References cps::Float, and cps::MULTI. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 877 of file lattice.h. References cps::Float, and cps::MULTI. |
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 2954 of file lattice_base.C. References FmatEvlMInv(). |
|
||||||||||||||||||||||||||||||||||||||||||||
|
The multishift matrix inversion used in the RHMC molecular dynamics algorithms.
Solves
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by FmatEvlMInv(), cps::AlgHmdR2::run(), and cps::AlgHmcRHMC::run(). |
|
||||||||||||||||||||||||
|
Reimplemented in cps::FdwfBase. |
|
||||||||||||||||||||||||||||
|
Fermion matrix inversion. This computes the starting guess for the solver for use in the HMD force calculations using a minimal residual chronological method. This computes the guess solution as a linear combination of a given number of the previous solutions.
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::QPropW::CG(), cps::QuarkPropS::getQuarkPropS(), cps::AlgPbp::run(), cps::AlgDens::run(), cps::AlgPbp::runPointSource(), and cps::WspectQuark::WspectQuark(). |
|
||||||||||||||||||||||||||||||||
|
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgActionQuotient::evolve(), cps::AlgActionFermion::evolve(), and cps::AlgHmcQPQ::run(). |
|
||||||||||||
|
Not implemented here.
Reimplemented in cps::FdwfBase. Definition at line 621 of file lattice.h. Referenced by cps::DiracOpDwf::MatHerm(). |
|
|
Gets the lattice site index for the canonical order. When the fermion field is stored in canonical order, defined by StrOrdType = CANONICAL, this method converts a sites cartesian coordinates into its lattice site index.
Implemented in cps::FwilsonTypes, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by cps::pt_1vec(), cps::pt_mat(), cps::pt_shift_field(), cps::pt_shift_field_vec(), cps::pt_shift_link(), and cps::pt_vvpd(). |
|
|
Gets the lattice site index for the odd-even (checkerboard) order. When a field is stored in an odd-even (checkerboard) order, this method converts a site's cartesian coordinates into its lattice site index.
Implemented in cps::FwilsonTypes, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by cps::pt_1vec_cb_norm(), cps::pt_1vec_cb_pad(), cps::pt_mat_norm(), and cps::HadronPropS::X_OFFSET(). |
|
|
Gets the size of a fermion field per 4-dim. lattice site.
Implemented in cps::FwilsonTypes, cps::Fwilson, cps::FdwfBase, cps::Fnone, and cps::FstagTypes. Referenced by cps::AlgDens::AlgDens(), cps::AlgEig::AlgEig(), cps::AlgHmcPhi::AlgHmcPhi(), cps::AlgHmcQPQ::AlgHmcQPQ(), cps::AlgHmdR::AlgHmdR(), cps::AlgPbp::AlgPbp(), cps::DiracOpWilsonTypes::BiCGstab(), cps::DiracOpClover::CalcHmdForceVecs(), cps::QPropW::CG(), cps::DiracOpAsqtad::DiracOpAsqtad(), cps::DiracOpP4::DiracOpP4(), cps::DiracOpStag::DiracOpStag(), cps::DiracOp::InvCg(), cps::DiracOpWilson::Mat(), cps::DiracOpDwf::Mat(), cps::DiracOpWilson::MatDag(), cps::DiracOpDwf::MatDag(), cps::DiracOpClover::MatDagMatDbg(), cps::DiracOpClover::MatDagOrNotDbg(), cps::DiracOpClover::MatEvlInv(), cps::DiracOpWilson::MatHerm(), cps::DiracOpDwf::MatHerm(), cps::DiracOpClover::MatHerm(), cps::DiracOpWilson::MatInv(), cps::DiracOpDwf::MatInv(), cps::DiracOpClover::MatInv(), cps::DiracOpClover::MatPcDagMatPc(), cps::DiracOpClover::MatPcDagOrNot(), cps::DiracOp::MinResExt(), cps::DiracOp::MInvCG(), cps::pt_vvpd(), cps::QPropWGFLfuncSrc::QPropWGFLfuncSrc(), RandGaussVector(), cps::DiracOpWilsonTypes::RitzLatSize(), cps::DiracOpStagTypes::RitzLatSize(), cps::AlgPbp::run(), cps::AlgHmcRHMC::run(), cps::AlgEig::run(), and cps::AlgDens::run(). |
|
|
Definition at line 722 of file lattice.h. References cps::F_CLASS_ASQTAD, and cps::F_CLASS_STAG. Referenced by cps::AlgStagMeson::AlgStagMeson(), cps::AlgStagMomMeson::AlgStagMomMeson(), cps::AlgStagNonLocal::AlgStagNonLocal(), cps::AlgStagNucleon::AlgStagNucleon(), cps::AlgStagQuark::AlgStagQuark(), and RandGaussVector(). |
|
|
Definition at line 729 of file lattice.h. References cps::F_CLASS_CLOVER, cps::F_CLASS_DWF, and cps::F_CLASS_WILSON. |
|
||||||||||||||||
|
Calculates the partial derivative of the gauge action w.r.t. the link U_mu(x).
Implemented in cps::Gnone, cps::Gwilson, cps::GpowerPlaq, cps::GimprRect, cps::GtadpoleRect, cps::GpowerRect, and cps::GimprOLSym. |
|
||||||||||||||||
|
Not implemented here.
Reimplemented in cps::FwilsonTypes. Definition at line 2627 of file lattice_base.C. References cps::ERR, and cps::Error::NotImplemented(). Referenced by cps::QPropW::MeasConAxialOld(), cps::AlgPbp::run(), cps::AlgPbp::runPointSource(), and cps::WspectQuark::WspectQuark(). |
|
|
Copies an array into the gauge configuration. Copies the array pointed to by u into the gauge configuration.
Definition at line 363 of file lattice_base.C. References cps::Verbose::Func(), cps::GJP, GsiteSize(), cps::IFloat, cps::moveMem(), smeared, cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. |
|
|
Returns the pointer to the gauge field configuration.
Definition at line 347 of file lattice_base.C. Referenced by cps::asqtad_dirac_init(), Convert(), cps::DiracOp::DiracOp(), cps::DiracOpP4::DiracOpP4(), cps::QPropW::DoLinkSmear(), EvolveGfield(), cps::FwilsonTm::EvolveMomFforce(), cps::Fwilson::EvolveMomFforce(), cps::FdwfBase::EvolveMomFforce(), cps::Fclover::EvolveMomFforce(), FixGauge(), cps::Fp4::Fp4(), cps::Fstag::Fstag(), cps::FermionVectorTp::GaussianSmearVector(), cps::DiracOpClover::GetLink(), cps::Gwilson::GforceSite(), cps::GtadpoleRect::GforceSite(), cps::GpowerRect::GforceSite(), cps::GpowerPlaq::GforceSite(), cps::GimprRect::GforceSite(), cps::GimprOLSym::GforceSite(), cps::Nuc3ptCons::InsertOp(), cps::QPropW::MeasConAxialOld(), MltFloatImpl(), cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), cps::ParTrans::ParTrans(), Plaq(), cps::GpowerRect::PowerRectStaple(), cps::GpowerRect::PowerStaple(), cps::GpowerPlaq::PowerStaple(), cps::pt_1vec(), cps::pt_1vec_cb(), cps::pt_mat(), cps::pt_mat_cb(), cps::pt_shift_link(), cps::qloadsave_gauge(), cps::ReadLatticeParallel::read(), ReTrPlaq(), Reunitarize(), cps::AlgWline::run(), cps::WspectFuzzing::run(), cps::AlgSmear2::run(), cps::AlgOlegSmear::run(), cps::AlgSmear::run(), cps::AlgRotateGauge::run(), cps::AlgOverRelax::run(), cps::AlgNoise::run(), cps::AlgHmc::run(), cps::AlgInst::run(), cps::AlgHQPotential::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), cps::AlgGheatBath::run(), cps::LatticeContainer::Set(), SetGfieldOrd(), Staple(), cps::twist_links(), cps::QPropW::UndoLinkSmear(), and cps::WriteLatticeParallel::write(). |
|
|
Returns the type of gauge action.
Implemented in cps::Gnone, cps::Gwilson, cps::GpowerPlaq, cps::GimprRect, cps::GtadpoleRect, cps::GpowerRect, and cps::GimprOLSym. Referenced by cps::AlgGheatBath::NoCheckerBoardRun(), and cps::AlgGheatBath::run(). |
|
||||||||||||
|
Gets a link from the buffer. Looks for the link U_mu(x) in the buffer. If it is not there it is brought in.
Definition at line 374 of file link_buffer.C. References cps::LinkBuffer::GetBufferedLink(), GetLink(), GsiteOffset(), IsOnNode(), link_buffer, and LinkBufferIsEnabled(). Referenced by cps::Nuc3ptStru::InsertOp(), and PathOrdProdPlus(). |
|
||||||||||||
|
Gets the gauge link U_mu(x). Get a link at specified coordinates and direction, whether on node or off node. The coordinates are defined relative to the local lattice origin.
Definition at line 486 of file lattice_base.C. References cps::getMinusData(), cps::getPlusData(), GsiteOffset(), cps::IFloat, MATRIX_SIZE, and node_sites. Referenced by GetBufferedLink(), cps::LinkBuffer::GetBufferedLink(), cps::GpowerRect::PowerRectStaple(), RectStaple(), and ReTrRect(). |
|
||||||||||||||||||||
|
Gets the gauge link U_mu(x+dir).
Definition at line 542 of file lattice_base.C. References g_dir_offset, cps::getPlusData(), cps::IFloat, MATRIX_SIZE, and node_sites. Referenced by Plaq(), cps::GpowerRect::PowerStaple(), cps::GpowerPlaq::PowerStaple(), ReTrPlaq(), and Staple(). |
|
|
Computes the pure gauge action on the local sublattice.
Implemented in cps::Gnone, cps::Gwilson, cps::GpowerPlaq, cps::GimprRect, cps::GtadpoleRect, cps::GpowerRect, and cps::GimprOLSym. Referenced by cps::AlgActionGauge::energy(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Gets the array index of a gauge link. Specifically, the internal array index of the first of the four gauge field links at lattice site x for the canonical storage order.
Definition at line 252 of file lattice.h. Referenced by cps::ParTrans::BondCond(), cps::Fstag::EvolveMomFforce(), cps::Gwilson::EvolveMomGforce(), cps::GtadpoleRect::EvolveMomGforce(), cps::GpowerRect::EvolveMomGforce(), cps::GpowerPlaq::EvolveMomGforce(), cps::GimprRect::EvolveMomGforce(), cps::GimprOLSym::EvolveMomGforce(), GetBufferedLink(), GetLink(), cps::Gwilson::GforceSite(), cps::GtadpoleRect::GforceSite(), cps::GpowerRect::GforceSite(), cps::GpowerPlaq::GforceSite(), cps::GimprRect::GforceSite(), cps::GimprOLSym::GforceSite(), cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), PathOrdProd(), Plaq(), cps::GpowerRect::PowerRectStaple(), cps::GpowerRect::PowerStaple(), cps::GpowerPlaq::PowerStaple(), cps::pt_1vec(), cps::pt_1vec_cb_norm(), cps::pt_1vec_cb_pad(), cps::pt_mat(), cps::pt_mat_norm(), cps::pt_shift_link(), cps::qloadsave_gauge(), ReTrPlaq(), cps::AlgWline::run(), cps::AlgOverRelax::run(), cps::AlgNoise::run(), cps::AlgInst::run(), cps::AlgGheatBath::run(), Staple(), and cps::twist_links(). |
|
|
Gets the number of gauge field components per lattice site.
Definition at line 453 of file lattice_base.C. References Colors(). Referenced by cps::AlgHamiltonian::AlgHamiltonian(), cps::AlgHmc::AlgHmc(), cps::AlgHmd::AlgHmd(), CompareGaugeField(), Convert(), CopyGaugeField(), cps::AlgActionQuotient::evolve(), GaugeField(), GsoCheck(), Lattice(), cps::Fwilson::RHMC_EvolveMomFforce(), cps::Fstag::RHMC_EvolveMomFforce(), cps::Fp4::RHMC_EvolveMomFforce(), cps::FdwfBase::RHMC_EvolveMomFforce(), cps::Fasqtad::RHMC_EvolveMomFforce(), and SetGfieldDisOrd(). |
|
|
Checks that the gauge field is identical on 5th dimension local lattice slices. Checks that the gauge field is identical (using a checksum and the average plaquette) on each slice of the lattice perpendicular to the 5th direction and local in the 5th direction. Obviously this is always the case when the entire 5th direction is local. If any of the node slices fail to match the program exits with an error. Definition at line 2751 of file lattice_base.C. References cps::ERR, cps::Float, cps::Verbose::Flow(), cps::Verbose::Func(), cps::Error::General(), cps::getMinusData(), cps::GJP, cps::glb_sum_five(), GsiteSize(), cps::IFloat, cps::MPISCU::printf(), cps::GlobalJobParameter::SnodeCoor(), cps::GlobalJobParameter::Snodes(), SumReTrPlaqNode(), cps::GlobalJobParameter::TnodeCoor(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::YnodeCoor(), and cps::GlobalJobParameter::ZnodeCoor(). Referenced by Lattice(), cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), cps::AlgHmc::run(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), cps::AlgGheatBath::run(), and ~Lattice(). |
|
|
Sets the gauge field updates counter. Sets the the initial value of the counter of the number of gauge field updates that have been performed.
Definition at line 2543 of file lattice_base.C. |
|
|
Reads the gauge field updates counter.
Definition at line 2532 of file lattice_base.C. Referenced by cps::AlgHmc::run(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Increments the gauge field updates counter.
Definition at line 2553 of file lattice_base.C. Referenced by cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), cps::AlgOverRelax::run(), cps::AlgHmc::run(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), and cps::AlgGheatBath::run(). |
|
|
Checks if a lattice site local to this node.
Definition at line 397 of file link_buffer.C. References node_sites. Referenced by GetBufferedLink(). |
|
|
Returns true if there is a buffer for the links, false otherwise.
Definition at line 186 of file lattice.h. Referenced by ClearAllBufferedLink(), ClearBufferedLink(), and GetBufferedLink(). |
|
|
Sets the value of the molecular dynamics time counter. Sets the number of timesteps completed so far in a molecular dynamics trajectory. Definition at line 2574 of file lattice_base.C. References cps::Float. |
|
|
The molecular dynamics time counter.
Definition at line 2564 of file lattice_base.C. References cps::Float. Referenced by cps::AlgMomentum::evolve(), cps::AlgMomentum::heatbath(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Increments the value of the molecular dynamics time counter. Increments the number of timesteps completed so far in a molecular dynamics trajectory. Definition at line 2585 of file lattice_base.C. References cps::Float. Referenced by cps::AlgMomentum::evolve(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Metropolis algorithm decision.
Definition at line 2298 of file lattice_base.C. References cps::Float, and MetropolisAccept(). |
|
||||||||||||
|
Metropolis algorithm decision.
Definition at line 2226 of file lattice_base.C. References cps::LatRanGen::AssignGenerator(), cps::Float, cps::Verbose::Flow(), cps::Verbose::Func(), cps::GJP, cps::glb_sum(), cps::IFloat, cps::LRG, cps::LatRanGen::SetInterval(), cps::GlobalJobParameter::Snodes(), SoCheck(), cps::GlobalJobParameter::TnodeCoor(), cps::LatRanGen::Urand(), cps::VRB, cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::YnodeCoor(), and cps::GlobalJobParameter::ZnodeCoor(). Referenced by MetropolisAccept(), cps::AlgHmc::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||
|
Multiplies all gauge links with direction dir by a real factor.
Definition at line 442 of file lattice.h. References cps::dir. Referenced by cps::DiracOp::DiracOp(), cps::ParTrans::ParTrans(), Reunitarize(), cps::DiracOp::~DiracOp(), ~Lattice(), and cps::ParTrans::~ParTrans(). |
|
||||||||||||
|
Multiplies all gauge links in direction dir by a real factor.
Definition at line 1983 of file lattice_base.C. References cps::dir, GaugeField(), cps::GJP, cps::IFloat, MATRIX_SIZE, cps::vecTimesEquFloat(), and cps::GlobalJobParameter::VolNodeSites(). |
|
|
The kinetic energy term of the canonical Hamiltonian on the local lattice. The local kinetic energy is
where the H is the conjugate momentum field and the sum is over all directions
Definition at line 2102 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::GJP, cps::Matrix::NegHalfTrSquare(), cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). Referenced by cps::AlgMomentum::energy(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||||||||||
|
Computes the product of links along a path. Given the starting site x, the directions of each step on the path and the number of steps. calculate the path ordered product of all the links along the path and add it to the given matrix m. Each direction is one of 0, 1, 2, 3, 4, 5, 6 or 7} corresponding to the directions X, Y, Z, T, -X, -Y, -Z and -T respectively. The idea is whenever the path hits a boundary the current partial result is passed to the next processer on the path, which will calculate the part of the product that is on this node and pass on, so the result ends up on the last processor where the path stops.
Definition at line 797 of file link_buffer.C. References cps::Matrix::Dagger(), cps::getMinusData(), cps::getPlusData(), GsiteOffset(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::moveMem(), node_sites, and SWAP. Referenced by cps::AlgPot::run(). |
|
||||||||||||||||||||
|
Computes the product of links along a path and adds it to a matrix. Given the starting site x, the directions of each step on the path and the number of steps. calculate the path ordered product of all the links along the path and add it to the given matrix m. Each direction is one of 0, 1, 2, 3, 4, 5, 6 or 7} corresponding to the directions X, Y, Z, T, -X, -Y, -Z and -T respectively.
Definition at line 706 of file link_buffer.C. References cps::Matrix::Dagger(), GetBufferedLink(), cps::IFloat, cps::mat1, MATRIX_SIZE, cps::mDotMEqual(), cps::mDotMPlus(), cps::moveMem(), cps::result1_mp, and cps::result_mp. Referenced by BufferedChairStaple(), BufferedCubeStaple(), BufferedRectStaple(), BufferedStaple(), cps::CloverLeaf(), cps::CloverLeaf1x3(), cps::CloverLeaf2x2(), cps::CloverLeaf3x3(), cps::CloverLeafRect(), cps::five_staple(), cps::Nuc3ptStru::InsertOp(), cps::lepage_staple(), ReTrLoop(), cps::AlgPot2::run(), cps::seven_staple(), cps::three_staple(), and cps::three_staple2(). |
|
||||||||||||||||||||
|
Computes a plaquette. The plaquette is
Definition at line 1099 of file lattice_base.C. References cps::CBUF_MODE2, cps::CBUF_MODE4, cps::Matrix::Dagger(), GaugeField(), GetLinkOld(), GsiteOffset(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::moveMem(), and cps::setCbufCntrlReg(). |
|
||||||||||||
|
A random gaussian anti-Hermitian matrix field. Creates a field of antihermitian 3x3 complex matrices with each complex element drawn at random from a gaussian distribution with zero mean. Hence the matrices are distributed according to exp[- Tr(mat^2)/(2 sigma2)]
Definition at line 2320 of file lattice_base.C. References cps::Matrix::AntiHermMatrix(), cps::LatRanGen::AssignGenerator(), cps::FOUR_D, cps::Verbose::Func(), cps::GJP, cps::LatRanGen::Grand(), cps::IFloat, cps::LRG, cps::p(), cps::LatRanGen::SetSigma(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by cps::AlgMomentum::heatbath(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
||||||||||||||||||||||||
|
Definition at line 2405 of file lattice_base.C. References cps::LatRanGen::AssignGenerator(), Colors(), Fclass(), cps::FOUR_D, FsiteSize(), cps::Verbose::Func(), cps::GJP, cps::glb_sum_five(), cps::LatRanGen::Grand(), cps::IFloat, cps::k, cps::LRG, cps::MPISCU::printf(), cps::LatRanGen::SetSigma(), cps::GlobalJobParameter::SnodeSites(), SpinComponents(), cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). |
|
||||||||||||||||||||
|
Creates a random gaussian spin-colour field.
Definition at line 2381 of file lattice_base.C. References cps::CANONICAL, FstagType(), RandGaussVector(), and cps::STAG. |
|
||||||||||||||||
|
Creates a random gaussian spin-colour field. The field is defined on all lattice sites.
Definition at line 2360 of file lattice_base.C. References RandGaussVector(). |
|
||||||||||||
|
Creates a random gaussian spin-colour field. The field is defined on all sites of a 5-dimensional lattice for domain-wall fermions.
Definition at line 2376 of file lattice_base.C. References cps::CANONICAL, and cps::FIVE_D. Referenced by cps::AlgHmcRHMC::dynamicalApprox(), cps::AlgActionQuotient::heatbath(), cps::AlgActionFermion::heatbath(), cps::AlgActionBoson::heatbath(), RandGaussVector(), cps::AlgActionQuotient::reweight(), cps::AlgPbp::run(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), cps::AlgEig::run(), and cps::AlgDens::run(). |
|
||||||||||||||||
|
Calculates the rectangle staple sum around a link.
The 5-link rectangle staple sum around the link
Definition at line 719 of file lattice_base.C. References cps::CBUF_MODE4, cps::Matrix::Dagger(), GetLink(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::mDotMPlus(), cps::moveMem(), cps::setCbufCntrlReg(), and cps::Matrix::ZeroMatrix(). Referenced by cps::GtadpoleRect::GactionGradient(), cps::GimprRect::GactionGradient(), cps::GtadpoleRect::GforceSite(), and cps::GimprRect::GforceSite(). |
|
||||||||||||||||
|
Appears not to be implemented.
|
|
||||||||||||||||
|
Computes the real trace of the product of links along a path. Given the starting site x, the directions of each step on the path and the number of steps. calculate the path ordered product of all the links along the path and take the real part of the trace. Each direction is one of 0, 1, 2, 3, 4, 5, 6 or 7} corresponding to the directions X, Y, Z, T, -X, -Y, -Z and -T respectively.
Definition at line 1456 of file lattice_base.C. References cps::CBUF_MODE2, cps::CBUF_MODE4, cps::dir, cps::Float, cps::Verbose::Func(), PathOrdProdPlus(), cps::Matrix::ReTr(), cps::setCbufCntrlReg(), cps::VRB, and cps::Matrix::ZeroMatrix(). Referenced by SumReTrCubeNode(). |
|
||||||||||||||||
|
Calculates the real part of the trace of a plaquette. The plaquette is
Definition at line 1152 of file lattice_base.C. References cps::CBUF_MODE2, cps::CBUF_MODE4, cps::Matrix::Dagger(), cps::Float, GaugeField(), GetLinkOld(), GsiteOffset(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::moveMem(), cps::Matrix::ReTr(), and cps::setCbufCntrlReg(). Referenced by AveReTrPlaqNodeNoXi(), AveReTrPlaqNodeXi(), cps::GpowerRect::PowerPlaq(), cps::GpowerPlaq::PowerPlaq(), cps::AlgPlaq::run(), cps::AlgEqState::run(), and SumReTrPlaqNode(). |
|
||||||||||||||||
|
Calculates the real part of the trace of a 6-link rectangle.
The rectangle at site x in the
Definition at line 1284 of file lattice_base.C. References cps::CBUF_MODE4, cps::Matrix::Dagger(), cps::ERR, cps::Float, cps::Error::General(), GetLink(), cps::IFloat, cps::mDotMEqual(), cps::Matrix::ReTr(), and cps::setCbufCntrlReg(). Referenced by AveReTrRectNodeNoXi(), AveReTrRectNodeXi1(), AveReTrRectNodeXi2(), cps::GpowerRect::PowerRect(), cps::AlgRect::run(), and SumReTrRectNode(). |
|
||||||||||||
|
Test the gauge field for unitarity violation and reunitarize it.
Definition at line 2172 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), GaugeField(), cps::GJP, MltFloat(), smeared, cps::Matrix::Unitarize(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). |
|
|
Re-unitarize the gauge field configuration.
Definition at line 2126 of file lattice_base.C. References cps::Verbose::Func(), GaugeField(), cps::GJP, MltFloat(), smeared, cps::Matrix::Unitarize(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), and cps::GlobalJobParameter::XiDir(). Referenced by Lattice(), cps::AlgGheatBath::NoCheckerBoardRun(), cps::AlgGheatBath::NodeCheckerBoardRun(), cps::AlgOverRelax::run(), cps::AlgHmc::run(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), cps::AlgHmcPhi::run(), cps::AlgGheatBath::run(), and SetGfieldDisOrd(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Implemented in cps::Fwilson, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. Referenced by cps::AlgHmdR2::run(), and cps::AlgHmcRHMC::run(). |
|
|
Creates a random (disordered) gauge field.
Definition at line 2503 of file lattice_base.C. References cps::LatRanGen::AssignGenerator(), cps::FOUR_D, cps::Verbose::Func(), cps::GJP, GsiteSize(), cps::IFloat, cps::k, cps::LRG, Reunitarize(), cps::LatRanGen::SetInterval(), smeared, cps::LatRanGen::Urand(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by Lattice(). |
|
|
Creates a unit gauge field.
Definition at line 2482 of file lattice_base.C. References cps::Verbose::Func(), GaugeField(), cps::GJP, cps::Matrix::UnitMatrix(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB. Referenced by Lattice(), and cps::AlgInst::run(). |
|
||||||||||||||||||||
|
Definition at line 1027 of file lattice.h. References cps::DAG_YES, and cps::Float. |
|
||||||||||||||||||||||||
|
Initialises the pseudofermion field.
The heatbath initialisation of the pseudofermion field is done by setting
Implemented in cps::Fwilson, cps::FwilsonTm, cps::Fclover, cps::FdwfBase, cps::Fnone, cps::Fstag, cps::Fasqtad, and cps::Fp4. |
|
||||||||||||||||||||||||||||
|
Reimplemented in cps::FwilsonTm. Definition at line 2696 of file lattice_base.C. References cps::ERR, cps::Float, and cps::Error::NotImplemented(). Referenced by cps::AlgActionQuotient::energy(), cps::AlgActionQuotient::evolve(), cps::AlgActionQuotient::heatbath(), cps::AlgActionFermion::heatbath(), cps::AlgActionBoson::heatbath(), cps::AlgActionQuotient::reweight(), cps::AlgHmdR2::run(), cps::AlgHmdR::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Method to ensure bosonic force works (only applies to staggered fermion formulations). Definition at line 2917 of file lattice_base.C. References cps::GDS, cps::GJP, cps::GlobalDataShift::Shift(), and cps::GlobalJobParameter::VolNodeSites(). Referenced by cps::AlgHmcRHMC::run(). |
|
|
Checks that a number is identical on 5th dimension local lattice slices. Checks that a floating point number is identical (using a checksum and the average plaquette) on each slice of the lattice perpendicular to the 5th direction and local in the 5th direction. Obviously this is always the case when the entire 5th direction is local. If any of the node slices fail to match the program exits with an error.
Definition at line 2862 of file lattice_base.C. References cps::ERR, cps::Float, cps::Verbose::Flow(), cps::Verbose::Func(), cps::Error::General(), cps::getMinusData(), cps::GJP, cps::glb_sum_five(), cps::IFloat, cps::GlobalJobParameter::SnodeCoor(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::TnodeCoor(), cps::VRB, cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::YnodeCoor(), and cps::GlobalJobParameter::ZnodeCoor(). Referenced by MetropolisAccept(), cps::AlgHmc::run(), cps::AlgHmcRHMC::run(), cps::AlgHmcQPQ::run(), and cps::AlgHmcPhi::run(). |
|
|
Returns the number of spin components.
Implemented in cps::FwilsonTypes, cps::Fnone, and cps::FstagTypes. Referenced by cps::AlgActionBilinear::AlgActionBilinear(), cps::AlgHmdR2::AlgHmdR2(), and RandGaussVector(). |
|
||||||||||||||||
|
Calculates the gauge field square staple sum around a link.
The staple sum around the link
Definition at line 573 of file lattice_base.C. References cps::CBUF_MODE2, cps::CBUF_MODE4, cps::Matrix::Dagger(), g_dir_offset, GaugeField(), GetLinkOld(), cps::getMinusData(), GsiteOffset(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::mDotMPlus(), cps::moveMem(), node_sites, cps::setCbufCntrlReg(), and cps::vecAddEquVec(). Referenced by cps::Gwilson::GactionGradient(), cps::GtadpoleRect::GactionGradient(), cps::GimprRect::GactionGradient(), cps::Gwilson::GforceSite(), cps::GtadpoleRect::GforceSite(), cps::GimprRect::GforceSite(), cps::AlgOverRelax::run(), and cps::AlgGheatBath::run(). |
|
|
Returns the storage order.
Definition at line 430 of file lattice_base.C. References cps::StrOrdType. Referenced by cps::Fstag::FeigSolv(), cps::FdwfBase::FeigSolv(), cps::Fclover::FeigSolv(), cps::LatticeContainer::Get(), cps::ParTransAsqtad::ParTransAsqtad(), cps::ParTransGauge::ParTransGauge(), cps::ParTransStaggered_cb::ParTransStaggered_cb(), cps::ParTransStagTypes::ParTransStagTypes(), cps::ParTransWilsonTypes::ParTransWilsonTypes(), and cps::LatticeContainer::Set(). |
|
|
Calculates the global sum of the real part of the trace of the cube. The cube loop is
The sum runs over all positive values of
Definition at line 1556 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::glb_sum(), SumReTrCubeNode(), and cps::VRB. |
|
|
Calculates the local sum of the real part of the trace of the cube. The cube loop is
The sum runs over all positive values of
Definition at line 1493 of file lattice_base.C. References cps::dir, cps::Float, cps::Verbose::Func(), node_sites, OPP_DIR, ReTrLoop(), and cps::VRB. Referenced by cps::GimprOLSym::GhamiltonNode(), and SumReTrCube(). |
|
|
Calculates the global sum of the real part of the trace of the plaquette.
At a site x and in the
The sum is over all lattice sites and all six
Definition at line 1256 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::glb_sum(), SumReTrPlaqNode(), and cps::VRB. Referenced by cps::WriteLatticeParallel::write(). |
|
|
Calculates the local sum of the real part of the trace of the plaquette.
At a site x and in the
The sum is over all local lattice sites and all six
Definition at line 1214 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::Verbose::FuncEnd(), node_sites, ReTrPlaq(), cps::sync(), and cps::VRB. Referenced by cps::Gwilson::GhamiltonNode(), cps::GtadpoleRect::GhamiltonNode(), cps::GpowerRect::GhamiltonNode(), cps::GpowerPlaq::GhamiltonNode(), cps::GimprRect::GhamiltonNode(), cps::GimprOLSym::GhamiltonNode(), GsoCheck(), and SumReTrPlaq(). |
|
|
Calculates the global sum of the real part of the trace of the 6-link rectangle.
The rectangle at site x in the
The sum is over all lattice sites and all sixteen
Definition at line 1430 of file lattice_base.C. References cps::Float, cps::Verbose::Func(), cps::glb_sum(), SumReTrRectNode(), and cps::VRB. |
|
|
Calculates the local sum of the real part of the trace of the 6-link rectangle.
The rectangle at site x in the
The sum is over all local lattice sites and all sixteen
Definition at line 1394 of file lattice_base.C. References cps::Float, node_sites, and ReTrRect(). Referenced by cps::GtadpoleRect::GhamiltonNode(), cps::GpowerRect::GhamiltonNode(), cps::GimprRect::GhamiltonNode(), cps::GimprOLSym::GhamiltonNode(), and SumReTrRect(). |
|
|
Definition at line 154 of file lattice.h. Referenced by EnableLinkBuffer(). |
|
|
A pointer!
|
|
|
Another pointer!
|
|
|
|
|
|
Counter for flops in the HMD force calculations.
Definition at line 130 of file lattice_base.C. |
|
|
Offsets to help find the array index of gauge links. Specifically, g_dir_offset[i] is the the internal array index of the first of the four gauge field links at the lattice site where the i th coordinate is 1 and all the rest are 0. The canonical order is assumed, so i = 0, 1, 2 and 3 corresponds to the X , Y, Z and T direections respectively. Definition at line 91 of file lattice_base.C. Referenced by GetLinkOld(), Lattice(), and Staple(). |
|
|
The array of off-node links, accessed by methods in link_buffer.C.
Definition at line 162 of file lattice.h. Referenced by ClearAllBufferedLink(), ClearBufferedLink(), DisableLinkBuffer(), EnableLinkBuffer(), GetBufferedLink(), and Lattice(). |
|
|
The local lattice dimensions. A reimplementation of GlobalJobParameter::XnodeSite(), etc:
Definition at line 90 of file lattice_base.C. Referenced by AveReTrPlaqNodeNoXi(), AveReTrPlaqNodeXi(), AveReTrRectNodeNoXi(), AveReTrRectNodeXi1(), AveReTrRectNodeXi2(), GetLink(), GetLinkOld(), IsOnNode(), Lattice(), PathOrdProd(), Staple(), SumReTrCubeNode(), SumReTrPlaqNode(), and SumReTrRectNode(). |
|
|
Definition at line 119 of file lattice.h. Referenced by EvolveGfield(), GaugeField(), Lattice(), Reunitarize(), and SetGfieldDisOrd(). |
1.3.9.1