6 #ifndef __pg_gaugeact_h__
7 #define __pg_gaugeact_h__
16 namespace PgGaugeActEnv
68 const Set&
getSet()
const {
return rb;}
72 void staple(LatticeColorMatrix& result,
74 int mu,
int cb)
const;
77 void deriv(multi1d<LatticeColorMatrix>& result,
Create a gauge connection state.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
Base class for gauge actions with links appearing linearly in the action.
Parallelogram gauge action.
PgGaugeAct()
Partial constructor.
~PgGaugeAct()
Destructor is automatic.
int tDir() const
Anisotropic direction.
PgGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const PgGaugeActParams &p)
Read coeff from a param struct.
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
const Real getCoeff(void) const
bool anisoP() const
Is anisotropy used?
const Set & getSet() const
Return the set on which the gauge action is defined.
void operator=(const PgGaugeAct &a)
Hide assignment.
Handle< CreateGaugeState< P, Q > > cgs
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
const Real anisoFactor() const
Anisotropy factor.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
PgGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff_)
General CreateGaugeState.
Class structure for gauge actions.
Gauge boundary conditions.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double