get_indices_limited (method)

get_indices_limited(meshsolution, label=None, group_names=None, max_value=inf, min_value=-inf)[source]

Get the indices of the specified groups of a MeshSolution, with the field ‘label’ values magnitude must be within the given limits.

Parameters
  • meshsolution (MeshSolution) – a MeshSolution object

  • label (str) – label of a MeshSolution solution field

  • group_names (list of str) – list of the groups names or string of a single group

  • max_value (float) – max. field magnitude (over time)

  • min_value (float) – min. field magnitude (over time)

Returns

area – surface area of the specified groups and indices

Return type

float