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