set_submesh (method)

set_submesh(self, group_number)[source]

Define a mesh object as submesh of parent mesh object

Parameters:
  • self (Mesh) – an Mesh object
  • group_number (numpy.array) – a group number which define the elements which constitute the submesh