aiida_vasp.workchains.v2.inputset.base#

Module for preparing standardised input for calculations

Module Contents#

Classes#

InputSet

Base class representing an inputs set.

Functions#

get_library_path

Get the path where the YAML files are stored within this package

convert_lowercase

Convert all keys in a dictionary to lowercase

Data#

API#

aiida_vasp.workchains.v2.inputset.base.logger = 'getLogger(...)'#
aiida_vasp.workchains.v2.inputset.base.FELEMS = ['La', 'Ce', 'Pr', 'Nd', 'Pm', 'Sm', 'Eu', 'Gd', 'Tb', 'Dy', 'Ho', 'Er', 'Tm', 'Yb', 'Lu', 'Ac', 'Th...#
aiida_vasp.workchains.v2.inputset.base.get_library_path()[source]#

Get the path where the YAML files are stored within this package

class aiida_vasp.workchains.v2.inputset.base.InputSet(set_name, overrides=None, verbose=False)[source]#

Base class representing an inputs set.

Not useful on its own, should be subclass for convenient definition of inputs for high-throughput calculations.

Initialization

Initialise an InputSet

Args:

set_name: Name of the set to be loaded overrides: A dictionary of overriding inputs, the keys should be in lower case.

_load_paths = ()#
get_input_dict(structure: aiida.orm.StructureData, raw_python=True)[source]#

Get a input dictionary for VASP

_load_data()[source]#

Load stored data

apply_overrides(out_dict)[source]#

Apply overrides stored in self.overrides to the dictionary passed

get_kpoints(structure, density=None)[source]#

Return a kpoints object for a given density

Args:

density: kpoint density in 2pi Angstrom^-1 (CASTEP convention)

Returns:

An KpointsData object with the desired density

aiida_vasp.workchains.v2.inputset.base.convert_lowercase(indict)[source]#

Convert all keys in a dictionary to lowercase