30 void mciter(multi1d<LatticeColorMatrix>&
u,
36 LatticeColorMatrix u_mu_staple;
40 const Set& gauge_set = S_g.
getSet();
41 const int num_subsets = gauge_set.numSubsets();
43 for(
int iter = 0; iter <= hbp.
nOver; ++iter)
45 for(
int cb = 0;
cb < num_subsets; ++
cb)
51 typedef multi1d<LatticeColorMatrix>
P;
52 typedef multi1d<LatticeColorMatrix>
Q;
60 if ( iter < hbp.
nOver )
Primary include file for CHROMA library code.
virtual GaugeState< P, Q > * createState(const Q &q) const
Given links, create the state.
virtual const Set & getSet(void) const =0
Return the set on which the gauge action is defined.
virtual const GaugeBC< P, Q > & getGaugeBC() const
Return the gauge BC object for this action.
virtual void modify(Q &u) const =0
Apply the BC onto the U fields in place.
Class for counted reference semantics.
Base class for gauge actions with links appearing linearly in the action.
virtual void staple(LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const =0
Compute staple.
void su3over(LatticeColorMatrix &u, const LatticeColorMatrix &w, int su2_index, const Subset &sub)
Do one SU(2) subgroup microcanonical overrelaxation update of SU(Nc) matrix.
void mciter(multi1d< LatticeColorMatrix > &u, const LinearGaugeAction &S_g, const HBParams &hbp)
One heatbath interation of updating the gauge field configuration.
One heatbath interation of updating the gauge field configuration.
multi1d< LatticeColorMatrix > P
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::Q Q
void reunit(LatticeColorMatrixF3 &xa)
void su2_hb_update(LatticeColorMatrix &u_mu, const LatticeColorMatrix &u_mu_staple, Double BetaMC, const int su2_index, const Subset &sub, const int NmaxHB)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Reunitarize in place a color matrix to SU(N)
Do one SU(2) subgroup microcanonical overrelaxation update of SU(Nc)