- po::options_description desc("Available options");
- desc.add_options()
- ("help,h", "produce help message")
- ("windspeed,w", po::value<double>()->default_value(10),
- "wind speed given in m/s")
- ("size,s", po::value<std::string>()->default_value("small"),
- "lattice size (small/large)")
- ("amplitude,a", po::value<double>()->default_value(1),
- "amplitude multiplicator")
- ;
-
- Settings settings = parseArguments(argc, argv, desc);