Go to the documentation of this file.
36 auto newCap = nextRng.
end();
38 if( nextCapacity_ < newCap)
40 nextCapacity_ = newCap;
52 fill(next_, nextRng, NoPos);
61 domainCells_(rectMesh)
75 checkAllocateNext(aRange);
79 for(
uint32 i=aRange.start(); i<aRange.end(); i++)
81 if( domainCells_.isInsideIndex(pointPos[i], ind) )
83 next_[i] = head_(ind.
x(), ind.
y(), ind.
z());
84 head_(ind.
x(), ind.
y(), ind.
z()) = i;
void nullifyNext(rangeU32 nextRng)
INLINE_FUNCTION_H void reallocFill(ViewType1D< Type, Properties... > &view, uint32 len, Type val)
void fill(Vector< T, Allocator > &vec, const T &val)
INLINE_FUNCTION_HD T & end()
End.
INLINE_FUNCTION_H void reallocNoInit(ViewType1D< Type, Properties... > &view, uint32 len)
INLINE_FUNCTION_HD T & y()
access component
void checkAllocateNext(rangeU32 nextRng)
const rectangleMesh & domainCells_
void allocateArrays(rangeU32 nextRng)
const INLINE_FUNCTION_HD auto & activeRange() const
INLINE_FUNCTION_HD T & z()
access component
Kokkos::View< T *, Kokkos::HostSpace > hostViewType1D
1D array (vector with host memeory space)
bool build(const hostViewType1D< realx3 > &pointPos, const pFlagTypeHost &flags)
static constexpr uint32 NoPos
INLINE_FUNCTION_HD T & x()
access component
cellMapper(const rectangleMesh &rectMesh, const hostViewType1D< realx3 > &pointPos, const pFlagTypeHost &flags)