DFTStaticLabelling#
- class autoplex.data.common.flows.DFTStaticLabelling(name='do_dft_labelling', isolated_atom=False, isolated_species=None, e0_spin=False, isolatedatom_box=<factory>, dimer=False, dimer_box=<factory>, dimer_species=None, dimer_range=None, dimer_num=21, custom_incar=None, custom_potcar=None)[source]#
Bases:
Maker
Maker to set up and run VASP static calculations for input structures, including bulk, isolated atoms, and dimers.
It supports custom VASP input parameters and error handlers.
- Parameters:
name (str) – Name of the flow.
isolated_atom (bool) – If true, perform single-point calculations for isolated atoms. Default is False.
isolated_species (list[str]) – List of species for which to perform isolated atom calculations. If None, species will be automatically derived from the ‘structures’ list. Default is None.
e0_spin (bool) – If true, include spin polarization in isolated atom and dimer calculations. Default is False.
isolatedatom_box (list[float]) – List of the lattice constants for a isolated_atom configuration.
dimer (bool) – If true, perform single-point calculations for dimers. Default is False.
dimer_box (list[float]) – The lattice constants of a dimer box.
dimer_species (list[str]) – List of species for which to perform dimer calculations. If None, species will be derived from the ‘structures’ list. Default is None.
dimer_range (list[float]) – Range of distances for dimer calculations.
dimer_num (int) – Number of different distances to consider for dimer calculations.
custom_incar (dict) – Dictionary of custom VASP input parameters. If provided, will update the default parameters. Default is None.
custom_potcar (dict) – Dictionary of POTCAR settings to update. Keys are element symbols, values are the desired POTCAR labels. Default is None.
- Returns:
A dictionary containing: - ‘dirs_of_vasp’: List of directories containing VASP data. - ‘config_type’: List of configuration types corresponding to each directory.
- Return type:
dict
- make(structures, config_type=None)[source]#
Maker to set up and run VASP static calculations.
- Parameters:
structures (list[Structure] | list[list[Structure]]) – List of structures for which to run the VASP static calculations. If None, no bulk calculations will be performed. Default is None.
config_type (str) – Configuration types corresponding to the structures. If None, defaults to ‘bulk’. Default is None.