CHROMA
|
LWTree gauge action. More...
#include <lw_tree_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 | |
LWTreeGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const LWTreeGaugeActParams &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... | |
~LWTreeGaugeAct () | |
Destructor is automatic. More... | |
const Real | getBeta (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 LWTreeGaugeAct &a) |
Hide assignment. More... | |
Private Attributes | |
Handle< PlaqGaugeAct > | plaq |
Handle< RectGaugeAct > | rect |
LWTreeGaugeActParams | param |
LWTree gauge action.
The standard LWTree gauge action
Definition at line 48 of file lw_tree_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::P |
Definition at line 52 of file lw_tree_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::Q |
Definition at line 53 of file lw_tree_gaugeact.h.
|
inline |
|
inline |
Destructor is automatic.
Definition at line 107 of file lw_tree_gaugeact.h.
|
inline |
Anisotropy factor.
Definition at line 64 of file lw_tree_gaugeact.h.
|
inline |
Is anisotropy used?
Definition at line 61 of file lw_tree_gaugeact.h.
|
inlinevirtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 87 of file lw_tree_gaugeact.h.
References plaq, rect, Chroma::state, and Chroma::tmp.
|
inline |
Definition at line 110 of file lw_tree_gaugeact.h.
References Chroma::LWTreeGaugeActParams::beta, and param.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 104 of file lw_tree_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 71 of file lw_tree_gaugeact.h.
|
protected |
Private initializer.
Definition at line 67 of file lw_tree_gaugeact.cc.
References Chroma::LWTreeGaugeActParams::aniso, Chroma::LWTreeGaugeActParams::beta, Chroma::END_CODE(), param, plaq, rect, Chroma::START_CODE(), and Chroma::LWTreeGaugeActParams::u0.
Referenced by LWTreeGaugeAct().
|
inlineprotected |
Hide assignment.
Definition at line 117 of file lw_tree_gaugeact.h.
|
inlinevirtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 98 of file lw_tree_gaugeact.h.
References plaq, rect, and Chroma::state.
|
inlinevirtual |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 75 of file lw_tree_gaugeact.h.
References Chroma::cb, mu, plaq, rect, Chroma::state, and Chroma::tmp.
|
inline |
Anisotropic direction.
Definition at line 67 of file lw_tree_gaugeact.h.
References Chroma::LWTreeGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.
|
private |
The coupling Beta
Definition at line 122 of file lw_tree_gaugeact.h.
|
private |
Hold a plaquette gaugeact
Definition at line 120 of file lw_tree_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().
|
private |