CHROMA
|
WilsonCoarseFine gauge action. More...
#include <wilson_coarse_fine_1loop_gaugeact.h>
Public Member Functions | |
WilsonCoarseFine1LoopGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const WilsonCoarseFine1LoopGaugeActParams &p) | |
Read beta from a param struct. 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... | |
~WilsonCoarseFine1LoopGaugeAct () | |
Destructor is automatic. More... | |
const CreateGaugeState< P, Q > & | getCreateState () const |
Produce a gauge create state object. More... | |
![]() | |
virtual | ~LinearGaugeAction () |
Virtual destructor to help with cleanup;. More... | |
![]() | |
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... | |
WilsonCoarseFine1LoopGaugeAct () | |
Partial constructor. More... | |
void | operator= (const WilsonCoarseFine1LoopGaugeAct &a) |
Hide assignment. More... | |
Private Attributes | |
Handle< PlaqGaugeAct > | plaq |
WilsonCoarseFine1LoopGaugeActParams | param |
Additional Inherited Members | |
![]() | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
WilsonCoarseFine gauge action.
Wilson gauge action on a 2+2 lattice. Follows the conventions of hep-lat/0303005 (TrinLat)
Definition at line 56 of file wilson_coarse_fine_1loop_gaugeact.h.
Chroma::WilsonCoarseFine1LoopGaugeAct::WilsonCoarseFine1LoopGaugeAct | ( | Handle< CreateGaugeState< P, Q > > | cgs_, |
const WilsonCoarseFine1LoopGaugeActParams & | p | ||
) |
Read beta from a param struct.
Definition at line 91 of file wilson_coarse_fine_1loop_gaugeact.cc.
References init().
|
inline |
Destructor is automatic.
Definition at line 90 of file wilson_coarse_fine_1loop_gaugeact.h.
|
inlineprotected |
Partial constructor.
Definition at line 100 of file wilson_coarse_fine_1loop_gaugeact.h.
|
inlinevirtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 77 of file wilson_coarse_fine_1loop_gaugeact.h.
References plaq, and Chroma::state.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 93 of file wilson_coarse_fine_1loop_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 65 of file wilson_coarse_fine_1loop_gaugeact.h.
|
protected |
Private initializer.
Definition at line 101 of file wilson_coarse_fine_1loop_gaugeact.cc.
References Chroma::WilsonCoarseFine1LoopGaugeActParams::beta, Chroma::WilsonCoarseFine1LoopGaugeActParams::coarse_dirs, Chroma::WilsonCoarseFine1LoopGaugeActParams::coeff_cc, Chroma::WilsonCoarseFine1LoopGaugeActParams::coeff_ff, Chroma::PlaqGaugeActParams::coeffs, Chroma::END_CODE(), Chroma::i, mu, Chroma::WilsonCoarseFine1LoopGaugeActEnv::name, Nd, nu, param, plaq, Chroma::START_CODE(), Chroma::WilsonCoarseFine1LoopGaugeActParams::xi, and Chroma::zero.
Referenced by WilsonCoarseFine1LoopGaugeAct().
|
inlineprotected |
Hide assignment.
Definition at line 102 of file wilson_coarse_fine_1loop_gaugeact.h.
|
inlinevirtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 84 of file wilson_coarse_fine_1loop_gaugeact.h.
References plaq, and Chroma::state.
|
inlinevirtual |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 69 of file wilson_coarse_fine_1loop_gaugeact.h.
References Chroma::cb, mu, plaq, and Chroma::state.
|
private |
parameters
Definition at line 106 of file wilson_coarse_fine_1loop_gaugeact.h.
Referenced by init().
|
private |
Hold a plaquette gaugeact
Definition at line 105 of file wilson_coarse_fine_1loop_gaugeact.h.
Referenced by deriv(), getCreateState(), init(), S(), and staple().