6 #ifndef __lw_1loop_gaugeact_h__
7 #define __lw_1loop_gaugeact_h__
19 namespace LW1LoopGaugeActEnv
52 typedef multi1d<LatticeColorMatrix>
P;
53 typedef multi1d<LatticeColorMatrix>
Q;
57 const Real& beta_,
const Real& u0_) :
76 const Set&
getSet()
const {
return rb;}
80 void staple(LatticeColorMatrix& result,
86 LatticeColorMatrix
tmp;
100 multi1d<LatticeColorMatrix>
tmp;
Create a gauge connection state.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
const Real anisoFactor() const
Anisotropy factor.
LW1LoopGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const LW1LoopGaugeActParams &p)
Read beta from a param struct.
int tDir() const
Anisotropic direction.
void deriv(P &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
multi1d< LatticeColorMatrix > Q
LW1LoopGaugeAct()
General GaugeState.
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge boundary condition object.
Handle< RectGaugeAct > rect
void init(Handle< CreateGaugeState< P, Q > > cgs)
Private initializer.
Handle< PlaqGaugeAct > plaq
Double S(const Handle< GaugeState< P, Q > > &state) const
Compute the actions.
LW1LoopGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta_, const Real &u0_)
General GaugeState.
const Real getBeta(void) const
const Set & getSet() const
Return the set on which the gauge action is defined.
multi1d< LatticeColorMatrix > P
bool anisoP() const
Is anisotropy used?
void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
Compute staple.
~LW1LoopGaugeAct()
Destructor is automatic.
void operator=(const LW1LoopGaugeAct &a)
Hide assignment.
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
Parallelgram gauge action.