Public Types | |
using | iterator = T * |
using | constIterator = const T * |
using | reference = T & |
using | constReference = const T & |
using | valueType = T |
using | pointer = T * |
using | constPointer = const T * |
using | VectorType = VectorDual< T, MemorySpace > |
using | dualViewType = Kokkos::DualView< T *, MemorySpace > |
using | hostMirrorSpace = typename dualViewType::host_mirror_space |
using | deviceViewType = typename dualViewType::t_dev |
using | hostViewType = typename dualViewType::t_host |
using | deviceType = typename deviceViewType::device_type |
using | hostType = typename hostViewType::device_type |
using | viewType = dualViewType |
using | memory_space = typename viewType::memory_space |
using | execution_space = typename deviceType::execution_space |
Protected Member Functions | |
INLINE_FUNCTION_H void | changeSize (size_t n, bool actualCap=false) |
INLINE_FUNCTION_H void | setSize (size_t n) |
INLINE_FUNCTION_H void | updateSubViews () const |
Static Protected Member Functions | |
constexpr static const char * | memoerySpaceName () |
static INLINE_FUNCTION_H size_t | evalCapacity (size_t n) |
Protected Attributes | |
size_t | size_ = 0 |
size_t | capacity_ = 0 |
dualViewType | dualView_ |
deviceViewType | deviceSubView_ |
hostViewType | hostSubView_ |
bool | subViewsUpdated_ = false |
Static Protected Attributes | |
static const real | growthFactor_ = vectorGrowthFactor__ |
static constexpr bool | isHostAccessible_ |
static const word | hdName__ |
Definition at line 43 of file VectorDual.hpp.
using iterator = T* |
Definition at line 51 of file VectorDual.hpp.
using constIterator = const T* |
Definition at line 53 of file VectorDual.hpp.
using reference = T& |
Definition at line 55 of file VectorDual.hpp.
using constReference = const T& |
Definition at line 57 of file VectorDual.hpp.
using valueType = T |
Definition at line 59 of file VectorDual.hpp.
using pointer = T* |
Definition at line 61 of file VectorDual.hpp.
using constPointer = const T* |
Definition at line 63 of file VectorDual.hpp.
using VectorType = VectorDual<T, MemorySpace> |
Definition at line 65 of file VectorDual.hpp.
using dualViewType = Kokkos::DualView<T*, MemorySpace> |
Definition at line 68 of file VectorDual.hpp.
using hostMirrorSpace = typename dualViewType::host_mirror_space |
Definition at line 71 of file VectorDual.hpp.
using deviceViewType = typename dualViewType::t_dev |
Definition at line 74 of file VectorDual.hpp.
using hostViewType = typename dualViewType::t_host |
Definition at line 77 of file VectorDual.hpp.
using deviceType = typename deviceViewType::device_type |
Definition at line 79 of file VectorDual.hpp.
using hostType = typename hostViewType::device_type |
Definition at line 81 of file VectorDual.hpp.
using viewType = dualViewType |
Definition at line 84 of file VectorDual.hpp.
using memory_space = typename viewType::memory_space |
Definition at line 87 of file VectorDual.hpp.
using execution_space = typename deviceType::execution_space |
Definition at line 90 of file VectorDual.hpp.
|
inline |
Definition at line 173 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::clonePtr().
|
inline |
Definition at line 179 of file VectorDual.hpp.
|
inline |
Definition at line 189 of file VectorDual.hpp.
|
inline |
Definition at line 195 of file VectorDual.hpp.
|
inline |
Definition at line 205 of file VectorDual.hpp.
|
inline |
Definition at line 211 of file VectorDual.hpp.
|
inline |
Definition at line 218 of file VectorDual.hpp.
|
inline |
Definition at line 223 of file VectorDual.hpp.
|
inline |
Definition at line 232 of file VectorDual.hpp.
|
inline |
Definition at line 237 of file VectorDual.hpp.
|
inline |
Definition at line 246 of file VectorDual.hpp.
|
inline |
Definition at line 267 of file VectorDual.hpp.
|
delete |
|
inlinestaticconstexprprotected |
Definition at line 118 of file VectorDual.hpp.
|
inlinestaticprotected |
Definition at line 123 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), and VectorDual< int8 >::changeSize().
|
inlineprotected |
Definition at line 129 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::push_back(), VectorDual< int8 >::reserve(), VectorDual< int8 >::resize(), VectorDual< int8 >::resizeSync(), and VectorDual< int8 >::VectorDual().
|
inlineprotected |
Definition at line 149 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), VectorDual< int8 >::changeSize(), VectorDual< int8 >::clear(), VectorDual< int8 >::deleteElement(), VectorDual< int8 >::operator=(), VectorDual< int8 >::reallocate(), and VectorDual< int8 >::VectorDual().
|
inlineprotected |
Definition at line 156 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::deviceVector(), and VectorDual< int8 >::hostVector().
TypeInfoTemplateNV2 | ( | "VectorDual< T, MemorySpace >" | , |
T | , | ||
memoerySpaceName() | |||
) |
|
inline |
Definition at line 288 of file VectorDual.hpp.
|
delete |
|
inline |
Definition at line 307 of file VectorDual.hpp.
|
inline |
Definition at line 313 of file VectorDual.hpp.
|
inline |
Definition at line 322 of file VectorDual.hpp.
|
inline |
Definition at line 329 of file VectorDual.hpp.
|
inline |
Definition at line 335 of file VectorDual.hpp.
Referenced by pointStructure::activePointsMaskD(), pFlow::count(), pointStructure::evaluatePointStructure(), multiRotatingAxisMotion::getAxisListPtrDevice(), vibratingMotion::getModel(), VectorDual< int8 >::insertSetElement(), pFlow::max(), pFlow::min(), and positionRandom::positionOnePass().
|
inline |
Definition at line 340 of file VectorDual.hpp.
|
inline |
Definition at line 345 of file VectorDual.hpp.
Referenced by pointStructure::activePointsMaskH(), pFlow::count(), multiRotatingAxisMotion::getAxisListPtrHost(), VectorDual< int8 >::insertSetElement(), pFlow::max(), pFlow::min(), vibratingMotion::pointVelocity(), and vibratingMotion::transferPoint().
|
inline |
Definition at line 350 of file VectorDual.hpp.
|
inline |
Definition at line 354 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::copyDeviceToHost(), VectorDual< int8 >::copyHostToDevice(), VectorDual< int8 >::fill(), VectorDual< int8 >::fillDevice(), pFlow::findCollisions(), rotatingAxisMotion::getModel(), multiRotatingAxisMotion::getModel(), VectorDual< int8 >::VectorDual(), and VectorDual< int8 >::write().
|
inline |
Definition at line 359 of file VectorDual.hpp.
|
inline |
Definition at line 364 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::copyDeviceToHost(), VectorDual< int8 >::copyHostToDevice(), VectorDual< int8 >::fill(), VectorDual< int8 >::fillHost(), VectorDual< int8 >::VectorDual(), and VectorDual< int8 >::write().
|
inline |
Definition at line 369 of file VectorDual.hpp.
|
inline |
Definition at line 375 of file VectorDual.hpp.
|
inline |
Definition at line 381 of file VectorDual.hpp.
|
inline |
Definition at line 386 of file VectorDual.hpp.
|
inline |
Definition at line 391 of file VectorDual.hpp.
Referenced by pFlow::count(), VectorDual< int8 >::deleteElement(), pointStructure::evaluatePointStructure(), VectorDual< int8 >::insertSetElement(), pFlow::max(), pFlow::min(), VectorDual< int8 >::operator=(), and VectorDual< int8 >::write().
|
inline |
Definition at line 396 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), multiTriSurface::calculateVars(), and VectorDual< int8 >::operator=().
|
inline |
Definition at line 401 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::copyDeviceToHost(), VectorDual< int8 >::copyHostToDevice(), VectorDual< int8 >::fill(), VectorDual< int8 >::fillDevice(), VectorDual< int8 >::fillHost(), and VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 408 of file VectorDual.hpp.
|
inline |
Definition at line 414 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::insertSetElement().
|
inline |
Definition at line 419 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), multiTriSurface::calculateVars(), and VectorDual< int8 >::VectorDual().
|
inline |
Definition at line 429 of file VectorDual.hpp.
|
inline |
Definition at line 437 of file VectorDual.hpp.
|
inline |
Definition at line 443 of file VectorDual.hpp.
|
inline |
Definition at line 448 of file VectorDual.hpp.
Referenced by multiTriSurface::calculateVars(), and multiTriSurface::clear().
|
inline |
Definition at line 455 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign().
|
inline |
Definition at line 463 of file VectorDual.hpp.
|
inline |
Definition at line 470 of file VectorDual.hpp.
|
inline |
Definition at line 481 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::read(), VectorDual< int8 >::resize(), VectorDual< int8 >::resizeSync(), and VectorDual< int8 >::VectorDual().
|
inline |
Definition at line 496 of file VectorDual.hpp.
Definition at line 515 of file VectorDual.hpp.
|
inline |
Definition at line 549 of file VectorDual.hpp.
|
inline |
Definition at line 580 of file VectorDual.hpp.
|
inline |
Definition at line 641 of file VectorDual.hpp.
|
inline |
Definition at line 686 of file VectorDual.hpp.
|
inline |
Definition at line 741 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), and multiTriSurface::calculateVars().
|
inline |
Definition at line 753 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::begin(), VectorDual< int8 >::end(), VectorDual< int8 >::insertSetElement(), and VectorDual< int8 >::push_back().
|
inline |
Definition at line 757 of file VectorDual.hpp.
|
inline |
Definition at line 763 of file VectorDual.hpp.
|
inline |
Definition at line 769 of file VectorDual.hpp.
|
inline |
Definition at line 775 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::copyDeviceToHost(), VectorDual< int8 >::copyHostToDevice(), VectorDual< int8 >::deviceVector(), VectorDual< int8 >::hostVector(), and VectorDual< int8 >::syncViews().
|
inline |
Definition at line 781 of file VectorDual.hpp.
|
inline |
Definition at line 785 of file VectorDual.hpp.
|
inline |
Definition at line 789 of file VectorDual.hpp.
|
inline |
Definition at line 796 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::deleteElement(), VectorDual< int8 >::fillHost(), positionRandom::fillPoints(), rotatingAxisMotion::getModel(), vibratingMotion::getModel(), multiRotatingAxisMotion::getModel(), VectorDual< int8 >::insertSetElement(), VectorDual< int8 >::push_back(), and VectorDual< int8 >::VectorDual().
|
inline |
Definition at line 801 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::fillDevice(), VectorDual< int8 >::insertSetElement(), and VectorDual< int8 >::VectorDual().
|
inline |
Definition at line 806 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::syncToHost(), VectorDual< int8 >::syncViews(), VectorDual< int8 >::VectorDual(), and VectorDual< int8 >::write().
|
inline |
Definition at line 811 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::syncToDevice(), VectorDual< int8 >::syncViews(), and VectorDual< int8 >::VectorDual().
|
inline |
Definition at line 816 of file VectorDual.hpp.
|
inline |
Definition at line 823 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::syncToDevice(), and VectorDual< int8 >::syncViews().
|
inline |
Definition at line 832 of file VectorDual.hpp.
|
inline |
Definition at line 842 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::syncToHost(), and VectorDual< int8 >::syncViews().
|
inline |
Definition at line 850 of file VectorDual.hpp.
|
inline |
Definition at line 858 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::push_back().
|
inline |
Definition at line 866 of file VectorDual.hpp.
|
inline |
Definition at line 875 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), multiTriSurface::calculateVars(), VectorDual< int8 >::changeSize(), VectorDual< int8 >::deleteElement(), positionRandom::fillPoints(), rotatingAxisMotion::getModel(), vibratingMotion::getModel(), multiRotatingAxisMotion::getModel(), VectorDual< int8 >::insertSetElement(), positionRandom::positionOnePass(), and VectorDual< int8 >::resizeSync().
|
inline |
Definition at line 887 of file VectorDual.hpp.
|
inline |
Definition at line 901 of file VectorDual.hpp.
Referenced by pFlow::operator>>().
|
inline |
Definition at line 912 of file VectorDual.hpp.
Referenced by pFlow::operator<<().
|
protected |
Definition at line 94 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::empty(), VectorDual< int8 >::end(), VectorDual< int8 >::push_back(), VectorDual< int8 >::setSize(), VectorDual< int8 >::size(), VectorDual< int8 >::updateSubViews(), and VectorDual< int8 >::VectorDual().
|
protected |
Definition at line 96 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), VectorDual< int8 >::capacity(), VectorDual< int8 >::changeSize(), VectorDual< int8 >::operator=(), VectorDual< int8 >::push_back(), and VectorDual< int8 >::reallocate().
|
protected |
Definition at line 98 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::assign(), VectorDual< int8 >::changeSize(), VectorDual< int8 >::clear(), VectorDual< int8 >::copyDeviceToHost(), VectorDual< int8 >::copyHostToDevice(), VectorDual< int8 >::data(), VectorDual< int8 >::deleteElement(), VectorDual< int8 >::deviceRequiresSync(), VectorDual< int8 >::deviceVector(), VectorDual< int8 >::deviceVectorAll(), VectorDual< int8 >::fill(), VectorDual< int8 >::hostRequiresSync(), VectorDual< int8 >::hostVector(), VectorDual< int8 >::hostVectorAll(), VectorDual< int8 >::modifyOnDevice(), VectorDual< int8 >::modifyOnHost(), VectorDual< int8 >::name(), VectorDual< int8 >::operator=(), VectorDual< int8 >::operator[](), VectorDual< int8 >::reallocate(), VectorDual< int8 >::updateSubViews(), and VectorDual< int8 >::VectorDual().
|
mutableprotected |
Definition at line 100 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::deviceVector(), and VectorDual< int8 >::updateSubViews().
|
mutableprotected |
Definition at line 102 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::hostVector(), and VectorDual< int8 >::updateSubViews().
|
mutableprotected |
Definition at line 104 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::changeSize(), VectorDual< int8 >::push_back(), VectorDual< int8 >::setSize(), and VectorDual< int8 >::updateSubViews().
|
inlinestaticprotected |
Definition at line 106 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::evalCapacity().
|
staticconstexprprotected |
Definition at line 109 of file VectorDual.hpp.
|
inlinestaticprotected |
Definition at line 113 of file VectorDual.hpp.
Referenced by VectorDual< int8 >::memoerySpaceName().