Chombo + EB
3.0
|
#include <sort.H>
Public Member Functions | |
ParticleVector (unsigned int size) | |
void | global_sort (Comparator a_less, const int a_version=2) |
Public Member Functions inherited from Vector< T > | |
Vector () | |
virtual | ~Vector () |
Vector (const Vector< T > &invec) | |
Vector (const std::vector< T > &invec) | |
Vector< T > & | operator= (const std::vector< T > &invec) |
Vector< T > & | operator= (const Vector< T > &invec) |
Vector< T > & | assign (const T &inval) |
assign a scalar to every element of the vector More... | |
Vector (unsigned int isize) | |
void | clear () |
size_t | size () const |
Vector (unsigned int isize, const T &value) | |
T & | operator[] (unsigned int n) |
const T & | operator[] (unsigned int n) const |
T & | front () |
T & | back () |
void | pop_back () |
const T & | back () const |
void | swap (Vector< T > &other) |
void | push_back (const T &in) |
void | append (const Vector< T > &invec) |
void | resize (unsigned int isize) |
void | reserve (size_t isize) |
size_t | capacity () const |
void | resize (unsigned int isize, const T &value) |
void | sort () |
std::vector< T > & | stdVector () |
Returns std::vector under the hood. More... | |
const std::vector< T > & | constStdVector () const |
Private Member Functions | |
T * | memsort (T *a_data, int *a_local_len, const int a_capacity, Comparator a_less, const int a_version=2) |
|
inline |
void ParticleVector< T, Comparator >::global_sort | ( | Comparator | a_less, |
const int | a_version = 2 |
||
) |
|
private |
References CH_assert, CH_START, CH_STOP, CH_TIMER, CH_TIMERS, min(), and sort_messages().
Referenced by ParticleVector< T, Comparator >::global_sort(), and ParticleVector< T, Comparator >::ParticleVector().