6 #ifndef __spatial_two_plaq_gaugeact_h__
7 #define __spatial_two_plaq_gaugeact_h__
17 namespace SpatialTwoPlaqGaugeActEnv
72 const Set&
getSet()
const {
return rb;}
75 void staple(LatticeColorMatrix& result,
77 int mu,
int cb)
const;
80 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.
Handle< CreateGaugeState< P, Q > > cgs
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
int tDir() const
Anisotropic direction.
SpatialTwoPlaqGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const SpatialTwoPlaqGaugeActParams &p)
Read coeff from a param struct.
void operator=(const SpatialTwoPlaqGaugeAct &a)
const Real anisoFactor() const
Anisotropy factor.
void init()
Hide assignment.
const Set & getSet() const
Return the set on which the gauge action is defined.
~SpatialTwoPlaqGaugeAct()
Destructor is automatic.
const Real getCoeff(void) const
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
SpatialTwoPlaqGaugeActParams param
bool anisoP() const
Is anisotropy used?
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
SpatialTwoPlaqGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff, const AnisoParam_t &aniso)
General CreateGaugeState<P,Q>
Class structure for gauge actions.
Gauge boundary conditions.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
Parameters for anisotropy.
SpatialTwoPlaqGaugeActParams()