42 using boost::program_options::command_line_parser;
43 using boost::program_options::value;
51 "Produce help message")(
"inputFile", value<std::vector<string>>()->multitoken(),
"Input file names.")(
52 "outputDir", value<string>(),
"Output directory name.")(
53 "chunkSize", value<float>()->default_value(10.0f),
"Side length of chunks.")(
54 "maxChunkOverlap", value<float>()->default_value(0.1f),
55 "maximum allowed overlap between chunks relative to the chunk size.")(
56 "chunkedMesh", value<string>(),
"Chunked mesh hdf5-file name.")(
57 "load", value<bool>()->default_value(
false),
"Set this value to true, if you want to load an hdf5-file")(
58 "x_min", value<float>()->default_value(0.0f),
"bounding box minimum value in x-dimension")(
59 "y_min", value<float>()->default_value(0.0f),
"bounding box minimum value in y-dimension")(
60 "z_min", value<float>()->default_value(0.0f),
"bounding box minimum value in z-dimension")(
61 "x_max", value<float>()->default_value(10.0f),
"bounding box maximum value in x-dimension")(
62 "y_max", value<float>()->default_value(10.0f),
"bounding box maximum value in y-dimension")(
63 "z_max", value<float>()->default_value(10.0f),
"bounding box maximum value in z-dimension")(
64 "cacheSize", value<int>()->default_value(200),
"while loading the maximum number of chunks in RAM")(
65 "meshName", value<std::string>()->default_value(
""),
"group name of the mesh if the HDF5 contains multiple meshes");
83 cout <<
"Error: You must specify an input file." << endl;
91 cout <<
"Error: You must specify an hdf5-file (\"chunkedMesh\") when loading." << endl;
103 return m_variables[
"inputFile"].as<std::vector<string>>();