11 #ifndef __plaq_plus_plaq_power_gaugeact_h__
12 #define __plaq_plus_plaq_power_gaugeact_h__
21 namespace PlaqPlusPlaqPowerGaugeActEnv
50 typedef multi1d<LatticeColorMatrix>
P;
51 typedef multi1d<LatticeColorMatrix>
Q;
60 const Set&
getSet()
const {
return rb;}
64 void staple(LatticeColorMatrix& result,
66 int mu,
int cb)
const;
69 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.
PlaqPlusPlaqPower gauge action.
Handle< CreateGaugeState< P, Q > > cgs
void derivPlaqFun(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
multi1d< LatticeColorMatrix > Q
~GaugeAct()
Destructor is automatic.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
void derivPlaqTwo(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
void operator=(const GaugeAct &a)
Hide assignment.
GaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Params &p)
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
void siteAction(multi2d< LatticeComplex > &site_act, const Handle< GaugeState< P, Q > > &state) const
Compute the site-level action.
multi1d< LatticeColorMatrix > P
const Set & getSet() const
Return the set on which the gauge action is defined.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
Class structure for gauge actions.
Gauge boundary conditions.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
Params()
Base Constructor.