Public Types | |
typedef Vector< T, Allocator > | VectorType |
typedef std::vector< T, Allocator > | vectorType |
typedef vectorType::iterator | iterator |
typedef vectorType::const_iterator | constIterator |
typedef vectorType::reference | reference |
typedef vectorType::const_reference | constReference |
typedef T | valueType |
typedef T * | pointer |
typedef std::initializer_list< T > | initList |
Public Member Functions | |
TypeInfoTemplateNV2 ("Vector", T, memoerySpaceName()) | |
Vector () | |
Vector (const word &name) | |
Vector (const size_t len) | |
Vector (const word &name, size_t len) | |
Vector (size_t len, const T &val) | |
Vector (const word &name, size_t len, const T &val) | |
Vector (const size_t cap, RESERVE) | |
Vector (const size_t cap, const size_t len, RESERVE) | |
Vector (const word &name, size_t cap, size_t len, RESERVE) | |
Vector (const size_t cap, const size_t len, const T &val, RESERVE) | |
Vector (const initList &l) | |
Vector (const word name, const Vector< T > &src) | |
Vector (const VectorType &src)=default | |
Vector (VectorType &&mv)=default | |
Vector (const vectorType &src) | |
VectorType & | operator= (const VectorType &rhs)=default |
VectorType & | operator= (const vectorType &rhs) |
VectorType & | operator= (VectorType &&mv)=default |
void | operator= (const T &val) |
~Vector () | |
uniquePtr< VectorType > | clone () const |
VectorType * | clonePtr () const |
auto | clear () |
const VectorType & | VectorField () const |
VectorType & | VectorField () |
const vectorType & | vectorField () const |
vectorType & | vectorField () |
auto & | deviceVectorAll () |
const auto & | deviceVectorAll () const |
auto & | deviceVector () |
const auto & | deviceVector () const |
const word & | name () const |
auto | size () const |
auto | capacity () const |
auto | reserve (label len) |
bool | deleteElement_sorted (const Vector< label > &indices) |
bool | deleteElement (const Vector< label > &indices) |
bool | deleteElement (label index) |
bool | insertSetElement (const int32IndexContainer &indices, const T &val) |
bool | insertSetElement (const int32IndexContainer &indices, const Vector< T > &vals) |
bool | insertSetElement (const Vector< int32 > &indices, const T &val) |
bool | insertSetElement (const Vector< int32 > &indices, const Vector< T > &vals) |
bool | insertSetElement (int32 idx, const T &val) |
void | fill (const T &val) |
void | operator+= (const T &val) |
void | operator-= (const T &val) |
void | operator*= (const T &val) |
void | operator/= (const T &val) |
void | operator+= (const VectorType &v) |
void | operator-= (const VectorType &v) |
void | operator/= (const VectorType &v) |
void | operator*= (const VectorType &v) |
VectorType | operator- () const |
Vector (iIstream &is) | |
bool | readVector (iIstream &is) |
bool | writeVector (iOstream &os) const |
bool | read (iIstream &is) |
bool | write (iOstream &os) const |
Static Public Member Functions | |
static constexpr bool | isHostAccessible () |
Public Attributes | |
const typedef T * | constPointer |
Static Protected Member Functions | |
static size_t | getVectorStride (const size_t &len) |
constexpr static const char * | memoerySpaceName () |
Protected Attributes | |
word | name_ |
Static Protected Attributes | |
static constexpr bool | isHostAccessible_ = true |
Definition at line 46 of file Vector.hpp.
typedef Vector<T, Allocator> VectorType |
Definition at line 71 of file Vector.hpp.
typedef std::vector<T, Allocator> vectorType |
Definition at line 73 of file Vector.hpp.
typedef vectorType::iterator iterator |
Definition at line 75 of file Vector.hpp.
typedef vectorType::const_iterator constIterator |
Definition at line 77 of file Vector.hpp.
typedef vectorType::reference reference |
Definition at line 79 of file Vector.hpp.
typedef vectorType::const_reference constReference |
Definition at line 81 of file Vector.hpp.
typedef T valueType |
Definition at line 83 of file Vector.hpp.
typedef T* pointer |
Definition at line 85 of file Vector.hpp.
typedef std::initializer_list<T> initList |
Definition at line 89 of file Vector.hpp.
|
inline |
Definition at line 123 of file Vector.hpp.
Definition at line 128 of file Vector.hpp.
|
inline |
Definition at line 133 of file Vector.hpp.
Definition at line 139 of file Vector.hpp.
|
inline |
Definition at line 148 of file Vector.hpp.
Definition at line 153 of file Vector.hpp.
Definition at line 162 of file Vector.hpp.
Definition at line 167 of file Vector.hpp.
Definition at line 174 of file Vector.hpp.
Definition at line 181 of file Vector.hpp.
Definition at line 190 of file Vector.hpp.
Definition at line 196 of file Vector.hpp.
|
inlinedefault |
|
inlinedefault |
|
inline |
Definition at line 207 of file Vector.hpp.
|
inline |
Definition at line 233 of file Vector.hpp.
Definition at line 23 of file Vector.cpp.
|
inlinestaticprotected |
Definition at line 96 of file Vector.hpp.
|
inlinestaticconstexprprotected |
Definition at line 109 of file Vector.hpp.
TypeInfoTemplateNV2 | ( | "Vector< T, Allocator >" | , |
T | , | ||
memoerySpaceName() | |||
) |
|
inlinedefault |
|
inline |
Definition at line 218 of file Vector.hpp.
|
inlinedefault |
|
inline |
Definition at line 228 of file Vector.hpp.
|
inline |
Definition at line 238 of file Vector.hpp.
|
inline |
Definition at line 243 of file Vector.hpp.
|
inline |
Definition at line 248 of file Vector.hpp.
Referenced by multiTriSurface::clear(), Vector< word, vecAllocator< word > >::deleteElement_sorted(), geometry::findPropertyId(), pointStructure::getNewPointsIndices(), shapeMixture::getNextShapeNameN(), InsertionRegion< ShapeType >::insertParticles(), positionRandom::positionOnePass(), stlFile::readSolid(), selectBox::selectAllPointsInBox(), selectRandom::selectAllPointsInRange(), selectRange::selectAllPointsInRange(), sphereShape::shapeToDiameter(), positionParticles::sortByMortonCode(), triSurface::triSurface(), and sphereShape::writeDictionary().
|
inline |
Definition at line 254 of file Vector.hpp.
|
inline |
Definition at line 259 of file Vector.hpp.
|
inline |
Definition at line 264 of file Vector.hpp.
|
inline |
Definition at line 269 of file Vector.hpp.
|
inline |
Definition at line 274 of file Vector.hpp.
|
inline |
Definition at line 279 of file Vector.hpp.
|
inline |
Definition at line 284 of file Vector.hpp.
|
inline |
Definition at line 289 of file Vector.hpp.
|
inline |
Definition at line 294 of file Vector.hpp.
|
inline |
Definition at line 299 of file Vector.hpp.
Referenced by triSurface::addTriangle(), symArray< nonLinearProperties >::assign(), VectorSingle< realx3, void >::assign(), VectorDual< int8 >::assign(), multiTriSurface::calculateVars(), Vector< word, vecAllocator< word > >::deleteElement(), VectorDual< int8 >::deleteElement(), Vector< word, vecAllocator< word > >::deleteElement_sorted(), pFlow::fillSequence(), Insertion< ShapeType >::insertParticles(), InsertionRegion< ShapeType >::insertParticles(), sphereParticles::insertParticles(), pointStructure::insertPoints(), Vector< word, vecAllocator< word > >::insertSetElement(), VectorSingle< realx3, void >::insertSetElement(), VectorDual< int8 >::insertSetElement(), sphereParticles::insertSphereParticles(), property::makeNameIndex(), pFlow::max(), pFlow::min(), positionOrdered::numPoints(), positionRandom::numPoints(), Vector< word, vecAllocator< word > >::operator*=(), Vector< word, vecAllocator< word > >::operator+=(), Vector< word, vecAllocator< word > >::operator-=(), Vector< word, vecAllocator< word > >::operator/=(), pFlow::pow(), sphereShape::readDictionary(), property::readDictionary(), linear< limited >::readLinearDictionary(), nonLinear< limited >::readNonLinearDictionary(), nonLinearMod< limited >::readNonLinearDictionary(), positionOrdered::size(), positionRandom::size(), shapeMixture::size(), positionParticles::sortByMortonCode(), pFlow::sum(), symArray< nonLinearProperties >::write(), VectorSingle< realx3, void >::write(), and VectorDual< int8 >::write().
|
inline |
Definition at line 304 of file Vector.hpp.
Referenced by VectorSingle< realx3, void >::assign(), InsertionRegion< ShapeType >::insertParticles(), pFlow::pow(), and positionParticles::sortByMortonCode().
|
inline |
Definition at line 309 of file Vector.hpp.
Referenced by InsertionRegion< ShapeType >::insertParticles(), selectBox::selectAllPointsInBox(), selectRandom::selectAllPointsInRange(), selectRange::selectAllPointsInRange(), and Vector< word, vecAllocator< word > >::Vector().
Definition at line 124 of file Vector.cpp.
Definition at line 166 of file Vector.cpp.
bool deleteElement | ( | label | index | ) |
Definition at line 185 of file Vector.cpp.
bool insertSetElement | ( | const int32IndexContainer & | indices, |
const T & | val | ||
) |
Definition at line 201 of file Vector.cpp.
bool insertSetElement | ( | const int32IndexContainer & | indices, |
const Vector< T > & | vals | ||
) |
Definition at line 233 of file Vector.cpp.
Definition at line 266 of file Vector.cpp.
Definition at line 297 of file Vector.cpp.
|
inline |
Definition at line 328 of file Vector.cpp.
|
inline |
Definition at line 22 of file VectorI.hpp.
Referenced by Vector< word, vecAllocator< word > >::operator=().
|
inlinestaticconstexpr |
Definition at line 349 of file Vector.hpp.
|
inline |
Definition at line 29 of file VectorI.hpp.
|
inline |
Definition at line 39 of file VectorI.hpp.
|
inline |
Definition at line 49 of file VectorI.hpp.
|
inline |
Definition at line 59 of file VectorI.hpp.
|
inline |
Definition at line 69 of file VectorI.hpp.
|
inline |
Definition at line 88 of file VectorI.hpp.
|
inline |
Definition at line 126 of file VectorI.hpp.
|
inline |
Definition at line 107 of file VectorI.hpp.
|
inline |
Definition at line 146 of file VectorI.hpp.
bool readVector | ( | iIstream & | is | ) |
Definition at line 30 of file Vector.cpp.
Referenced by pFlow::operator>>(), and Vector< word, vecAllocator< word > >::read().
bool writeVector | ( | iOstream & | os | ) | const |
Definition at line 90 of file Vector.cpp.
Referenced by pFlow::operator<<(), and Vector< word, vecAllocator< word > >::write().
|
inline |
Definition at line 378 of file Vector.hpp.
Referenced by symArray< nonLinearProperties >::read(), VectorSingle< realx3, void >::read(), and VectorDual< int8 >::read().
|
inline |
Definition at line 383 of file Vector.hpp.
Referenced by symArray< nonLinearProperties >::write(), VectorSingle< realx3, void >::write(), and VectorDual< int8 >::write().
const typedef T* constPointer |
Definition at line 87 of file Vector.hpp.
|
protected |
Definition at line 94 of file Vector.hpp.
Referenced by Vector< word, vecAllocator< word > >::name(), and Vector< word, vecAllocator< word > >::Vector().
|
staticconstexprprotected |
Definition at line 107 of file Vector.hpp.
Referenced by Vector< word, vecAllocator< word > >::isHostAccessible().