40 for (
int i = 0; i <
N; i++)
42 m_elements[i].m_id = i;
43 m_elements[i].m_sz = 1;
61 int numElements = m_elements.
size();
63 for (
int i = 0; i < numElements; i++)
65 m_elements[i].m_id =
find(i);
66 #ifndef STATIC_SIMULATION_ISLAND_OPTIMIZATION
67 m_elements[i].m_sz = i;
SIMD_FORCE_INLINE void clear()
clear the array, deallocated memory. Generally it is better to use array.resize(0),...
SIMD_FORCE_INLINE int size() const
return the number of elements in the array
SIMD_FORCE_INLINE void resize(int newsize, const T &fillData=T())
void quickSort(const L &CompareFunc)
bool operator()(const btElement &lhs, const btElement &rhs) const