#include <lw_tree_gaugeact.h>
Inheritance diagram for Chroma::LWTreeGaugeAct:

Public Types | |
| 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. | |
| bool | anisoP () const |
| Is anisotropy used? | |
| const Real | anisoFactor () const |
| Anisotropy factor. | |
| int | tDir () const |
| Anisotropic direction. | |
| const Set & | getSet () const |
| Return the set on which the gauge action is defined. | |
| void | staple (LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const |
| Compute staple. | |
| void | deriv (multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const |
| Compute dS/dU. | |
| Double | S (const Handle< GaugeState< P, Q > > &state) const |
| Compute the actions. | |
| const CreateGaugeState< P, Q > & | getCreateState () const |
| Produce a gauge create state object. | |
| ~LWTreeGaugeAct () | |
| Destructor is automatic. | |
| const Real | getBeta (void) const |
Protected Member Functions | |
| void | init (Handle< CreateGaugeState< P, Q > > cgs) |
| Private initializer. | |
| void | operator= (const LWTreeGaugeAct &a) |
| Hide assignment. | |
Private Attributes | |
| Handle< PlaqGaugeAct > | plaq |
| Handle< RectGaugeAct > | rect |
| LWTreeGaugeActParams | param |
The standard LWTree gauge action
Definition at line 49 of file lw_tree_gaugeact.h.
| typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::P |
| typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::Q |
| Chroma::LWTreeGaugeAct::LWTreeGaugeAct | ( | Handle< CreateGaugeState< P, Q > > | cgs_, | |
| const LWTreeGaugeActParams & | p | |||
| ) | [inline] |
| Chroma::LWTreeGaugeAct::~LWTreeGaugeAct | ( | ) | [inline] |
| const Real Chroma::LWTreeGaugeAct::anisoFactor | ( | ) | const [inline] |
| bool Chroma::LWTreeGaugeAct::anisoP | ( | ) | const [inline] |
| void Chroma::LWTreeGaugeAct::deriv | ( | multi1d< LatticeColorMatrix > & | result, | |
| const Handle< GaugeState< P, Q > > & | state | |||
| ) | const [inline, virtual] |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 88 of file lw_tree_gaugeact.h.
References plaq, rect, and Chroma::state.
| const Real Chroma::LWTreeGaugeAct::getBeta | ( | void | ) | const [inline] |
Definition at line 111 of file lw_tree_gaugeact.h.
References Chroma::LWTreeGaugeActParams::beta, and param.
| const CreateGaugeState<P,Q>& Chroma::LWTreeGaugeAct::getCreateState | ( | ) | const [inline, virtual] |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 105 of file lw_tree_gaugeact.h.
References plaq.
| const Set& Chroma::LWTreeGaugeAct::getSet | ( | void | ) | const [inline, virtual] |
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 72 of file lw_tree_gaugeact.h.
| void Chroma::LWTreeGaugeAct::init | ( | Handle< CreateGaugeState< P, Q > > | cgs | ) | [protected] |
Private initializer.
Definition at line 68 of file lw_tree_gaugeact.cc.
References Chroma::LWTreeGaugeActParams::aniso, Chroma::LWTreeGaugeActParams::beta, END_CODE, param, plaq, rect, START_CODE, and Chroma::LWTreeGaugeActParams::u0.
Referenced by LWTreeGaugeAct().
| void Chroma::LWTreeGaugeAct::operator= | ( | const LWTreeGaugeAct & | a | ) | [inline, protected] |
| Double Chroma::LWTreeGaugeAct::S | ( | const Handle< GaugeState< P, Q > > & | state | ) | const [inline, virtual] |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 99 of file lw_tree_gaugeact.h.
References plaq, rect, and Chroma::state.
| void Chroma::LWTreeGaugeAct::staple | ( | LatticeColorMatrix & | result, | |
| const Handle< GaugeState< P, Q > > & | state, | |||
| int | mu, | |||
| int | cb | |||
| ) | const [inline, virtual] |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 76 of file lw_tree_gaugeact.h.
References plaq, rect, and Chroma::state.
| int Chroma::LWTreeGaugeAct::tDir | ( | ) | const [inline] |
Anisotropic direction.
Definition at line 68 of file lw_tree_gaugeact.h.
References Chroma::LWTreeGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.
The coupling Beta
Definition at line 123 of file lw_tree_gaugeact.h.
Handle<PlaqGaugeAct> Chroma::LWTreeGaugeAct::plaq [private] |
Hold a plaquette gaugeact
Definition at line 121 of file lw_tree_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().
Handle<RectGaugeAct> Chroma::LWTreeGaugeAct::rect [private] |
1.4.7