Classes | |
class | TagFindCellRange2 |
Public Types | |
using | execution_space = csExecutionSpace |
using | memory_space = typename execution_space::memory_space |
using | iBoxType = iBox< int32 > |
Private Types | |
using | tpPWContactSearch = Kokkos::TeamPolicy< execution_space, Kokkos::Schedule< Kokkos::Dynamic >, Kokkos::IndexType< uint32 > > |
Private Member Functions | |
FUNCTION_H void | allocateArrays () |
Private Attributes | |
real | cellExtent_ = 0.5 |
uint32 | numElements_ = 0 |
uint32 | numPoints_ = 0 |
ViewType1D< uint32x3, memory_space > | vertices_ |
ViewType1D< realx3, memory_space > | points_ |
ViewType1D< realx3, memory_space > | normals_ |
ViewType1D< iBoxType, memory_space > | elementBox_ |
Definition at line 34 of file cellsWallLevel0.hpp.
using execution_space = csExecutionSpace |
Definition at line 38 of file cellsWallLevel0.hpp.
using memory_space = typename execution_space::memory_space |
Definition at line 40 of file cellsWallLevel0.hpp.
Definition at line 42 of file cellsWallLevel0.hpp.
|
private |
Definition at line 73 of file cellsWallLevel0.hpp.
|
inline |
Definition at line 86 of file cellsWallLevel0.hpp.
cellsWallLevel0 | ( | real | cellExtent, |
uint32 | numPoints, | ||
uint32 | numElements, | ||
const ViewType1D< realx3, memory_space > & | points, | ||
const ViewType1D< uint32x3, memory_space > & | vertices, | ||
const ViewType1D< realx3, memory_space > & | normals | ||
) |
Definition at line 25 of file cellsWallLevel0.cpp.
|
inlineprivate |
Definition at line 76 of file cellsWallLevel0.hpp.
References cellsWallLevel0::elementBox_, cellsWallLevel0::numElements_, and pFlow::reallocNoInit().
TypeInfoNV | ( | "cellsWallLevel0" | ) |
bool resetElements | ( | uint32 | numElements, |
uint32 | numPoints, | ||
const ViewType1D< realx3, memory_space > & | points, | ||
const ViewType1D< uint32x3, memory_space > & | vertices, | ||
const ViewType1D< realx3, memory_space > & | normals | ||
) |
Definition at line 45 of file cellsWallLevel0.cpp.
|
inline |
Definition at line 110 of file cellsWallLevel0.hpp.
References cellsWallLevel0::elementBox_.
Referenced by cellsWallLevel0::build().
|
inline |
Definition at line 116 of file cellsWallLevel0.hpp.
References cellsWallLevel0::numElements_.
bool broadSearch | ( | csPairContainerType & | pairs, |
const cells & | searchBox, | ||
const mapperNBS::CellIterator & | particleMap, | ||
const deviceViewType1D< realx3 > & | pPoints, | ||
const deviceViewType1D< real > & | pDiams, | ||
real | sizeRatio | ||
) |
Definition at line 66 of file cellsWallLevel0.cpp.
Referenced by NBS::impl_broadSearch().
bool build | ( | const cells & | searchBox | ) |
Definition at line 85 of file cellsWallLevel0.cpp.
References cellsWallLevel0::cellExtent_, cellsWallLevel0::elementBox(), cellsWallLevel0::elementBox_, cells::extendBox(), LAMBDA_HD, cellsWallLevel0::numElements_, cells::pointIndex(), cellsWallLevel0::points_, and cellsWallLevel0::vertices_.
bool particleWallFindPairs | ( | csPairContainerType & | pairs, |
const mapperNBS::CellIterator & | particleMap, | ||
const deviceViewType1D< realx3 > & | pPoints, | ||
const deviceViewType1D< real > & | pDiams, | ||
real | sizeRatio | ||
) |
Definition at line 115 of file cellsWallLevel0.cpp.
References unsortedPairs< executionSpace, idType >::capacity(), END_INFO, unsortedPairs< executionSpace, idType >::increaseCapacityBy(), INFORMATION, and pFlow::max().
pFlow::int32 findPairsElementRangeCount | ( | csPairContainerType & | pairs, |
const mapperNBS::CellIterator & | particleMap, | ||
const deviceViewType1D< realx3 > & | pPoints, | ||
const deviceViewType1D< real > & | pDiams, | ||
real | sizeRatio | ||
) |
Definition at line 151 of file cellsWallLevel0.cpp.
References pFlow::abs(), pFlow::boxExtent(), pFlow::indexToCell(), unsortedPairs< executionSpace, idType >::insert(), LAMBDA_HD, n, mapperNBS::CellIterator::next(), mapperNBS::CellIterator::NoPos, mapperNBS::CellIterator::start(), triple< T >::x(), triple< T >::y(), and triple< T >::z().
|
private |
Definition at line 49 of file cellsWallLevel0.hpp.
Referenced by cellsWallLevel0::build().
|
private |
Definition at line 52 of file cellsWallLevel0.hpp.
Referenced by cellsWallLevel0::allocateArrays(), cellsWallLevel0::build(), and cellsWallLevel0::numElements().
|
private |
Definition at line 55 of file cellsWallLevel0.hpp.
|
private |
Definition at line 58 of file cellsWallLevel0.hpp.
Referenced by cellsWallLevel0::build().
|
private |
Definition at line 61 of file cellsWallLevel0.hpp.
Referenced by cellsWallLevel0::build().
|
private |
Definition at line 64 of file cellsWallLevel0.hpp.
|
private |
Definition at line 67 of file cellsWallLevel0.hpp.
Referenced by cellsWallLevel0::allocateArrays(), cellsWallLevel0::build(), and cellsWallLevel0::elementBox().