Skip to content

Feature: Add D3hessCalculation for d3hess.x in Quantum ESPRESSO#1225

Open
ValkScripter wants to merge 1 commit intoaiidateam:mainfrom
ValkScripter:wip/feature/d3hess
Open

Feature: Add D3hessCalculation for d3hess.x in Quantum ESPRESSO#1225
ValkScripter wants to merge 1 commit intoaiidateam:mainfrom
ValkScripter:wip/feature/d3hess

Conversation

@ValkScripter
Copy link
Copy Markdown
Contributor

This PR will add a simple implementation of a D3hessCalculation class in d3hess.py to support the d3hess.x code.
It inherits from NamelistsCalculation and has a unique input : a remote_folder of a finished SCF calculation.

The code computes the Hessian matrix of DFT-D3 dispersion (reminder: dftd3_threebody must be deactivated in the SCF calculation cf. corresponding input description on QE website) and adds it to the remote folder of the SCF calculation.

I used parent folder symlinking by default so that the produced aiida.hess file is added to the parent SCF folder to allow for further (post-)processing directly from the SCF calculation.
This means that a phonon WorkChain can be done as usual, taking the remote folder of an SCF calculation and not the D3hess calculation's.

Updated pyproject.toml to include an entry point for d3hess.

- Implement `D3hessCalculation` class in `d3hess.py`
  - Inherits from `NamelistsCalculation`
  - Computes Hessian matrix of DFT-D3 dispersion
  - Uses symlink by default so that `aiida.hess` file is also added to the parent SCF for further processing from the SCF.
- Update `pyproject.toml` to include entry point for `d3hess`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant