6 #ifndef __wilson_gaugeact_h__
7 #define __wilson_gaugeact_h__
18 namespace WilsonGaugeActEnv
60 const Set&
getSet()
const {
return rb;}
64 void staple(LatticeColorMatrix& result,
72 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.
WilsonGaugeAct()
Partial constructor.
void init(Handle< CreateGaugeState< P, Q > > cgs)
Private initializer.
const Set & getSet() const
Return the set on which the gauge action is defined.
WilsonGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta)
General CreateGaugeState<P,Q>
~WilsonGaugeAct()
Destructor is automatic.
WilsonGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta, const AnisoParam_t &aniso)
General CreateGaugeState<P,Q>
const Real getBeta(void) const
Handle< PlaqGaugeAct > plaq
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
WilsonGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const WilsonGaugeActParams &p)
Read beta from a param struct.
const Real anisoFactor() const
Anisotropy factor.
int tDir() const
Anisotropic direction.
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.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
WilsonGaugeActParams param
bool anisoP() const
Is anisotropy used?
void operator=(const WilsonGaugeAct &a)
Hide assignment.
Class structure for gauge actions.
Gauge boundary conditions.
static const LatticeInteger & beta(const int dim)
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
Parameters for anisotropy.
Params for Wilson gauge action.