Public Types | |
using | NBSLevel0Type = NBSLevel0< executionSpace > |
using | cellIterator = typename NBSLevel0Type::cellIterator |
using | IdType = typename NBSLevel0Type::IdType |
using | IndexType = typename NBSLevel0Type::IndexType |
using | Cells = typename NBSLevel0Type::Cells |
using | CellType = typename Cells::CellType |
using | execution_space = typename NBSLevel0Type::execution_space |
using | memory_space = typename NBSLevel0Type::memory_space |
Public Member Functions | |
TypeInfoNV ("NBS") | |
NBS (const dictionary &dict, const box &domain, real minSize, real maxSize, const ViewType1D< realx3, memory_space > &position, const ViewType1D< real, memory_space > &diam) | |
INLINE_FUNCTION_HD | NBS (const NBS &)=default |
INLINE_FUNCTION_HD NBS & | operator= (const NBS &)=default |
INLINE_FUNCTION_HD | ~NBS ()=default |
bool | enterBoadSearch () const |
bool | performedSearch () const |
Vector< cellIterator > | getCellIteratorLevels () |
auto | getCellIterator (int32 lvl) const |
int32 | numLevels () const |
Vector< Cells > | getCellsLevels () const |
auto | getCells () const |
bool | objectSizeChanged (int32 newSize) |
template<typename PairsContainer > | |
bool | broadSearch (PairsContainer &pairs, range activeRange, bool force=false) |
template<typename PairsContainer , typename IncludeFunction > | |
bool | broadSearch (PairsContainer &pairs, range activeRange, IncludeFunction incld, bool force=false) |
Protected Attributes | |
real | sizeRatio_ = 1.0 |
int32 | updateFrequency_ = 1 |
int32 | currentIter_ = 0 |
bool | performedSearch_ = false |
NBSLevel0Type | NBSLevel0_ |
Private Member Functions | |
bool | performSearch () |
using NBSLevel0Type = NBSLevel0<executionSpace> |
using cellIterator = typename NBSLevel0Type::cellIterator |
using IdType = typename NBSLevel0Type::IdType |
using IndexType = typename NBSLevel0Type::IndexType |
using Cells = typename NBSLevel0Type::Cells |
using execution_space = typename NBSLevel0Type::execution_space |
using memory_space = typename NBSLevel0Type::memory_space |
|
inline |
|
default |
|
default |
|
inlineprivate |
Definition at line 67 of file NBS.hpp.
References NBS< executionSpace >::currentIter_, and NBS< executionSpace >::updateFrequency_.
Referenced by NBS< executionSpace >::broadSearch().
TypeInfoNV | ( | "NBS< executionSpace >" | ) |
|
default |
|
inline |
Definition at line 122 of file NBS.hpp.
References NBS< executionSpace >::currentIter_, and NBS< executionSpace >::updateFrequency_.
|
inline |
Definition at line 127 of file NBS.hpp.
References NBS< executionSpace >::performedSearch_.
|
inline |
Definition at line 132 of file NBS.hpp.
References mapperNBS< executionSpace >::getCellIterator(), and NBS< executionSpace >::NBSLevel0_.
|
inline |
Definition at line 137 of file NBS.hpp.
References mapperNBS< executionSpace >::getCellIterator(), and NBS< executionSpace >::NBSLevel0_.
Definition at line 147 of file NBS.hpp.
References cells< indexType >::getCells(), and NBS< executionSpace >::NBSLevel0_.
|
inline |
Definition at line 152 of file NBS.hpp.
References cells< indexType >::getCells(), and NBS< executionSpace >::NBSLevel0_.
|
inline |
Definition at line 157 of file NBS.hpp.
References mapperNBS< executionSpace >::checkAllocateNext(), and NBS< executionSpace >::NBSLevel0_.
|
inline |
Definition at line 168 of file NBS.hpp.
References mapperNBS< executionSpace >::build(), NBS< executionSpace >::currentIter_, NBSLevel0< executionSpace >::findPairs(), NBS< executionSpace >::NBSLevel0_, NBS< executionSpace >::performedSearch_, and NBS< executionSpace >::performSearch().
|
inline |
Definition at line 190 of file NBS.hpp.
References mapperNBS< executionSpace >::build(), NBS< executionSpace >::currentIter_, NBSLevel0< executionSpace >::findPairs(), NBS< executionSpace >::NBSLevel0_, NBS< executionSpace >::performedSearch_, and NBS< executionSpace >::performSearch().
|
protected |
Definition at line 57 of file NBS.hpp.
Referenced by NBS< executionSpace >::enterBoadSearch(), and NBS< executionSpace >::performSearch().
|
protected |
Definition at line 59 of file NBS.hpp.
Referenced by NBS< executionSpace >::broadSearch(), NBS< executionSpace >::enterBoadSearch(), and NBS< executionSpace >::performSearch().
|
protected |
Definition at line 61 of file NBS.hpp.
Referenced by NBS< executionSpace >::broadSearch(), and NBS< executionSpace >::performedSearch().
|
protected |
Definition at line 63 of file NBS.hpp.
Referenced by NBS< executionSpace >::broadSearch(), NBS< executionSpace >::getCellIterator(), NBS< executionSpace >::getCellIteratorLevels(), NBS< executionSpace >::getCells(), NBS< executionSpace >::getCellsLevels(), and NBS< executionSpace >::objectSizeChanged().