Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow more options for cell_dofree in cell optimization #871

Open
cpignedoli opened this issue Dec 15, 2022 · 1 comment
Open

Allow more options for cell_dofree in cell optimization #871

cpignedoli opened this issue Dec 15, 2022 · 1 comment

Comments

@cpignedoli
Copy link
Contributor

I would add at least the following options:

  • ibrav
  • 2Dxy (for 2D systems assuming we always have z as the axis perp to the system)
  • x for 1D systems that we can suppose aligned to x

# Quantum ESPRESSO currently only supports optimization of the volume for simple cubic systems. It requires

@mbercx
Copy link
Member

mbercx commented Apr 17, 2023

Thanks for reporting @cpignedoli, and sorry for the slow response. @AndresOrtegaGuerrero and I just merged #907, which addresses points 2 & 3 of your request I believe.

Regarding ibrav: although the get_builder_from_protocol() method will always set ibrav to 0, you can always override this setting and also set cell_dofree to ibrav (although I haven't tested this yet). The code snippet you show could be changed in that for these RelaxTypes ibrav is set to 1 and the cell is checked to correspond to this, I suppose. Is this what you're looking for?

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

No branches or pull requests

2 participants