The conduit::blueprint::mesh::examples::generate() function was created as a uniform interface for calling any of the Blueprint example mesh generation functions. The conduit_generate_data program can call a subset of the mesh generation functions. It would probably be better to call the generate() function from the executable. This way, we can get new example programs for free when generate() is updated.
- Add command line option to select the example name to generate (At the moment, these are selected by individual options like --braid)
- Enhance --help option so it prints out the default options for all of the example types (use
generate_default_options())
- Add "--option key value" command line option to build up an options Node that can be passed to
generate(), coercing the value string into the right type needed for the option, based on the default option dtype().
The
conduit::blueprint::mesh::examples::generate()function was created as a uniform interface for calling any of the Blueprint example mesh generation functions. Theconduit_generate_dataprogram can call a subset of the mesh generation functions. It would probably be better to call thegenerate()function from the executable. This way, we can get new example programs for free whengenerate()is updated.generate_default_options())generate(), coercing the value string into the right type needed for the option, based on the default optiondtype().