6 #ifndef __rg_gaugeact_h__
7 #define __rg_gaugeact_h__
18 namespace RGGaugeActEnv
52 const Real& beta_,
const Real& c1_) :
71 const Set&
getSet()
const {
return rb;}
75 void staple(LatticeColorMatrix& result,
81 LatticeColorMatrix
tmp;
87 void deriv(multi1d<LatticeColorMatrix>& result,
92 multi1d<LatticeColorMatrix>
tmp;
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.
RGGaugeAct()
Partial constructor.
RGGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta_, const Real &c1_)
General CreateGaugeState<P,Q>
Handle< PlaqGaugeAct > plaq
const Real getBeta(void) const
void init(Handle< CreateGaugeState< P, Q > > cgs)
Private initializer.
const Set & getSet() const
Return the set on which the gauge action is defined.
Handle< RectGaugeAct > rect
void operator=(const RGGaugeAct &a)
Hide assignment.
~RGGaugeAct()
Destructor is automatic.
RGGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const RGGaugeActParams &p)
Read beta from a param struct.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
const Real anisoFactor() const
Anisotropy factor.
int tDir() const
Anisotropic direction.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
bool anisoP() const
Is anisotropy used?
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.
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