mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-17 04:53:18 +01:00
GPU friendly coords
This commit is contained in:
1 parent
34820bec27
commit
e158b60bce
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user