CHROMA
lib
update
heatbath
mciter32.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief One heatbath interation of updating the gauge field configuration
4
*/
5
6
#ifndef __mciter32_h__
7
#define __mciter32_h__
8
9
namespace
Chroma
{
10
11
//! One heatbath interation of updating the gauge field configuration
12
/*!
13
* \ingroup heatbath
14
*
15
* Make one interation of updating the gauge field configuration:
16
* for Wilson or Symmanzik improved pure gauge action:
17
* this consists of n_over overrelaxation sweeps followed
18
* by one heatbath sweep with nheat trials.
19
* In the case of SU(3), for each link we loop over the 3 SU(2) subgroups.
20
*
21
* Because of the option for the Symanzik improved action we need 2^(d+1)
22
* sublattices, deviding first into 2^d hypercubes and then
23
* checkerboarding those.
24
*
25
*
26
* Warning: this works only for Nc = 2 and 3 !
27
*
28
* \param u gauge field ( Modify )
29
* \param n_over number of overrelaxation sweeps ( Read )
30
* \param nheat number of heatbath trials ( Read )
31
* \param NmaxHB max number of heatbath hits ( Read )
32
* \param ntrials total number of individual heatbath trials ( Modify )
33
* \param nfails total number of individual heatbath failures ( Modify )
34
*/
35
36
void
mciter32
(multi1d<LatticeColorMatrix>&
u
,
37
int
n_over,
int
nheat,
int
NmaxHB,
38
int
& ntrials,
int
& nfails,
39
const
Set& ss,
40
const
multi3d<int>& neighsubl);
41
42
}
// end namespace Chroma
43
44
#endif
45
Chroma::mciter32
void mciter32(multi1d< LatticeColorMatrix > &u, int n_over, int nheat, int NmaxHB, int &ntrials, int &nfails, const Set &ss, const multi3d< int > &neighsubl)
One heatbath interation of updating the gauge field configuration.
Definition:
mciter32.cc:53
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::u
static multi1d< LatticeColorMatrix > u
Definition:
syssolver_linop_qop_mg_w.cc:39
Generated by
1.9.1