Functions | Variables
cmdline_ndmetis.c File Reference

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

#include "metisbin.h"
Include dependency graph for cmdline_ndmetis.c:

Go to the source code of this file.

Functions

params_tparse_cmdline (int argc, char *argv[])
 

Variables

static gk_StringMap_t ctype_options []
 
static char helpstr [][100]
 
static gk_StringMap_t iptype_options []
 
static struct gk_option long_options []
 
static gk_StringMap_t rtype_options []
 
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

◆ parse_cmdline()

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

This is the entry point of the command-line argument parser

Definition at line 151 of file cmdline_ndmetis.c.

Variable Documentation

◆ ctype_options

gk_StringMap_t ctype_options[]
static
Initial value:
= {
{"rm", METIS_CTYPE_RM},
{"shem", METIS_CTYPE_SHEM},
{NULL, 0}
}

Definition at line 35 of file cmdline_ndmetis.c.

◆ helpstr

char helpstr[][100]
static

Definition at line 58 of file cmdline_ndmetis.c.

◆ iptype_options

gk_StringMap_t iptype_options[]
static
Initial value:
= {
{"edge", METIS_IPTYPE_EDGE},
{"node", METIS_IPTYPE_NODE},
{NULL, 0}
}

Definition at line 41 of file cmdline_ndmetis.c.

◆ long_options

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.

◆ rtype_options

gk_StringMap_t rtype_options[]
static
Initial value:
= {
{"2sided", METIS_RTYPE_SEP2SIDED},
{"1sided", METIS_RTYPE_SEP1SIDED},
{NULL, 0}
}

Definition at line 47 of file cmdline_ndmetis.c.

◆ shorthelpstr

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.

METIS_OPTION_UFACTOR
@ METIS_OPTION_UFACTOR
Definition: include/metis.h:287
METIS_OPTION_NOOUTPUT
@ METIS_OPTION_NOOUTPUT
Definition: include/metis.h:294
METIS_OPTION_SEED
@ METIS_OPTION_SEED
Definition: include/metis.h:279
METIS_OPTION_COMPRESS
@ METIS_OPTION_COMPRESS
Definition: include/metis.h:283
METIS_IPTYPE_EDGE
@ METIS_IPTYPE_EDGE
Definition: include/metis.h:323
METIS_CTYPE_SHEM
@ METIS_CTYPE_SHEM
Definition: include/metis.h:316
METIS_OPTION_NITER
@ METIS_OPTION_NITER
Definition: include/metis.h:277
METIS_OPTION_IPTYPE
@ METIS_OPTION_IPTYPE
Definition: include/metis.h:274
METIS_OPTION_CTYPE
@ METIS_OPTION_CTYPE
Definition: include/metis.h:273
METIS_RTYPE_SEP1SIDED
@ METIS_RTYPE_SEP1SIDED
Definition: include/metis.h:334
METIS_OPTION_DBGLVL
@ METIS_OPTION_DBGLVL
Definition: include/metis.h:276
METIS_CTYPE_RM
@ METIS_CTYPE_RM
Definition: include/metis.h:315
METIS_OPTION_RTYPE
@ METIS_OPTION_RTYPE
Definition: include/metis.h:275
METIS_RTYPE_SEP2SIDED
@ METIS_RTYPE_SEP2SIDED
Definition: include/metis.h:333
METIS_OPTION_NO2HOP
@ METIS_OPTION_NO2HOP
Definition: include/metis.h:280
METIS_IPTYPE_NODE
@ METIS_IPTYPE_NODE
Definition: include/metis.h:324
NULL
#define NULL
Definition: ccolamd.c:609
METIS_OPTION_HELP
@ METIS_OPTION_HELP
Definition: include/metis.h:291
METIS_OPTION_PFACTOR
@ METIS_OPTION_PFACTOR
Definition: include/metis.h:285
METIS_OPTION_CCORDER
@ METIS_OPTION_CCORDER
Definition: include/metis.h:284
METIS_OPTION_NSEPS
@ METIS_OPTION_NSEPS
Definition: include/metis.h:286


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:15