6 #ifndef __plaq_plus_two_plaq_gaugeact_h__
7 #define __plaq_plus_two_plaq_gaugeact_h__
16 namespace PlaqPlusTwoPlaqGaugeActEnv
44 typedef multi1d<LatticeColorMatrix>
P;
45 typedef multi1d<LatticeColorMatrix>
Q;
54 const Set&
getSet()
const {
return rb;}
58 void staple(LatticeColorMatrix& result,
60 int mu,
int cb)
const;
63 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.
PlaqPlusTwoPlaquette gauge action.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
GaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Params &p)
void derivPlaqTwo(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
multi1d< LatticeColorMatrix > Q
const Set & getSet() const
Return the set on which the gauge action is defined.
void operator=(const GaugeAct &a)
Hide assignment.
void siteAction(multi2d< LatticeReal > &site_act, const Handle< GaugeState< P, Q > > &state) const
Compute the site-level action.
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.
multi1d< LatticeColorMatrix > P
~GaugeAct()
Destructor is automatic.
void derivPlaqFun(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
Handle< CreateGaugeState< P, Q > > cgs
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
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.