Skip to content

Enhance conduit_generate_data program so it calls conduit::blueprint::mesh::examples::generate() #1598

@BradWhitlock

Description

@BradWhitlock

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions