6 #ifndef __sf_plaq_plus_adjoint_gaugeact_h__
7 #define __sf_plaq_plus_adjoint_gaugeact_h__
16 namespace SFPlaqPlusAdjointGaugeActEnv
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.
PlaqPlusAdjointuette gauge action.
const Set & getSet() const
Return the set on which the gauge action is defined.
~GaugeAct()
Destructor is automatic.
void operator=(const GaugeAct &a)
Hide assignment.
multi1d< LatticeColorMatrix > Q
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
void siteAction(multi2d< LatticeComplex > &site_act, const Handle< GaugeState< P, Q > > &state) const
Compute the site-level action.
void derivPlaqAdj(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
multi1d< LatticeColorMatrix > P
Handle< CreateGaugeState< P, Q > > cgs
multi2d< LatticeReal > plaq_weight
GaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Params &p)
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
void derivPlaqFun(multi1d< LatticeColorMatrix > &ds_u, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
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.