mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
end of file corrections
This commit is contained in:
@ -21,6 +21,7 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
#include "mapperNBSKernels.hpp"
|
||||
#include "streams.hpp"
|
||||
|
||||
void pFlow::mapperNBSKernels::findPointExtends
|
||||
(
|
||||
@ -152,7 +153,9 @@ bool pFlow::mapperNBSKernels::buildLists
|
||||
const pFlagTypeDevice &flags
|
||||
)
|
||||
{
|
||||
|
||||
auto aRange = flags.activeRange();
|
||||
|
||||
auto pp = points;
|
||||
if(flags.isAllActive() )
|
||||
{
|
||||
@ -162,7 +165,7 @@ bool pFlow::mapperNBSKernels::buildLists
|
||||
deviceRPolicyStatic(aRange.start(), aRange.end()),
|
||||
LAMBDA_HD(uint32 i)
|
||||
{
|
||||
auto ind = searchCell.pointIndex(pp[i]);
|
||||
auto ind = searchCell.pointIndex(pp[i]);
|
||||
uint32 old = Kokkos::atomic_exchange(&head(ind.x(), ind.y(), ind.z()), i);
|
||||
next[i] = old;
|
||||
}
|
||||
|
Reference in New Issue
Block a user