mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-03 18:55:56 +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:
|
||||
GridBase *_grid;
|
||||
int checkerboard;
|
||||
//std::vector<vobj,alignedAllocator<vobj> > _odata;
|
||||
std::valarray<vobj> _odata;
|
||||
std::vector<vobj,alignedAllocator<vobj> > _odata;
|
||||
//std::valarray<vobj> _odata;
|
||||
public:
|
||||
|
||||
typedef typename vobj::scalar_type scalar_type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user