PPL Logo

libs/ck-libs/metis/programs/cmdline_ndmetis.c File Reference

Command-line argument parsing for ndmetis. More...

Go to the source code of this file.

Functions

params_tparse_cmdline (int argc, char *argv[])

Variables

static struct gk_option long_options []
static gk_StringMap_t ctype_options []
static gk_StringMap_t iptype_options []
static gk_StringMap_t rtype_options []
static char helpstr [][100]
static char shorthelpstr [][100]


Detailed Description

Command-line argument parsing for ndmetis.

Date:
12/24/2008
Author:
George
Version:
$Id: cmdline_ndmetis.c 13900 2013-03-24 15:27:07Z karypis $

Definition in file cmdline_ndmetis.c.


Function Documentation

params_t* parse_cmdline ( int  argc,
char *  argv[] 
)


Variable Documentation

struct gk_option long_options[] [static]

Initial value:

 {
  {"ctype",          1,      0,      METIS_OPTION_CTYPE},
  {"iptype",         1,      0,      METIS_OPTION_IPTYPE},
  {"rtype",          1,      0,      METIS_OPTION_RTYPE}, 
  {"ufactor",        1,      0,      METIS_OPTION_UFACTOR},
  {"pfactor",        1,      0,      METIS_OPTION_PFACTOR},
  {"nocompress",     0,      0,      METIS_OPTION_COMPRESS},
  {"ccorder",        0,      0,      METIS_OPTION_CCORDER},
  {"no2hop",         0,      0,      METIS_OPTION_NO2HOP},
  {"nooutput",       0,      0,      METIS_OPTION_NOOUTPUT},
  {"niter",          1,      0,      METIS_OPTION_NITER},
  {"nseps",          1,      0,      METIS_OPTION_NSEPS},
  {"seed",           1,      0,      METIS_OPTION_SEED},
  {"dbglvl",         1,      0,      METIS_OPTION_DBGLVL},
  {"help",           0,      0,      METIS_OPTION_HELP},
  {0,                0,      0,      0}
}

Definition at line 16 of file cmdline_ndmetis.c.

Initial value:

 {
 {"rm",                 METIS_CTYPE_RM},
 {"shem",               METIS_CTYPE_SHEM},
 {NULL,                 0}
}

Definition at line 35 of file cmdline_ndmetis.c.

Initial value:

 {
 {"edge",               METIS_IPTYPE_EDGE},
 {"node",               METIS_IPTYPE_NODE},
 {NULL,                 0}
}

Definition at line 41 of file cmdline_ndmetis.c.

Initial value:

 {
 {"2sided",             METIS_RTYPE_SEP2SIDED},
 {"1sided",             METIS_RTYPE_SEP1SIDED},
 {NULL,                 0}
}

Definition at line 47 of file cmdline_ndmetis.c.

char helpstr[][100] [static]

Definition at line 58 of file cmdline_ndmetis.c.

char shorthelpstr[][100] [static]

Initial value:

 {
" ",
"   Usage: ndmetis [options] <filename>",
"          use 'ndmetis -help' for a summary of the options.",
""
}

Definition at line 139 of file cmdline_ndmetis.c.


Generated on Mon Sep 21 08:10:21 2020 for Charm++ by  doxygen 1.5.5