UQTk: Uncertainty Quantification Toolkit 3.1.5
gen_mi.cpp File Reference

Command-line utility to generate multiindex. More...

#include "tools.h"
#include "arrayio.h"
#include "arraytools.h"
#include <unistd.h>

Macros

#define MI_TYPE   "TO"
 default multiindex type
 
#define MI_SEQ   "NONE"
 default multiindex sequence
 
#define ORD   1
 default order
 
#define DIM   3
 default dimensionality

 
#define PARAM_FILE   "mi_param.dat"
 default parameter filename
 
#define VERBOSITY   1
 default verbosity
 

Functions

int usage ()
 Displays information about this program.
 
int main (int argc, char *argv[])
 Main program: Generates multiindex of requested type with given parameters.
 

Detailed Description

Command-line utility to generate multiindex.

Author
K. Sargsyan 2014 -

Macro Definition Documentation

◆ DIM

#define DIM   3

default dimensionality

◆ MI_SEQ

#define MI_SEQ   "NONE"

default multiindex sequence

◆ MI_TYPE

#define MI_TYPE   "TO"

default multiindex type

◆ ORD

#define ORD   1

default order

◆ PARAM_FILE

#define PARAM_FILE   "mi_param.dat"

default parameter filename

◆ VERBOSITY

#define VERBOSITY   1

default verbosity

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Main program: Generates multiindex of requested type with given parameters.

Set the default values

Read the user input

Print the input information on screen

Write to file mindex.dat

◆ usage()

int usage ( )

Displays information about this program.