aiida_yambo.workflows.yambowf
#
Module Contents#
Classes#
This workflow will perform yambo calculation on the top of scf+nscf or from scratch, |
Functions#
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes#
- aiida_yambo.workflows.yambowf.extend_QP(filenames_List, output_name, ywfl_pk, qp_settings, QP)[source]#
- class aiida_yambo.workflows.yambowf.YamboWorkflow(inputs: dict | None = None, logger: logging.Logger | None = None, runner: aiida.engine.runners.Runner | None = None, enable_persistence: bool = True)[source]#
Bases:
aiida_quantumespresso.workflows.protocols.utils.ProtocolMixin
,aiida.engine.WorkChain
This workflow will perform yambo calculation on the top of scf+nscf or from scratch, using also the PwBaseWorkChain.
- pw_exclude = ['parent_folder', 'pw.parameters', 'pw.pseudos', 'pw.code', 'pw.structure', 'kpoints'][source]#
- classmethod get_protocol_filepath()[source]#
Return
pathlib.Path
to the.yaml
file that defines the protocols.
- classmethod get_builder_from_protocol(pw_code, preprocessing_code, code, protocol_qe='moderate', protocol='moderate', calc_type='gw', structure=None, overrides={}, parent_folder=None, NLCC=False, RIM_v=False, RIM_W=False, electronic_type=ElectronicType.METAL, spin_type=SpinType.NONE, initial_magnetic_moments=None, pseudo_family=None, **_)[source]#
Return a builder prepopulated with inputs selected according to the chosen protocol. :return: a process builder instance with all inputs defined ready for launch.
- start_workflow()[source]#
Initialize the workflow, set the parent calculation
This function sets the parent, and its type there is no submission done here, only setting up the neccessary inputs the workchain needs in the next steps to decide what are the subsequent steps
- can_continue()[source]#
This function checks the status of the last calculation and determines what happens next, including a successful exit
- perform_next()[source]#
This function will submit the next step, depending on the information provided in the context
The next step will be a yambo calculation if the provided inputs are a previous yambo/p2y run Will be a PW scf/nscf if the inputs do not provide the NSCF or previous yambo parent calculations