6 #ifndef __lw_tree_gaugeact_h__
7 #define __lw_tree_gaugeact_h__
18 namespace LWTreeGaugeActEnv
52 typedef multi1d<LatticeColorMatrix>
P;
53 typedef multi1d<LatticeColorMatrix>
Q;
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.
LWTreeGaugeActParams param
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
bool anisoP() const
Is anisotropy used?
multi1d< LatticeColorMatrix > P
Handle< RectGaugeAct > rect
int tDir() const
Anisotropic direction.
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
multi1d< LatticeColorMatrix > Q
Handle< PlaqGaugeAct > plaq
const Set & getSet() const
Return the set on which the gauge action is defined.
const Real getBeta(void) const
void init(Handle< CreateGaugeState< P, Q > > cgs)
Private initializer.
void operator=(const LWTreeGaugeAct &a)
Hide assignment.
~LWTreeGaugeAct()
Destructor is automatic.
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
const Real anisoFactor() const
Anisotropy factor.
LWTreeGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const LWTreeGaugeActParams &p)
Read beta from a param struct.
Base class for gauge actions with links appearing linearly in the action.
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.