mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 11:15:55 +01:00
Back to vector for now; cost of init loop is clear in the a*x + y
loop in memory benchmark and must move to better container class.
This commit is contained in:
parent
193860dbc8
commit
aeda7b923d
@ -26,8 +26,8 @@ class Lattice
|
|||||||
public:
|
public:
|
||||||
GridBase *_grid;
|
GridBase *_grid;
|
||||||
int checkerboard;
|
int checkerboard;
|
||||||
//std::vector<vobj,alignedAllocator<vobj> > _odata;
|
std::vector<vobj,alignedAllocator<vobj> > _odata;
|
||||||
std::valarray<vobj> _odata;
|
//std::valarray<vobj> _odata;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
typedef typename vobj::scalar_type scalar_type;
|
typedef typename vobj::scalar_type scalar_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user