mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Tiny change in a comment for clarity
This commit is contained in:
parent
4f1e66b044
commit
43334e88c3
@ -28,10 +28,9 @@ public:
|
|||||||
typedef Field PropagatorField;
|
typedef Field PropagatorField;
|
||||||
|
|
||||||
static inline void generate_momenta(Field& P, GridParallelRNG& pRNG){
|
static inline void generate_momenta(Field& P, GridParallelRNG& pRNG){
|
||||||
RealD scale = ::sqrt(HMC_MOMENTUM_DENOMINATOR);
|
RealD scale = ::sqrt(HMC_MOMENTUM_DENOMINATOR); // CPS/UKQCD momentum rescaling
|
||||||
// CPS and UKQCD conventions not yet implemented for U(1) scalars.
|
|
||||||
gaussian(pRNG, P);
|
gaussian(pRNG, P);
|
||||||
P *= scale;
|
P *= scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline Field projectForce(Field& P){return P;}
|
static inline Field projectForce(Field& P){return P;}
|
||||||
@ -150,7 +149,7 @@ public:
|
|||||||
|
|
||||||
static inline void generate_momenta(Field &P, GridParallelRNG &pRNG)
|
static inline void generate_momenta(Field &P, GridParallelRNG &pRNG)
|
||||||
{
|
{
|
||||||
RealD scale = ::sqrt(HMC_MOMENTUM_DENOMINATOR); // Being consistent with CPS and UKQCD conventions
|
RealD scale = ::sqrt(HMC_MOMENTUM_DENOMINATOR); // CPS/UKQCD momentum rescaling
|
||||||
#ifndef USE_FFT_ACCELERATION
|
#ifndef USE_FFT_ACCELERATION
|
||||||
Group::GaussianFundamentalLieAlgebraMatrix(pRNG, P);
|
Group::GaussianFundamentalLieAlgebraMatrix(pRNG, P);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user