6 #ifndef __rbc_gaugeact_h__
7 #define __rbc_gaugeact_h__
18 namespace RBCGaugeActEnv
54 const Real& beta_,
const Real& c1_) :
73 const Set&
getSet()
const {
return rb;}
77 void staple(LatticeColorMatrix& result,
83 LatticeColorMatrix
tmp;
89 void deriv(multi1d<LatticeColorMatrix>& result,
94 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.
bool anisoP() const
Is anisotropy used?
const Set & getSet() const
Return the set on which the gauge action is defined.
RBCGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const RBCGaugeActParams &p)
Read beta from a param struct.
void deriv(multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
Compute dS/dU.
Handle< RectGaugeAct > rect
const Real anisoFactor() const
Anisotropy factor.
RBCGaugeAct(Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta_, const Real &c1_)
General CreateGaugeState<P,Q>
const CreateGaugeState< P, Q > & getCreateState() const
Produce a gauge create state object.
RBCGaugeAct()
Partial constructor.
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.
int tDir() const
Anisotropic direction.
~RBCGaugeAct()
Destructor is automatic.
const Real getBeta(void) const
void init(Handle< CreateGaugeState< P, Q > > cgs)
Private initializer.
Handle< PlaqGaugeAct > plaq
void operator=(const RBCGaugeAct &a)
Hide assignment.
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