Go to the documentation of this file.
67 bool searchBoxChanged;
76 "Error in broadSearch for NBS (particle-particle)"<<
endl;
89 "Error in broadSearch for NBS (particle-wall)"<<
endl;
102 const box& domainBox,
116 NBS(
const NBS&) =
default;
bool impl_broadSearch(csPairContainerType &ppPairs, csPairContainerType &pwPairs, const deviceViewType1D< realx3 > &pointPos, const pFlagTypeDevice &flags, const deviceViewType1D< real > &diameter)
bool broadSearch(csPairContainerType &pairs, const deviceViewType1D< realx3 > &pointPos, const pFlagTypeDevice &flags, const deviceViewType1D< real > &diameter, bool &searchBoxChanged)
INLINE_FUNCTION_HD ~NBS()=default
typename NBSLevel0::CellIterator CellIterator
INLINE_FUNCTION_HD NBS & operator=(const NBS &)=default
iOstream & endl(iOstream &os)
Add newline and flush stream.
Kokkos::View< T * > deviceViewType1D
1D array (vector) with default device (memory space and execution space)
const auto & getSearchCells() const
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
auto getCellIterator([[maybe_unused]] uint32 lvl) const
const auto & getDomainCells() const
NBS(const dictionary &dict, const box &domainBox, real minBSSize, real maxBSSize, const deviceViewType1D< realx3 > &position, const pFlagTypeDevice &flags, const deviceViewType1D< real > &diam, uint32 nWallPoints, uint32 nWallElements, const ViewType1D< realx3, memory_space > &wallPoints, const ViewType1D< uint32x3, memory_space > &wallVertices, const ViewType1D< realx3, memory_space > &wallNormals)
Kokkos::View< T *, properties... > ViewType1D
1D veiw as a vector
cellsWallLevel0 cellsWallLevel0_
Holds a bool value and converts strings to bool.
Vector< cells > getDomainCellsLevels() const
auto getCellIterator() const
typename MapperType::CellIterator CellIterator
#define INLINE_FUNCTION_HD
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
bool broadSearch(csPairContainerType &pairs, const cells &searchBox, const mapperNBS::CellIterator &particleMap, const deviceViewType1D< realx3 > &pPoints, const deviceViewType1D< real > &pDiams, real sizeRatio)