mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
55 lines
1.1 KiB
C
55 lines
1.1 KiB
C
/*
|
|
* struct.h
|
|
*
|
|
* This file contains data structures for the various programs of METIS.
|
|
*
|
|
* Started 8/9/02
|
|
* George
|
|
*
|
|
* $Id: struct.h,v 1.8 2003/04/04 23:22:50 karypis Exp $
|
|
*/
|
|
|
|
#ifndef _STRUCTBIN_H_
|
|
#define _STRUCTBIN_H_
|
|
|
|
|
|
/*************************************************************************
|
|
* The following data structure implements a string-2-idxtype mapping
|
|
* table used for parsing command-line options
|
|
**************************************************************************/
|
|
typedef struct {
|
|
char *name;
|
|
idxtype id;
|
|
} StringMapType;
|
|
|
|
|
|
|
|
/*************************************************************************
|
|
* This data structure stores the various command line arguments
|
|
**************************************************************************/
|
|
typedef struct {
|
|
idxtype mtype;
|
|
idxtype itype;
|
|
idxtype rtype;
|
|
|
|
idxtype balance;
|
|
idxtype ntrials;
|
|
idxtype niter;
|
|
|
|
idxtype seed;
|
|
idxtype dbglvl;
|
|
|
|
idxtype nparts;
|
|
|
|
char *filename;
|
|
char *xyzfilename;
|
|
char *tpwgts;
|
|
|
|
float iotimer;
|
|
float clustertimer;
|
|
float reporttimer;
|
|
} ParamType;
|
|
|
|
|
|
#endif
|