Closed gonuke closed 5 years ago
Psuedo-code:
assume: already loaded model into a MOAB instance "mb"
inputs: g
outputs: list of entityHandles
def get_all_volumes(geom_dim, geom_tag)
all_entities = mb.get_entities_by_tag_and_type(geom_tag, 0, geom_dim) # check this syntax
return all_volumes
This function may not be necessary since it is ultimately a single pyMOAB function call
Closed because it's handled by #3
Write a function that will return a list of
EntityHandles
that refer to all theEntitySets
that represent a given geometric type (e.g. volume, surface, curve, node) in a model