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
SerialDriverProgram ( int  nargs,
char **  args 
)
inline

Constructor designed to take the commandline args.

Definition at line 204 of file Driver.H.

204  :
205  SerialProgramType(nargs,args), argc(nargs), argv(args)
206  {
207  int nargs_dupe = 2;
208  char **args_dupe;
209  args_dupe = new char * [3];
210  args_dupe[0] = const_cast<char *>("test");
211  args_dupe[1] = const_cast<char *>("-com-mpi");
212  args_dupe[2] = NULL;
213  COM_init(&nargs_dupe,&args_dupe);
214  };
char ** argv
Object-local copy for argv.
Definition: Driver.H:193
int argc
Object-local copy for argc.
Definition: Driver.H:191
IRAD::Global::Program< GlobalType, ComLineType > SerialProgramType
Convenience type definition for the serial program.
Definition: Driver.H:126