aiida_sssp_workflow.workflows.legacy_convergence.phonon_frequencies

Convergence test on phonon frequencies of a given pseudopotential

Module Contents

Classes

ConvergencePhononFrequenciesWorkChain

WorkChain to converge test on cohisive energy of input structure

Functions

helper_phonon_frequencies_difference(input_parameters: aiida.orm.Dict, ref_parameters: aiida.orm.Dict) → aiida.orm.Dict

doc

Attributes

UpfData

aiida_sssp_workflow.workflows.legacy_convergence.phonon_frequencies.UpfData
aiida_sssp_workflow.workflows.legacy_convergence.phonon_frequencies.helper_phonon_frequencies_difference(input_parameters: aiida.orm.Dict, ref_parameters: aiida.orm.Dict)aiida.orm.Dict

doc

class aiida_sssp_workflow.workflows.legacy_convergence.phonon_frequencies.ConvergencePhononFrequenciesWorkChain(inputs: Optional[dict] = None, logger: Optional[logging.Logger] = None, runner: Optional[aiida.engine.runners.Runner] = None, enable_persistence: bool = True)

Bases: aiida_sssp_workflow.workflows.legacy_convergence._base.BaseLegacyWorkChain

WorkChain to converge test on cohisive energy of input structure

classmethod define(cls, spec)

Define the specification of the process, including its inputs, outputs and known exit codes.

A metadata input namespace is defined, with optional ports that are not stored in the database.

extra_setup_for_rare_earth_element(self)

Extra setup for rare earth element

extra_setup_for_fluorine_element(self)

Extra setup for fluorine element

setup_code_parameters_from_protocol(self)

Input validation

_get_inputs(self, ecutwfc, ecutrho)

get inputs for the evaluation CohesiveWorkChain by provide ecutwfc and ecutrho, all other parameters are fixed for the following steps

run_reference(self)

run on reference calculation

run_samples(self)

run on all other evaluation sample points

get_result_metadata(self)

define a dict of which is the metadata of the results, e.g. the unit of the properties return a list type

for example:

return {

‘absolute_unit’: ‘eV/atom’, ‘relative_unit’: ‘%’,

}

helper_compare_result_extract_fun(self, sample_node, reference_node, **kwargs)

extract

results(self)

set results of sub-workflows to output ports