#include <rbc_gaugeact.h>
Inheritance diagram for Chroma::RBCGaugeAct:

Public Member Functions | |
| RBCGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta_, const Real &c1_) | |
| General CreateGaugeState<P,Q>. | |
| RBCGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const RBCGaugeActParams &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. | |
| ~RBCGaugeAct () | |
| Destructor is automatic. | |
| const Real | getBeta (void) const |
Protected Member Functions | |
| void | init (Handle< CreateGaugeState< P, Q > > cgs) |
| Private initializer. | |
| RBCGaugeAct () | |
| Partial constructor. | |
| void | operator= (const RBCGaugeAct &a) |
| Hide assignment. | |
Private Attributes | |
| Real | beta |
| Real | c1 |
| Handle< PlaqGaugeAct > | plaq |
| Handle< RectGaugeAct > | rect |
A RG (plaquette + rectangle) gauge action following RBC conventions
S = -(beta/Nc)*[(1-8*c_1)*Plaq + c_1 * Rect]
Definition at line 50 of file rbc_gaugeact.h.
| Chroma::RBCGaugeAct::RBCGaugeAct | ( | Handle< CreateGaugeState< P, Q > > | cgs_, | |
| const Real & | beta_, | |||
| const Real & | c1_ | |||
| ) | [inline] |
| Chroma::RBCGaugeAct::RBCGaugeAct | ( | Handle< CreateGaugeState< P, Q > > | cgs_, | |
| const RBCGaugeActParams & | p | |||
| ) | [inline] |
| Chroma::RBCGaugeAct::~RBCGaugeAct | ( | ) | [inline] |
| Chroma::RBCGaugeAct::RBCGaugeAct | ( | ) | [inline, protected] |
| const Real Chroma::RBCGaugeAct::anisoFactor | ( | ) | const [inline] |
| bool Chroma::RBCGaugeAct::anisoP | ( | ) | const [inline] |
| void Chroma::RBCGaugeAct::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 90 of file rbc_gaugeact.h.
References plaq, rect, and Chroma::state.
| const Real Chroma::RBCGaugeAct::getBeta | ( | void | ) | const [inline] |
| const CreateGaugeState<P,Q>& Chroma::RBCGaugeAct::getCreateState | ( | ) | const [inline, virtual] |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 107 of file rbc_gaugeact.h.
References plaq.
| const Set& Chroma::RBCGaugeAct::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 74 of file rbc_gaugeact.h.
| void Chroma::RBCGaugeAct::init | ( | Handle< CreateGaugeState< P, Q > > | cgs | ) | [protected] |
Private initializer.
Definition at line 63 of file rbc_gaugeact.cc.
References beta, c1, END_CODE, plaq, rect, and START_CODE.
Referenced by RBCGaugeAct().
| void Chroma::RBCGaugeAct::operator= | ( | const RBCGaugeAct & | a | ) | [inline, protected] |
| Double Chroma::RBCGaugeAct::S | ( | const Handle< GaugeState< P, Q > > & | state | ) | const [inline, virtual] |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 101 of file rbc_gaugeact.h.
References plaq, rect, and Chroma::state.
| void Chroma::RBCGaugeAct::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 78 of file rbc_gaugeact.h.
References plaq, rect, and Chroma::state.
| int Chroma::RBCGaugeAct::tDir | ( | ) | const [inline] |
Real Chroma::RBCGaugeAct::beta [private] |
Real Chroma::RBCGaugeAct::c1 [private] |
Handle<PlaqGaugeAct> Chroma::RBCGaugeAct::plaq [private] |
Definition at line 127 of file rbc_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().
Handle<RectGaugeAct> Chroma::RBCGaugeAct::rect [private] |
1.4.7