mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 14:15:55 +01:00
Hadrons: even more cleaning
This commit is contained in:
parent
41d4e37bae
commit
6d2df9de79
@ -360,14 +360,13 @@ void TA2AMesonField<FImpl>::execute(void)
|
|||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Momentum setup
|
// Momentum setup
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
GridBase *grid = env().getGrid(1);
|
GridBase *grid = env().getGrid();
|
||||||
std::vector<LatticeComplex> phases(nmom,grid);
|
std::vector<LatticeComplex> phases(nmom,grid);
|
||||||
|
|
||||||
for(int m=0;m<nmom;m++)
|
for(int m=0;m<nmom;m++)
|
||||||
{
|
{
|
||||||
phases[m] = Complex(1.0); // All zero momentum for now
|
phases[m] = Complex(1.0); // All zero momentum for now
|
||||||
}
|
}
|
||||||
|
|
||||||
Eigen::Tensor<ComplexD,5> mesonField(nmom,ngamma,nt,N_i,N_j);
|
|
||||||
LOG(Message) << "MesonField size " << N_i << "x" << N_j << "x" << nt << std::endl;
|
LOG(Message) << "MesonField size " << N_i << "x" << N_j << "x" << nt << std::endl;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -214,7 +214,6 @@ void TA2AVectors<FImpl, Pack>::execute(void)
|
|||||||
{
|
{
|
||||||
envGetTmp(FermionField, f5);
|
envGetTmp(FermionField, f5);
|
||||||
a2a.makeHighModeV5D(v[Nl_ + ih], f5, noise[ih]);
|
a2a.makeHighModeV5D(v[Nl_ + ih], f5, noise[ih]);
|
||||||
std::cout << norm2(v[Nl_ + ih]) << std::endl;
|
|
||||||
}
|
}
|
||||||
LOG(Message) << "W vector i = " << Nl_ + ih
|
LOG(Message) << "W vector i = " << Nl_ + ih
|
||||||
<< " (" << ((Nl_ > 0) ? "high " : "")
|
<< " (" << ((Nl_ > 0) ? "high " : "")
|
||||||
@ -227,7 +226,6 @@ void TA2AVectors<FImpl, Pack>::execute(void)
|
|||||||
{
|
{
|
||||||
envGetTmp(FermionField, f5);
|
envGetTmp(FermionField, f5);
|
||||||
a2a.makeHighModeW5D(w[Nl_ + ih], f5, noise[ih]);
|
a2a.makeHighModeW5D(w[Nl_ + ih], f5, noise[ih]);
|
||||||
std::cout << norm2(w[Nl_ + ih]) << std::endl;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user