39 void usage(
const char *progName,
const std :: string &errorMsg)
41 if ( errorMsg.size() > 0 ) {
42 std :: string errorMessageOut =
"\nUsage: ";
43 errorMessageOut += progName;
44 errorMessageOut +=
" [options]\n";
45 errorMessageOut += errorMsg;
46 errorMessageOut +=
"\n\nThe list of arguments for this program is:\n"
47 "each one of these arguments has a default value\n"
48 "we recommend the use the default parameter file \"programName.input\"\n"
49 "--outputPath=\"../../output/\"\n"
50 "--outputDirName=\"3block_clockwise\"\n"
57 "--bCDistType=\"random\"\n"
58 "--bADistType=\"random\"\n"
65 std :: cout << errorMessageOut <<
"\n";
70 int main(
int argc,
char **argv)
72 std :: cout <<
"\n--> BEGIN PROGRAM\n\n";
77 std :: cout <<
"\n--> END PROGRAM\n\n";