6 #ifndef __rect_gaugeact_h__
7 #define __rect_gaugeact_h__
17 namespace RectGaugeActEnv
64 const Real& coeff_t1_,
65 const Real& coeff_t2_,
66 const bool no_temporal_2link_,
75 const Set&
getSet()
const {
return rb;}
79 void staple(LatticeColorMatrix& result,
81 int mu,
int cb)
const;
84 void deriv(multi1d<LatticeColorMatrix>& result,
145 multi1d<LatticeColorMatrix>& ds_u,
146 const multi1d<LatticeColorMatrix>&
u)
const;
150 void S_part(
int mu,
int nu, Real
c, LatticeReal& lgimp,
151 const multi1d<LatticeColorMatrix>&
u)
const;
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.
bool anisoP() const
Is anisotropy used?
void derivSpatial(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
compute spatial dS/dU given a time direction
RectGaugeAct()
Partial construcor.
Double temporalS(const Handle< GaugeState< P, Q > > &state) const
Compute the temporal part of the action given a time direction.
void deriv_part(int mu, int nu, Real c_munu, multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeColorMatrix > &u) const
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
void operator=(const RectGaugeAct &a)
Hide assignment.
RectGaugeActParams params
bool noTemporal21LoopsP(void) const
~RectGaugeAct()
Destructor is automatic.
void derivTemporal(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
compute spatial dS/dU given a time direction
const Real getCoeffT1(void) const
Double spatialS(const Handle< GaugeState< P, Q > > &state) const
Compute the spatial part of the action given a time direction.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
const Real getCoeffT2(void) const
int tDir() const
Anisotropic direction.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
const Real anisoFactor() const
Anisotropy factor.
void S_part(int mu, int nu, Real c, LatticeReal &lgimp, const multi1d< LatticeColorMatrix > &u) const
const Real getCoeffS(void) const
const Set & getSet() const
Return the set on which the gauge action is defined.
Handle< CreateGaugeState< P, Q > > cgs
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
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.
static multi1d< LatticeColorMatrix > u
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
Parameters for anisotropy.