6 #ifndef __sf_plaq_plus_two_plaq_gaugeact_h__
7 #define __sf_plaq_plus_two_plaq_gaugeact_h__
16 namespace SFPlaqPlusTwoPlaqGaugeActEnv
45 typedef multi1d<LatticeColorMatrix>
P;
46 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.
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.
multi1d< LatticeColorMatrix > P
multi2d< LatticeReal > plaq_weight
const Set & getSet() const
Return the set on which the gauge action is defined.
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
multi1d< LatticeColorMatrix > Q
void derivPlaqFun(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
~GaugeAct()
Destructor is automatic.
Handle< CreateGaugeState< P, Q > > cgs
void operator=(const GaugeAct &a)
Hide assignment.
GaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Params &p)
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.
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.