ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
void Initialize ( )
inline

This is where the actual options and arguments are described.

For details about what can be done in this function, see the documentation for the IRAD::Util::ComLineObject.

Definition at line 88 of file Driver.H.

88  {
89  AddOption('h',"help");
90  AddOption('d',"debug");
91  AddOption('v',"verbosity",1);
92  AddOption('o',"output",2,"filename");
93  // AddArgument("input",1);
94  AddHelp("help","Prints this long version of help.");
95  AddHelp("debug","Turns on debugging output.");
96  AddHelp("output","Specifies the name of the output file.");
97  AddArgument("inputfile",1);
98  std::ostringstream Ostr;
99  Ostr << "A configuration file with parameters.";
100  // Ostr << "Mode-dependent input: Input <filename> for serial example"
101  // << "\n\t\tprogram, or <number of divisions> for parallel example.";
102  AddArgHelp("inputfile",Ostr.str());
103  // The following commented string formation is kept around to
104  // illustrate the required tabs and newlines to make the output
105  // look proper:
106  //
107  // Ostr << "Use fixed problem size in scalability analysis. Only makes"
108  // << "\n\t\tsense when scalability mode is enabled.";
109  // Ostr.str("");
110  Ostr.str("");
111  Ostr << "Example ElmerFoamFSI program.";
112  _description.assign(Ostr.str());
113  };