update_vasp_input_generators

atomate2.vasp.powerups.update_vasp_input_generators(flow, dict_mod_updates, name_filter=None, class_filter=BaseVaspMaker)[source]

Update any VaspInputGenerators or Makers in the flow.

Note, this returns a copy of the original Job/Flow/Maker. I.e., the update does not happen in place.

Parameters:
  • flow (.Job or .Flow or .Maker) – A job, flow or Maker.

  • dict_mod_updates (dict) – The updates to apply. Existing keys will not be modified unless explicitly specified in dict_mod_updates.

  • name_filter (str or None) – A filter for the name of the jobs.

  • class_filter (Maker or None) – A filter for the VaspMaker class used to generate the flows. Note the class filter will match any subclasses.

Returns:

A copy of the input flow/job/maker modified to use the updated incar settings.

Return type:

Job or Flow or Maker