mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00: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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user