38 #include <boost/program_options.hpp> 45 using boost::program_options::options_description;
46 using boost::program_options::positional_options_description;
47 using boost::program_options::variables_map;
float getChunkSize() const
Returns the side length of a chunk.
std::vector< std::string > getInputFile() const
Returns the input file.
bool printUsage() const
Prints a usage message to stdout.
float getXMax() const
Returns the x-max of the bounding box.
A class to parse the program options for the chunking executable.
string getChunkedMesh() const
Returns the chunked mesh file.
float getMaxChunkOverlap() const
Returns the maximum allowed chunk overlap.
variables_map m_variables
The internally used variable map.
int getCacheSize() const
Returns the cacheSize (maximum number of chunks in HashMap while loading)
float getZMin() const
Returns the z-min of the bounding box.
float getYMax() const
Returns the y-max of the bounding box.
options_description m_descr
The internally used option description.
float getXMin() const
Returns the x-min of the bounding box.
bool getLoad() const
Returns the load-flag. set to true for loading an existing hdf5-file and to false for chunking and sa...
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
positional_options_description m_posDescr
The internally used positional option description.
float getYMin() const
Returns the y-min of the bounding box.
string getOutputDir() const
Returns the output directory.
float getZMax() const
Returns the z-max of the bounding box.
std::string getMeshGroup() const
Returns the mesh group in the HDF5.