1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05:36 +00:00

Threaded the constructor of GeneralLocalStencil

This commit is contained in:
Christopher Kelly 2023-06-23 09:57:38 -04:00
parent 4241c7d4a3
commit 36cc9c524f

View File

@ -79,10 +79,10 @@ public:
this->_entries.resize(npoints* osites);
this->_entries_p = &_entries[0];
thread_for(site, osites, {
Coordinate Coor;
Coordinate NbrCoor;
for(Integer site=0;site<osites;site++){
for(Integer ii=0;ii<npoints;ii++){
Integer lex = site*npoints+ii;
GeneralStencilEntry SE;
@ -132,7 +132,7 @@ public:
////////////////////////////////////////////////
this->_entries[lex] = SE;
}
}
});
}
};