get_mesh (method)

get_mesh(self, label=None, index=None)[source]

Return the mesh corresponding to label or an index.

Parameters
  • self (MeshSolution) – an MeshSolution object

  • label (str) – a label

  • index (int) – an index

  • group (list) – list of indices of part(s) of the mesh

Returns

mesh – a Mesh object

Return type

Mesh