calculate_finite_diff

atomate2.vasp.jobs.defect.calculate_finite_diff(distorted_calc_dirs, ref_calc_index, run_vasp_kwargs=None)[source]

Run a post-processing VASP job for the finite difference overlap.

Reads the WAVECAR file and computes the desired quantities. This can be used in cases where data from the same calculation is used multiple times.

Since all of the standard outputs are presumably already stored in the database, the make function here should only store new data.

Parameters:
  • distorted_calc_dirs (List[str]) – List of directories containing distorted calculations.

  • ref_calc_index (int) – Index of the reference (distortion=0) calculation.

  • run_vasp_kwargs (dict) – kwargs to pass to run_vasp (should be copied from the static maker used for previous calculations).

Return type:

FiniteDifferenceDocument