make pre-processor defines for using libc's qsort() consistent
This commit is contained in:
@ -33,7 +33,7 @@ class Dump : protected Pointers {
|
|||||||
int comm_forward; // size of forward communication (0 if none)
|
int comm_forward; // size of forward communication (0 if none)
|
||||||
int comm_reverse; // size of reverse communication (0 if none)
|
int comm_reverse; // size of reverse communication (0 if none)
|
||||||
|
|
||||||
#if defined(LMP_USE_LIBC_QSORT)
|
#if defined(LMP_QSORT)
|
||||||
// static variable across all Dump objects
|
// static variable across all Dump objects
|
||||||
static Dump *dumpptr; // holds a ptr to Dump currently being used
|
static Dump *dumpptr; // holds a ptr to Dump currently being used
|
||||||
#endif
|
#endif
|
||||||
@ -135,7 +135,7 @@ class Dump : protected Pointers {
|
|||||||
void pbc_allocate();
|
void pbc_allocate();
|
||||||
|
|
||||||
void sort();
|
void sort();
|
||||||
#if defined(LMP_USE_LIBC_QSORT)
|
#if defined(LMP_QSORT)
|
||||||
static int idcompare(const void *, const void *);
|
static int idcompare(const void *, const void *);
|
||||||
static int bufcompare(const void *, const void *);
|
static int bufcompare(const void *, const void *);
|
||||||
static int bufcompare_reverse(const void *, const void *);
|
static int bufcompare_reverse(const void *, const void *);
|
||||||
|
|||||||
@ -21,7 +21,7 @@ namespace LAMMPS_NS {
|
|||||||
class Irregular : protected Pointers {
|
class Irregular : protected Pointers {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#if defined(LMP_USE_LIBC_QSORT)
|
#if defined(LMP_QSORT)
|
||||||
// static variable across all Irregular objects, for qsort callback
|
// static variable across all Irregular objects, for qsort callback
|
||||||
|
|
||||||
static int *proc_recv_copy;
|
static int *proc_recv_copy;
|
||||||
|
|||||||
Reference in New Issue
Block a user