dune-fem 2.12-git
Loading...
Searching...
No Matches
printhelp.cc
Go to the documentation of this file.
1//**************************************************************
2// (C) written and directecd by Robert Kloefkorn
3//**************************************************************
4
5#ifndef __PRINTHELP_CC__
6#define __PRINTHELP_CC__
7
8static void print_help(const char *funcName)
9{
10 printf("Alternative 1:\n");
11 printf("usage: %s paramfile:paramfile <i_start> <i_end>", funcName);
12 printf("%s reads a sequence of grids with discretefunctions\n",
13 funcName);
14 printf(" and displays all data with GRAPE\n");
15 printf(" The parameters fem.prefix and fem.io.datafileprefix \n");
16 printf(" are read from the parameterfile. \n");
17
18 printf("Alternative 2:\n");
19 printf("usage: %s <i_start> <i_end> -i increment", funcName);
20 printf(" [-h] [-help] [-p path] ");
21 printf("[-m grid] [-s df] [-v vecdf] [[-s drv] [-v drdv]] [-replay manager.replay file]\n");
22
23 printf("%s reads a sequence of grids with discretefunctions\n",
24 funcName);
25 printf(" and displays all data with GRAPE\n");
26 printf("options:\n");
27 printf(" -h or -help: display this help\n");
28 printf(" -f: use one fixed grid (from non adaptive simulations)\n");
29 printf(" -p path: read data from path \n");
30 printf(" -m grid: basename of data files \n");
31 printf(" -s df: read discrete function with basename 'df'\n");
32
33 printf("Example\n");
34 printf("%s 0 10 -i 5 -s u_h \n",funcName);
35 printf(" reads grid grid0000000000 with scalar function u_h0000000000 and\n");
36 printf(" then grid0000000005 with u_h0000000005 and\n");
37 printf(" and finally grid0000000010 with u_h0000000010\n");
38 exit(0);
39}
40#endif
static void print_help(const char *funcName)
Definition printhelp.cc:8