rheolef  6.3
Classes | Namespaces | Macros | Functions
geo_mpi_dual.cc File Reference
#include "rheolef/config.h"
#include "geo_partition_scotch.h"
#include <algorithm>
Include dependency graph for geo_mpi_dual.cc:

Go to the source code of this file.

Classes

struct  rheolef::stack_node

Namespaces

namespace  rheolef
 irheostream, orheostream - large data streams

Macros

#define MAX_THRESH   20
#define QSSWAP(a, b, stmp)   do { stmp = (a); (a) = (b); (b) = stmp; } while (0)
#define STACK_SIZE   (8 * sizeof(unsigned long int))
#define PUSH(low, high)   ((void) ((top->lo = (low)), (top->hi = (high)), ++top))
#define POP(low, high)   ((void) (--top, (low = top->lo), (high = top->hi)))
#define STACK_NOT_EMPTY   (stack < top)

Functions

static void rheolef::ikeysort (int total_elems, KeyValueType *pbase)
void rheolef::geo_dual (my_idxtype *elmdist, my_idxtype *eptr, vector< my_idxtype > &eind, int *ncommonnodes, vector< my_idxtype > &xadj, vector< my_idxtype > &adjncy, const mpi::communicator &comm)

Macro Definition Documentation

#define MAX_THRESH   20

Definition at line 274 of file geo_mpi_dual.cc.

#define QSSWAP (   a,
  b,
  stmp 
)    do { stmp = (a); (a) = (b); (b) = stmp; } while (0)

Definition at line 277 of file geo_mpi_dual.cc.

#define STACK_SIZE   (8 * sizeof(unsigned long int))

Definition at line 287 of file geo_mpi_dual.cc.

#define PUSH (   low,
  high 
)    ((void) ((top->lo = (low)), (top->hi = (high)), ++top))

Definition at line 288 of file geo_mpi_dual.cc.

#define POP (   low,
  high 
)    ((void) (--top, (low = top->lo), (high = top->hi)))

Definition at line 289 of file geo_mpi_dual.cc.

#define STACK_NOT_EMPTY   (stack < top)

Definition at line 290 of file geo_mpi_dual.cc.