Classes | |
class | CellIterator |
Public Types | |
using | HeadType = hostViewType3D< uint32 > |
using | NextType = hostViewType1D< uint32 > |
Public Member Functions | |
TypeInfoNV ("cellMapper") | |
cellMapper (const rectangleMesh &rectMesh, const hostViewType1D< realx3 > &pointPos, const pFlagTypeHost &flags) | |
INLINE_FUNCTION_HD | cellMapper (const cellMapper &)=default |
INLINE_FUNCTION_HD | cellMapper (cellMapper &&)=default |
INLINE_FUNCTION_HD cellMapper & | operator= (const cellMapper &)=default |
INLINE_FUNCTION_HD cellMapper & | operator= (cellMapper &&)=default |
INLINE_FUNCTION_HD | ~cellMapper ()=default |
auto | getCellIterator () const |
bool | build (const hostViewType1D< realx3 > &pointPos, const pFlagTypeHost &flags) |
Static Public Attributes | |
static constexpr uint32 | NoPos = 0xFFFFFFFF |
Private Member Functions | |
void | allocateArrays (rangeU32 nextRng) |
void | checkAllocateNext (rangeU32 nextRng) |
void | nullifyHead () |
void | nullifyNext (rangeU32 nextRng) |
Private Attributes | |
const rectangleMesh & | domainCells_ |
HeadType | head_ {"NBS::head",1,1,1} |
NextType | next_ {"NBS::next", 1} |
uint32 | nextCapacity_ = 0 |
Definition at line 33 of file cellMapper.hpp.
using HeadType = hostViewType3D<uint32> |
Definition at line 37 of file cellMapper.hpp.
using NextType = hostViewType1D<uint32> |
Definition at line 39 of file cellMapper.hpp.
cellMapper | ( | const rectangleMesh & | rectMesh, |
const hostViewType1D< realx3 > & | pointPos, | ||
const pFlagTypeHost & | flags | ||
) |
Definition at line 55 of file cellMapper.cpp.
References pointFlag< ExecutionSpace >::activeRange(), and cellMapper::allocateArrays().
|
default |
|
default |
|
default |
|
private |
Definition at line 26 of file cellMapper.cpp.
References cellMapper::checkAllocateNext(), cellMapper::domainCells_, cellMapper::head_, cellMapper::NoPos, cellMapper::nullifyNext(), rectangleMesh::nx(), rectangleMesh::ny(), rectangleMesh::nz(), and pFlow::reallocFill().
Referenced by cellMapper::cellMapper().
|
private |
Definition at line 33 of file cellMapper.cpp.
References Range< T >::end(), and pFlow::reallocNoInit().
Referenced by cellMapper::allocateArrays().
|
private |
Definition at line 45 of file cellMapper.cpp.
References pFlow::fill().
|
private |
Definition at line 50 of file cellMapper.cpp.
References pFlow::fill().
Referenced by cellMapper::allocateArrays().
TypeInfoNV | ( | "cellMapper" | ) |
|
default |
|
default |
|
inline |
Definition at line 124 of file cellMapper.hpp.
References cellMapper::head_, and cellMapper::next_.
Referenced by pointRectCell::getCellIterator(), and pointRectCell::mapPOints().
bool build | ( | const hostViewType1D< realx3 > & | pointPos, |
const pFlagTypeHost & | flags | ||
) |
Definition at line 68 of file cellMapper.cpp.
References pointFlag< ExecutionSpace >::activeRange(), triple< T >::x(), triple< T >::y(), and triple< T >::z().
Referenced by pointRectCell::mapPOints().
|
staticconstexpr |
Definition at line 42 of file cellMapper.hpp.
Referenced by cellMapper::allocateArrays(), pointRectCell::mapPOints(), pFlow::sumMaksOp(), and pFlow::sumOp().
|
private |
Definition at line 81 of file cellMapper.hpp.
Referenced by cellMapper::allocateArrays().
|
private |
Definition at line 83 of file cellMapper.hpp.
Referenced by cellMapper::allocateArrays(), and cellMapper::getCellIterator().
|
private |
Definition at line 85 of file cellMapper.hpp.
Referenced by cellMapper::getCellIterator().
|
private |
Definition at line 87 of file cellMapper.hpp.