CHROMA
|
PlaqPlusAdjointuette gauge action. More...
#include <sf_plaq_plus_adjoint_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 | |
GaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Params &p) | |
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... | |
~GaugeAct () | |
Destructor is automatic. 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 | operator= (const GaugeAct &a) |
Hide assignment. More... | |
void | siteAction (multi2d< LatticeComplex > &site_act, const Handle< GaugeState< P, Q > > &state) const |
Compute the site-level action. More... | |
void | derivPlaqFun (multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const |
Compute dS/dU. More... | |
void | derivPlaqAdj (multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const |
Compute dS/dU. More... | |
Private Attributes | |
Handle< CreateGaugeState< P, Q > > | cgs |
Params | param |
multi2d< LatticeReal > | plaq_weight |
PlaqPlusAdjointuette gauge action.
The standard PlaqPlusAdjointuette gauge action
Definition at line 41 of file sf_plaq_plus_adjoint_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::SFPlaqPlusAdjointGaugeActEnv::GaugeAct::P |
Definition at line 45 of file sf_plaq_plus_adjoint_gaugeact.h.
typedef multi1d<LatticeColorMatrix> Chroma::SFPlaqPlusAdjointGaugeActEnv::GaugeAct::Q |
Definition at line 46 of file sf_plaq_plus_adjoint_gaugeact.h.
Chroma::SFPlaqPlusAdjointGaugeActEnv::GaugeAct::GaugeAct | ( | Handle< CreateGaugeState< P, Q > > | cgs_, |
const Params & | p | ||
) |
General CreateGaugeState<P,Q> Read coeff from a param struct
Definition at line 65 of file sf_plaq_plus_adjoint_gaugeact.cc.
References Chroma::SFPlaqPlusAdjointGaugeActEnv::Params::decay_dir, mu, Nd, nu, param, and plaq_weight.
|
inline |
Destructor is automatic.
Definition at line 73 of file sf_plaq_plus_adjoint_gaugeact.h.
|
virtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 188 of file sf_plaq_plus_adjoint_gaugeact.cc.
References BACKWARD, Chroma::SFPlaqPlusAdjointGaugeActEnv::Params::beta_A, Chroma::SFPlaqPlusAdjointGaugeActEnv::Params::beta_F, Chroma::END_CODE(), FORWARD, Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >::getGaugeBC(), mu, Nd, nu, param, plaq_weight, Chroma::START_CODE(), Chroma::state, tmp_1, tmp_2, Chroma::u, Chroma::zero, and Chroma::GaugeBC< P, Q >::zero().
|
protected |
Compute dS/dU.
|
protected |
Compute dS/dU.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 70 of file sf_plaq_plus_adjoint_gaugeact.h.
References cgs.
|
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 54 of file sf_plaq_plus_adjoint_gaugeact.h.
|
inlineprotected |
Hide assignment.
Definition at line 77 of file sf_plaq_plus_adjoint_gaugeact.h.
|
virtual |
Compute the actions.
Compute the action.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 102 of file sf_plaq_plus_adjoint_gaugeact.cc.
References Chroma::SFPlaqPlusAdjointGaugeActEnv::Params::beta_A, Chroma::SFPlaqPlusAdjointGaugeActEnv::Params::beta_F, mu, Nd, nu, param, plaq_weight, siteAction(), Chroma::state, sum, and Chroma::zero.
|
protected |
Compute the site-level action.
Definition at line 144 of file sf_plaq_plus_adjoint_gaugeact.cc.
References Chroma::END_CODE(), FORWARD, mu, Nd, nu, Chroma::START_CODE(), Chroma::state, Chroma::u, and Chroma::zero.
Referenced by S().
|
virtual |
Compute staple.
Default version. Derived class should override this if needed.
Implements Chroma::LinearGaugeAction.
Definition at line 178 of file sf_plaq_plus_adjoint_gaugeact.cc.
|
private |
Create Gauge State
Definition at line 91 of file sf_plaq_plus_adjoint_gaugeact.h.
Referenced by getCreateState().
|
private |
The parameters
Definition at line 92 of file sf_plaq_plus_adjoint_gaugeact.h.
Referenced by deriv(), GaugeAct(), and S().
|
private |
Definition at line 93 of file sf_plaq_plus_adjoint_gaugeact.h.
Referenced by deriv(), GaugeAct(), and S().