Skip to content

add mesh bp remove util#1607

Open
cyrush wants to merge 2 commits into
developfrom
task/2026_05_mesh_bp_remove_util
Open

add mesh bp remove util#1607
cyrush wants to merge 2 commits into
developfrom
task/2026_05_mesh_bp_remove_util

Conversation

@cyrush
Copy link
Copy Markdown
Member

@cyrush cyrush commented May 15, 2026

add conduit::mesh::blueprint::remove, which allows you to remove components of a mesh (like topologies, fields, etc) along with there dependencies.

For example, removing a topology will remove any fields defined on that topology, removing a matset will remove references and matset specific values for any related fields.

@cyrush
Copy link
Copy Markdown
Member Author

cyrush commented May 15, 2026

TODO: Test cases are WIP, need to add many more:

  • add multi domain test cases
  • add matset, adjset, and nestset test cases
  • make sure matset test cases include a field that with matset_values
  • think about other bad options scenarios

@cyrush
Copy link
Copy Markdown
Member Author

cyrush commented May 18, 2026

presence of * as category name indicates that we should remove everything from that category

fields: ["den","radial"]
matsets: *
state: *

will fully remove state and all matsets, along with the fields den and radial

for state, other than *, any entry is assumed to be a path

fields: ["den","radial"]
matsets: *
state: time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant