This file contains function prototypes and constant definitions for METIS. More...
#include <inttypes.h>
Go to the source code of this file.
Macros | |
#define | iabs abs |
#define | IDX_MAX INT32_MAX |
#define | IDX_MIN INT32_MIN |
#define | IDXTYPEWIDTH 32 |
#define | METIS_API(type) type |
#define | METIS_NOPTIONS 40 |
#define | METIS_VER_MAJOR 5 |
#define | METIS_VER_MINOR 1 |
#define | METIS_VER_SUBMINOR 0 |
#define | PRIDX PRId32 |
#define | PRREAL "f" |
#define | rabs fabsf |
#define | REAL_EPSILON FLT_EPSILON |
#define | REAL_MAX FLT_MAX |
#define | REAL_MIN FLT_MIN |
#define | REALEQ(x, y) ((rabs((x)-(y)) <= FLT_EPSILON)) |
#define | REALTYPEWIDTH 32 |
#define | SCIDX SCNd32 |
#define | SCREAL "f" |
#define | strtoidx strtol |
#define | strtoreal strtof |
Typedefs | |
typedef int32_t | idx_t |
typedef float | real_t |
Functions | |
METIS_API (int) METIS_PartGraphRecursive(idx_t *nvtxs | |
This file contains function prototypes and constant definitions for METIS.
$Id$
Definition in file include/metis.h.
#define iabs abs |
Definition at line 110 of file include/metis.h.
#define IDX_MAX INT32_MAX |
Definition at line 103 of file include/metis.h.
#define IDX_MIN INT32_MIN |
Definition at line 104 of file include/metis.h.
#define IDXTYPEWIDTH 32 |
Definition at line 33 of file include/metis.h.
Definition at line 188 of file include/metis.h.
#define METIS_NOPTIONS 40 |
Definition at line 175 of file include/metis.h.
#define METIS_VER_MAJOR 5 |
Definition at line 170 of file include/metis.h.
#define METIS_VER_MINOR 1 |
Definition at line 171 of file include/metis.h.
#define METIS_VER_SUBMINOR 0 |
Definition at line 172 of file include/metis.h.
#define PRIDX PRId32 |
Definition at line 107 of file include/metis.h.
#define PRREAL "f" |
Definition at line 135 of file include/metis.h.
#define rabs fabsf |
Definition at line 140 of file include/metis.h.
#define REAL_EPSILON FLT_EPSILON |
Definition at line 138 of file include/metis.h.
#define REAL_MAX FLT_MAX |
Definition at line 136 of file include/metis.h.
#define REAL_MIN FLT_MIN |
Definition at line 137 of file include/metis.h.
Definition at line 141 of file include/metis.h.
#define REALTYPEWIDTH 32 |
Definition at line 43 of file include/metis.h.
#define SCIDX SCNd32 |
Definition at line 106 of file include/metis.h.
#define SCREAL "f" |
Definition at line 134 of file include/metis.h.
#define strtoidx strtol |
Definition at line 109 of file include/metis.h.
#define strtoreal strtof |
Definition at line 146 of file include/metis.h.
Definition at line 101 of file include/metis.h.
typedef float real_t |
Definition at line 132 of file include/metis.h.
enum mctype_et |
Coarsening Schemes
Enumerator | |
---|---|
METIS_CTYPE_RM | |
METIS_CTYPE_SHEM |
Definition at line 314 of file include/metis.h.
enum mdbglvl_et |
Debug Levels
Definition at line 339 of file include/metis.h.
enum mgtype_et |
Graph types for meshes
Enumerator | |
---|---|
METIS_GTYPE_DUAL | |
METIS_GTYPE_NODAL |
Definition at line 308 of file include/metis.h.
enum miptype_et |
Initial partitioning schemes
Enumerator | |
---|---|
METIS_IPTYPE_GROW | |
METIS_IPTYPE_RANDOM | |
METIS_IPTYPE_EDGE | |
METIS_IPTYPE_NODE | |
METIS_IPTYPE_METISRB |
Definition at line 320 of file include/metis.h.
enum mobjtype_et |
Enumerator | |
---|---|
METIS_OBJTYPE_CUT | |
METIS_OBJTYPE_VOL | |
METIS_OBJTYPE_NODE |
Definition at line 354 of file include/metis.h.
enum moptions_et |
Options codes (i.e., options[])
Definition at line 270 of file include/metis.h.
enum moptype_et |
Operation type codes
Enumerator | |
---|---|
METIS_OP_PMETIS | |
METIS_OP_KMETIS | |
METIS_OP_OMETIS |
Definition at line 262 of file include/metis.h.
enum mptype_et |
Partitioning Schemes
Enumerator | |
---|---|
METIS_PTYPE_RB | |
METIS_PTYPE_KWAY |
Definition at line 302 of file include/metis.h.
enum mrtype_et |
Refinement schemes
Enumerator | |
---|---|
METIS_RTYPE_FM | |
METIS_RTYPE_GREEDY | |
METIS_RTYPE_SEP2SIDED | |
METIS_RTYPE_SEP1SIDED |
Definition at line 330 of file include/metis.h.
enum rstatus_et |
Return codes
Enumerator | |
---|---|
METIS_OK | Returned normally |
METIS_ERROR_INPUT | Returned due to erroneous inputs and/or options |
METIS_ERROR_MEMORY | Returned due to insufficient memory |
METIS_ERROR | Some other errors |
Definition at line 253 of file include/metis.h.
METIS_API | ( | int | ) |
Definition at line 198 of file include/metis.h.
Definition at line 200 of file include/metis.h.
Definition at line 207 of file include/metis.h.
Definition at line 215 of file include/metis.h.
Definition at line 207 of file include/metis.h.
idx_t * ncon |
Definition at line 197 of file include/metis.h.
idx_t * nn |
Definition at line 207 of file include/metis.h.
Definition at line 215 of file include/metis.h.
Definition at line 215 of file include/metis.h.
Definition at line 234 of file include/metis.h.
Definition at line 199 of file include/metis.h.
Definition at line 199 of file include/metis.h.
Definition at line 198 of file include/metis.h.
idx_t * xadj |
Definition at line 197 of file include/metis.h.