- class atomate2.vasp.flows.core.OpticsMaker(name='static and optics', static_maker=<factory>, band_structure_maker=<factory>)#
Maker to create optical absorption calculation VASP jobs.
This workflow contains an initial static calculation, and then a non-self-consistent field calculation with LOPTICS set. The purpose of the static calculation is i) to determine if the material needs magnetism set, and ii) to determine the total number of bands (the second calculation contains 1.3 * number of bands as the initial static) as often the highest bands are not properly converged in VASP.
The magnetism will be disabled in the non-self-consistent field calculation if all MAGMOMs are less than 0.02.
name (str) – Name of the flows produced by this maker.
static_maker (.BaseVaspMaker) – The maker to use for the static calculation.
band_structure_maker (.BaseVaspMaker) – The maker to use for the uniform optics calculation.
- make(structure, prev_vasp_dir=None)#
Run a static and then a non-scf optics calculation.
structure (.Structure) – A pymatgen structure object.
prev_vasp_dir (str or Path or None) – A previous VASP calculation directory to copy output files from.
A static and nscf with optics flow.
- Return type: