CHROMA
|
MP gauge action. More...
#include <aniso_spectrum_gaugeact.h>
Public Types | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Types inherited from Chroma::LinearGaugeAction | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
AnisoSpectrumGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const AnisoSpectrumGaugeActParams &p) | |
Read beta from a param struct. More... | |
bool | anisoP () const |
Is anisotropy used? More... | |
const Real | anisoFactor () const |
Anisotropy factor. More... | |
int | tDir () const |
Anisotropic direction. More... | |
const Set & | getSet () const |
Return the set on which the gauge action is defined. More... | |
void | staple (LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const |
Compute staple. More... | |
void | deriv (multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const |
Compute dS/dU. More... | |
Double | S (const Handle< GaugeState< P, Q > > &state) const |
Compute the actions. More... | |
const CreateGaugeState< P, Q > & | getCreateState () const |
Produce a gauge create state object. More... | |
~AnisoSpectrumGaugeAct () | |
Destructor is automatic. More... | |
const Real | getBeta (void) const |
const Real | getUS (void) const |
const Real | getUT (void) const |
const Real | getOmega (void) const |
Public Member Functions inherited from Chroma::LinearGaugeAction | |
virtual | ~LinearGaugeAction () |
Virtual destructor to help with cleanup;. More... | |
Public Member Functions inherited from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~GaugeAction () |
Virtual destructor to help with cleanup;. More... | |
virtual GaugeState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * | createState (const multi1d< LatticeColorMatrix > &q) const |
Given links, create the state. More... | |
virtual const GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | getGaugeBC () const |
Return the gauge BC object for this action. More... | |
Protected Member Functions | |
void | init (Handle< CreateGaugeState< P, Q > > cgs) |
Private initializer. More... | |
void | operator= (const AnisoSpectrumGaugeAct &a) |
Hide assignment. More... | |
Private Attributes | |
AnisoSpectrumGaugeActParams | param |
Handle< RectGaugeAct > | rect |
Handle< PlaqPlusSpatialTwoPlaqGaugeAct > | plaq_plus_two_plaq |
MP gauge action.
Anisotropic gaugeact useful for spectrum from hep-lat/9911003
Tree-level LW with tapole improvement, missing 1x2 in time, also including 2-plaq term. Taken from Morningstar-Peardon, hep-lat/9911003
Definition at line 62 of file aniso_spectrum_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::AnisoSpectrumGaugeAct::P |
Definition at line 66 of file aniso_spectrum_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::AnisoSpectrumGaugeAct::Q |
Definition at line 67 of file aniso_spectrum_gaugeact.h.
|
inline |
Read beta from a param struct.
Definition at line 70 of file aniso_spectrum_gaugeact.h.
References init().
|
inline |
Destructor is automatic.
Definition at line 127 of file aniso_spectrum_gaugeact.h.
|
inline |
Anisotropy factor.
Definition at line 78 of file aniso_spectrum_gaugeact.h.
References Chroma::AnisoSpectrumGaugeActParams::aniso, param, and Chroma::AnisoParam_t::xi_0.
|
inline |
Is anisotropy used?
Definition at line 75 of file aniso_spectrum_gaugeact.h.
References Chroma::AnisoSpectrumGaugeActParams::aniso, Chroma::AnisoParam_t::anisoP, and param.
|
inlinevirtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 101 of file aniso_spectrum_gaugeact.h.
References plaq_plus_two_plaq, rect, Chroma::state, and Chroma::tmp.
Referenced by main().
|
inline |
Definition at line 130 of file aniso_spectrum_gaugeact.h.
References Chroma::AnisoSpectrumGaugeActParams::beta, and param.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 124 of file aniso_spectrum_gaugeact.h.
References plaq_plus_two_plaq.
|
inline |
Definition at line 136 of file aniso_spectrum_gaugeact.h.
References Chroma::AnisoSpectrumGaugeActParams::omega, and param.
|
inlinevirtual |
Return the set on which the gauge action is defined.
Defined on the even-off (red/black) set
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 85 of file aniso_spectrum_gaugeact.h.
|
inline |
Definition at line 132 of file aniso_spectrum_gaugeact.h.
References param, and Chroma::AnisoSpectrumGaugeActParams::u_s.
|
inline |
Definition at line 134 of file aniso_spectrum_gaugeact.h.
References param, and Chroma::AnisoSpectrumGaugeActParams::u_t.
|
protected |
Private initializer.
Definition at line 87 of file aniso_spectrum_gaugeact.cc.
References Chroma::AnisoSpectrumGaugeActParams::aniso, Chroma::AnisoSpectrumGaugeActParams::beta, Chroma::END_CODE(), Chroma::AnisoSpectrumGaugeActParams::omega, param, plaq_plus_two_plaq, rect, Chroma::START_CODE(), Chroma::AnisoSpectrumGaugeActParams::u_s, and Chroma::AnisoSpectrumGaugeActParams::u_t.
Referenced by AnisoSpectrumGaugeAct().
|
inlineprotected |
Hide assignment.
Definition at line 144 of file aniso_spectrum_gaugeact.h.
|
inlinevirtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 116 of file aniso_spectrum_gaugeact.h.
References plaq_plus_two_plaq, rect, and Chroma::state.
Referenced by main().
|
inlinevirtual |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 89 of file aniso_spectrum_gaugeact.h.
References Chroma::cb, mu, plaq_plus_two_plaq, rect, Chroma::state, and Chroma::tmp.
|
inline |
Anisotropic direction.
Definition at line 81 of file aniso_spectrum_gaugeact.h.
References Chroma::AnisoSpectrumGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.
|
private |
The couplings and anisotropy
Definition at line 147 of file aniso_spectrum_gaugeact.h.
Referenced by anisoFactor(), anisoP(), getBeta(), getOmega(), getUS(), getUT(), init(), and tDir().
|
private |
Hold spatial plaquettes separated in time type gaugeact
Definition at line 150 of file aniso_spectrum_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().
|
private |