6 #ifndef __plaq_gaugeact_h__
7 #define __plaq_gaugeact_h__
17 namespace PlaqGaugeActEnv
65 {
init(coeff_s,coeff_t,aniso);}
74 const Set&
getSet()
const {
return rb;}
77 void staple(LatticeColorMatrix& result,
79 int mu,
int cb)
const;
84 int mu,
int cb,
int t_dir)
const;
89 int mu,
int cb,
int t_dir)
const;
92 void deriv(multi1d<LatticeColorMatrix>& result,
125 void init(
const Real& coeff,
129 void init(
const Real& coeff_s,
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.
void init(const Real &coeff, const AnisoParam_t &aniso)
Hide assignment.
~PlaqGaugeAct()
Destructor is automatic.
PlaqGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff, const AnisoParam_t &aniso)
General CreateGaugeState<P,Q>
void derivSpatial(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state, int t_dir) const
compute spatial dS/dU given a time direction
const Set & getSet() const
Return the set on which the gauge action is defined.
Handle< CreateGaugeState< P, Q > > cgs
void derivTemporal(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state, int t_dir) const
compute spatial dS/dU given a time direction
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
PlaqGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const PlaqGaugeActParams &p)
Read coeff from a param struct.
Double spatialS(const Handle< GaugeState< P, Q > > &state, int t_dir) 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.
void stapleTemporal(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb, int t_dir) const
Compute staple.
PlaqGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &coeff_s, const Real &coeff_t, const AnisoParam_t &aniso)
General CreateGaugeState<P,Q>
void operator=(const PlaqGaugeAct &a)
Double temporalS(const Handle< GaugeState< P, Q > > &state, int t_dir) const
Compute the temporal part of the action given a time direction.
void stapleSpatial(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb, int t_dir) 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.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
FloatingPoint< double > Double
Parameters for anisotropy.
PlaqGaugeActParams()
Base Constructor.