mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
GPU friendly coords
This commit is contained in:
parent
34820bec27
commit
e158b60bce
@ -44,7 +44,7 @@ HADRON_ERROR(Definition, "no object with address " + std::to_string(address));
|
|||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Environment::Environment(void)
|
Environment::Environment(void)
|
||||||
{
|
{
|
||||||
dim_ = GridDefaultLatt();
|
dim_ = GridDefaultLatt().toVector();
|
||||||
nd_ = dim_.size();
|
nd_ = dim_.size();
|
||||||
grid4d_.reset(SpaceTimeGrid::makeFourDimGrid(
|
grid4d_.reset(SpaceTimeGrid::makeFourDimGrid(
|
||||||
dim_, GridDefaultSimd(nd_, vComplex::Nsimd()),
|
dim_, GridDefaultSimd(nd_, vComplex::Nsimd()),
|
||||||
|
@ -143,7 +143,7 @@ void TChargedProp::makeCaches(void)
|
|||||||
}
|
}
|
||||||
if (!phasesDone_)
|
if (!phasesDone_)
|
||||||
{
|
{
|
||||||
std::vector<int> &l = env().getGrid()->_fdimensions;
|
Coordinate &l = env().getGrid()->_fdimensions;
|
||||||
Complex ci(0.0,1.0);
|
Complex ci(0.0,1.0);
|
||||||
|
|
||||||
LOG(Message) << "Caching shift phases..." << std::endl;
|
LOG(Message) << "Caching shift phases..." << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user