CHROMA
|
Plaquette gauge action. More...
#include <plaq_plus_spatial_two_plaq_gaugeact.h>
Public Member Functions | |
PlaqPlusSpatialTwoPlaqGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff_plaq_s_, const Real &coeff_plaq_t_, const Real &coeff_two_plaq_, const AnisoParam_t &aniso) | |
General CreateGaugeState<P,Q> More... | |
PlaqPlusSpatialTwoPlaqGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const PlaqPlusSpatialTwoPlaqGaugeActParams &p) | |
Read coeff 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... | |
const CreateGaugeState< P, Q > & | getCreateState () const |
Produce a gauge create state object. More... | |
Double | S (const Handle< GaugeState< P, Q > > &state) const |
Compute the actions. More... | |
~PlaqPlusSpatialTwoPlaqGaugeAct () | |
Destructor is automatic. More... | |
const Real | getCoeffPlaqS (void) const |
const Real | getCoeffPlaqT (void) const |
const Real | getCoeffTwoPlaq (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 | |
PlaqPlusSpatialTwoPlaqGaugeAct () | |
void | operator= (const PlaqPlusSpatialTwoPlaqGaugeAct &a) |
void | init () |
Hide assignment. More... | |
Private Attributes | |
Handle< CreateGaugeState< P, Q > > | cgs |
PlaqPlusSpatialTwoPlaqGaugeActParams | param |
Additional Inherited Members | |
Public Types inherited from Chroma::LinearGaugeAction | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Plaquette gauge action.
The standard Plaquette gauge action
Definition at line 51 of file plaq_plus_spatial_two_plaq_gaugeact.h.
|
inline |
General CreateGaugeState<P,Q>
Definition at line 55 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::aniso, Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_s, Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_t, Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_two_plaq, init(), and param.
|
inline |
Read coeff from a param struct.
Definition at line 69 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References init().
|
inline |
Destructor is automatic.
Definition at line 102 of file plaq_plus_spatial_two_plaq_gaugeact.h.
|
inlineprotected |
Definition at line 110 of file plaq_plus_spatial_two_plaq_gaugeact.h.
|
inline |
Anisotropy factor.
Definition at line 77 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::aniso, param, and Chroma::AnisoParam_t::xi_0.
|
inline |
Is anisotropy used?
Definition at line 74 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::aniso, Chroma::AnisoParam_t::anisoP, and param.
Referenced by init().
|
virtual |
Compute dS/dU.
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Referenced by main().
|
inline |
Definition at line 105 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_s, and param.
|
inline |
Definition at line 106 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_t, and param.
|
inline |
Definition at line 107 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_two_plaq, and param.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 96 of file plaq_plus_spatial_two_plaq_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 84 of file plaq_plus_spatial_two_plaq_gaugeact.h.
|
protected |
Hide assignment.
Internal initializer
Definition at line 79 of file plaq_plus_spatial_two_plaq_gaugeact.cc.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::aniso, anisoP(), Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_s, Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_plaq_t, Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::coeff_two_plaq, Chroma::END_CODE(), param, Chroma::START_CODE(), Chroma::AnisoParam_t::t_dir, and Chroma::AnisoParam_t::xi_0.
Referenced by PlaqPlusSpatialTwoPlaqGaugeAct().
|
inlineprotected |
Definition at line 111 of file plaq_plus_spatial_two_plaq_gaugeact.h.
|
virtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Referenced by main().
|
virtual |
Compute staple.
u_mu_staple | result ( Write ) |
state | gauge field ( Read ) |
mu | direction for staple ( Read ) |
cb | subset on which to compute ( Read ) |
Implements Chroma::LinearGaugeAction.
Definition at line 106 of file plaq_plus_spatial_two_plaq_gaugeact.cc.
|
inline |
Anisotropic direction.
Definition at line 80 of file plaq_plus_spatial_two_plaq_gaugeact.h.
References Chroma::PlaqPlusSpatialTwoPlaqGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.
|
private |
Definition at line 117 of file plaq_plus_spatial_two_plaq_gaugeact.h.
Referenced by getCreateState().
|
private |
Definition at line 118 of file plaq_plus_spatial_two_plaq_gaugeact.h.
Referenced by anisoFactor(), anisoP(), getCoeffPlaqS(), getCoeffPlaqT(), getCoeffTwoPlaq(), init(), PlaqPlusSpatialTwoPlaqGaugeAct(), and tDir().