1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-11-21 15:09:32 +00:00

Merge remote-tracking branch 'upstream/develop' into feature/kl2QED

Conflicts:
	Grid/qcd/action/fermion/DomainWallFermion.h
	Grid/qcd/action/fermion/FermionOperator.h
This commit is contained in:
2019-04-29 12:07:20 +01:00
54 changed files with 2551 additions and 310 deletions

View File

@@ -53,7 +53,7 @@ namespace Grid {
ComplexField coor(in._grid);
ComplexField ph(in._grid); ph = zero;
FermionField in_buf(in._grid); in_buf = zero;
Complex ci(0.0,1.0);
Scalar ci(0.0,1.0);
assert(twist.size() == Nd);//check that twist is Nd
assert(boundary.size() == Nd);//check that boundary conditions is Nd
int shift = 0;
@@ -69,6 +69,7 @@ namespace Grid {
}
in_buf = exp(ci*ph*(-1.0))*in;
if(fiveD){//FFT only on temporal and spatial dimensions
std::vector<int> mask(Nd+1,1); mask[0] = 0;
theFFT.FFT_dim_mask(in_k,in_buf,mask,FFT::forward);