aiida_quantumespresso.calculations.xspectra
#
Classes and methods for running xspectra.x with AiiDA.
Module Contents#
Classes#
CalcJob implementation for the xspectra.x code of Quantum ESPRESSO. |
Attributes#
- class aiida_quantumespresso.calculations.xspectra.XspectraCalculation(*args, **kwargs)[source]#
Bases:
aiida_quantumespresso.calculations.namelists.NamelistsCalculation
CalcJob implementation for the xspectra.x code of Quantum ESPRESSO.
- _blocked_keywords = [('INPUT_XSPECTRA', 'outdir'), ('INPUT_XSPECTRA', 'prefix'), ('INPUT_XSPECTRA', 'x_save_file'),...[source]#
- generate_input_file(parameters)[source]#
Add kpoint handling to the inherited method.
This checks that the offset for the mesh is in a valid format, converts the offset from AiiDA format to QE format, and adds the kpoint mesh input to the end of the file.
Essentially this copies the method used in prepare_for_submission from the BasePwCpInputGenerator class.