IOSS 2.0
Loading...
Searching...
No Matches
anonymous_namespace{Utst_sort.C} Namespace Reference

Functions

std::mt19937_64 rng (rd())
 
template<typename INT >
bool verify_sorted (const std::vector< INT > &v)
 
std::vector< int64_t > generate_vector (int dist, size_t n, size_t m)
 

Variables

const int sawtooth = 1
 
const int do_rand = 2
 
const int stagger = 3
 
const int plateau = 4
 
const int shuffle = 5
 
std::random_device rd
 

Function Documentation

◆ generate_vector()

std::vector< int64_t > anonymous_namespace{Utst_sort.C}::generate_vector ( int dist,
size_t n,
size_t m )

◆ rng()

std::mt19937_64 anonymous_namespace{Utst_sort.C}::rng ( rd() )

◆ verify_sorted()

template<typename INT >
bool anonymous_namespace{Utst_sort.C}::verify_sorted ( const std::vector< INT > & v)

Variable Documentation

◆ do_rand

const int anonymous_namespace{Utst_sort.C}::do_rand = 2

◆ plateau

const int anonymous_namespace{Utst_sort.C}::plateau = 4

◆ rd

std::random_device anonymous_namespace{Utst_sort.C}::rd

◆ sawtooth

const int anonymous_namespace{Utst_sort.C}::sawtooth = 1

◆ shuffle

const int anonymous_namespace{Utst_sort.C}::shuffle = 5

◆ stagger

const int anonymous_namespace{Utst_sort.C}::stagger = 3