CHROMA
|
Parallelogram gauge action. More...
#include <pg_gaugeact.h>
Public Member Functions | |
PgGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff_) | |
General CreateGaugeState. More... | |
PgGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const PgGaugeActParams &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... | |
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... | |
~PgGaugeAct () | |
Destructor is automatic. More... | |
const Real | getCoeff (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 | |
PgGaugeAct () | |
Partial constructor. More... | |
void | operator= (const PgGaugeAct &a) |
Hide assignment. More... | |
Private Attributes | |
Handle< CreateGaugeState< P, Q > > | cgs |
Real | coeff |
Additional Inherited Members | |
Public Types inherited from Chroma::LinearGaugeAction | |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Parallelogram gauge action.
The standard parallelogram gauge action
Definition at line 44 of file pg_gaugeact.h.
|
inline |
General CreateGaugeState.
Definition at line 48 of file pg_gaugeact.h.
|
inline |
Read coeff from a param struct.
Definition at line 53 of file pg_gaugeact.h.
|
inline |
Destructor is automatic.
Definition at line 87 of file pg_gaugeact.h.
|
inlineprotected |
Partial constructor.
Definition at line 94 of file pg_gaugeact.h.
|
inline |
Anisotropy factor.
Definition at line 61 of file pg_gaugeact.h.
|
inline |
Is anisotropy used?
Definition at line 58 of file pg_gaugeact.h.
|
virtual |
Compute dS/dU.
Computes the derivative of the fermionic action respect to the link field.
| dS
ds_u – | -— ( Write ) | dU
ds_u | result ( Write ) |
state | gauge field ( Read ) |
Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 92 of file pg_gaugeact.cc.
References BACKWARD, Chroma::cb, coeff, Chroma::END_CODE(), Chroma::eta, FORWARD, Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >::getGaugeBC(), j, Chroma::k, mu, Nd, nu, Chroma::START_CODE(), Chroma::state, tmp_1, tmp_2, tmp_3, tmp_tot, Chroma::u, Chroma::zero, and Chroma::GaugeBC< P, Q >::zero().
|
inline |
Definition at line 90 of file pg_gaugeact.h.
References coeff.
|
inlinevirtual |
Produce a gauge create state object.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 84 of file pg_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 68 of file pg_gaugeact.h.
|
inlineprotected |
Hide assignment.
Definition at line 96 of file pg_gaugeact.h.
|
virtual |
Compute the actions.
Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 240 of file pg_gaugeact.cc.
References BACKWARD, Chroma::cb, coeff, Chroma::END_CODE(), FORWARD, mu, Nd, nu, Chroma::START_CODE(), Chroma::state, sum, tmp_1, tmp_2, Chroma::u, and Chroma::zero.
|
virtual |
Compute staple.
Default version. Derived class should override this if needed.
u_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 72 of file pg_gaugeact.cc.
|
inline |
|
private |
Definition at line 99 of file pg_gaugeact.h.
Referenced by getCreateState().
|
private |
Definition at line 100 of file pg_gaugeact.h.
Referenced by deriv(), getCoeff(), and S().