src/sim/sim_dmc.c
int dmc_init(dynam_t * dyn, int argc, char ** argv) {

  int ifail = 0;
  int verbose = 0;

  if (argc < 3) return -1;

  ifail += dmc_read_components(dyn, argv[1]);
  ifail += dmc_read_reactions(dyn, argv[2]);
  if (verbose) ifail += dmc_print_reactions(dyn);
  ifail += ranlcg_create(23, &dyn->rng);

  return ifail;
}
/*****************************************************************************
 *
 *  dmc_init
 *
 *  A command line is expected in the following form:
 * 
 *  "./a.out <component file> <reaction file>"
 *
 *****************************************************************************/
dmc_init
A command line is expected in the following form.


dmc_init A command line is expected in the following form .
int dmc_init(dynam_t * dyn, int argc, char ** argv) {
  int ifail = 0;
  int verbose = 0;
  if (argc < 3) return -1;
  ifail += dmc_read_components(dyn, argv[1]);
  ifail += dmc_read_reactions(dyn, argv[2]);
  if (verbose) ifail += dmc_print_reactions(dyn);
  ifail += ranlcg_create(23, &dyn->rng);
  return ifail;
}
int dmc_init ( dynam_t * dyn , int argc , char * * argv ) { int ifail = 0 ; int verbose = 0 ; if ( argc < 3 ) return -1 ; ifail += dmc_read_components ( dyn , argv [ 1 ] ) ; ifail += dmc_read_reactions ( dyn , argv [ 2 ] ) ; if ( verbose ) ifail += dmc_print_reactions ( dyn ) ; ifail += ranlcg_create ( 23 , & dyn -> rng ) ; return ifail ; }
dmc_init
  A command line is expected in the following form:
dmc_init A command line is expected in the following form :