parameters: (self, node_set_id, node_set_members)
docstring: Delete the specified members from the given node set.
  
          Node set fields are updates.
  
          Members are given as (node_index).
docstring_summary: Delete the specified members from the given node set.
docstring_tokens: Delete the specified members from the given node set .
function: def _delete_node_set_members(self, node_set_id, node_set_members):
          """
          Delete the specified members from the given node set.
  
          Node set fields are updates.
  
          Members are given as (node_index).
  
          """
          # validate input
          [node_set_id] = self._format_node_set_id_list(
              [node_set_id],
              single=True)
          node_set = self.node_sets[node_set_id]
          # find members to keep
          indices_to_keep = self._find_member_indices_to_keep(node_set[0],
                                                              node_set_members)
          # delete members from node set fields
          node_set[-1] = [[these_values[x] for x in indices_to_keep]
                          for these_values in node_set[1]]
          # delete members
          node_set[0] = [node_set[0][x] for x in indices_to_keep]
function_tokens: def _delete_node_set_members ( self , node_set_id , node_set_members ) : # validate input [ node_set_id ] = self . _format_node_set_id_list ( [ node_set_id ] , single = True ) node_set = self . node_sets [ node_set_id ] # find members to keep indices_to_keep = self . _find_member_indices_to_keep ( node_set [ 0 ] , node_set_members ) # delete members from node set fields node_set [ - 1 ] = [ [ these_values [ x ] for x in indices_to_keep ] for these_values in node_set [ 1 ] ] # delete members node_set [ 0 ] = [ node_set [ 0 ] [ x ] for x in indices_to_keep ]