parameters: (
      femmesh,
      references
  )
return_statement: return list(set(references_femnodes))
docstring: get the femnodes for a list of references
docstring_summary: get the femnodes for a list of references
docstring_tokens: get the femnodes for a list of references
function: def get_femnodes_by_references(
      femmesh,
      references
  ):
      """get the femnodes for a list of references
      """
      references_femnodes = []
      for ref in references:
          references_femnodes += get_femnodes_by_refshape(femmesh, ref)
  
      # return references_femnodes  # keeps duplicate nodes, keeps node order
  
      # if nodes are used for nodesets, duplicates should be removed
      return list(set(references_femnodes))
function_tokens: def get_femnodes_by_references ( femmesh , references ) : references_femnodes = [ ] for ref in references : references_femnodes += get_femnodes_by_refshape ( femmesh , ref ) # return references_femnodes  # keeps duplicate nodes, keeps node order # if nodes are used for nodesets, duplicates should be removed return list ( set ( references_femnodes ) )