CHROMA
|
Wilson gauge action. More...
#include <temporal_wilson_gaugeact.h>
Public Member Functions | |
TemporalWilsonGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta) | |
General CreateGaugeState<P,Q> More... | |
TemporalWilsonGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta, const AnisoParam_t &aniso) | |
General CreateGaugeState<P,Q> More... | |
TemporalWilsonGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const WilsonGaugeActParams &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... | |
~TemporalWilsonGaugeAct () | |
Destructor is automatic. More... | |
const Real | getBeta (void) const |
const CreateGaugeState< P, Q > & | getCreateState () const |
Produce a gauge create state object. More... | |
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... | |
TemporalWilsonGaugeAct () | |
Partial constructor. More... | |
void | operator= (const TemporalWilsonGaugeAct &a) |
Hide assignment. More... | |
Private Attributes | |
Handle< PlaqGaugeAct > | plaq |
WilsonGaugeActParams | param |
Additional Inherited Members | |
Public Types inherited from Chroma::LinearGaugeAction | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Wilson gauge action.
The standard Wilson gauge action
Definition at line 32 of file temporal_wilson_gaugeact.h.
|
inline |
General CreateGaugeState<P,Q>
Definition at line 36 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::beta, Chroma::StagPhases::beta(), init(), and param.
|
inline |
General CreateGaugeState<P,Q>
Definition at line 41 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, Chroma::WilsonGaugeActParams::beta, Chroma::StagPhases::beta(), init(), and param.
|
inline |
Read beta from a param struct.
Definition at line 47 of file temporal_wilson_gaugeact.h.
References init().
|
inline |
Destructor is automatic.
Definition at line 87 of file temporal_wilson_gaugeact.h.
|
inlineprotected |
Partial constructor.
Definition at line 100 of file temporal_wilson_gaugeact.h.
|
inline |
Anisotropy factor.
Definition at line 55 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, param, and Chroma::AnisoParam_t::xi_0.
|
inline |
Is anisotropy used?
Definition at line 52 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, Chroma::AnisoParam_t::anisoP, and param.
|
inlinevirtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 74 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, param, plaq, Chroma::state, and Chroma::AnisoParam_t::t_dir.
|
inline |
Definition at line 90 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::beta, and param.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 93 of file temporal_wilson_gaugeact.h.
References plaq.
|
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 62 of file temporal_wilson_gaugeact.h.
|
protected |
Private initializer.
Definition at line 44 of file temporal_wilson_gaugeact.cc.
References Chroma::WilsonGaugeActParams::aniso, Chroma::WilsonGaugeActParams::beta, Chroma::END_CODE(), param, plaq, and Chroma::START_CODE().
Referenced by TemporalWilsonGaugeAct().
|
inlineprotected |
Hide assignment.
Definition at line 102 of file temporal_wilson_gaugeact.h.
|
inlinevirtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 81 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, param, plaq, Chroma::state, and Chroma::AnisoParam_t::t_dir.
|
inlinevirtual |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 66 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, Chroma::cb, mu, param, plaq, Chroma::state, and Chroma::AnisoParam_t::t_dir.
|
inline |
Anisotropic direction.
Definition at line 58 of file temporal_wilson_gaugeact.h.
References Chroma::WilsonGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.
|
private |
Definition at line 106 of file temporal_wilson_gaugeact.h.
Referenced by anisoFactor(), anisoP(), deriv(), getBeta(), init(), S(), staple(), tDir(), and TemporalWilsonGaugeAct().
|
private |
Definition at line 105 of file temporal_wilson_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().