This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
Quantum Espresso input generator #29
Open
AlbertDeFusco
wants to merge
1
commit into
cryos:master
Choose a base branch
from
AlbertDeFusco:qesp-rebase
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Espresso does not use point group symmetry, instead it relies on knowing the Bravais lattice type or the primitive lattice and the atomic basis. Now that AvoSpg is available to all extensions, the getPrimitive method is used to generate the primitive lattice and basis atoms. The three crystal structure options are 1. Displayed (default) Take the current specification of the cell matrix and displayed atoms as input. It is probably best to use a "filled" unit cell here. I am going to take the assumption that Avogadro will display a conventional unit cell. I believe is it not appropriate to use ibrav with this option as the Quantum Espresso will find the wrong symmetry. 2. Generate Primitive Generate the primitive lattice vectors (CELL_PARAMETERS) and basis atoms from the displayed unit cell. This uses avospglib. This option has been verified to produce the correct symmetry for several example crystal structures. 3. Manual input Using the displayed coordinates, the user can choose the Bravais lattice and the lattice parameters. The lattice parameter can be changed irrespective of what is displayed. Since ATOMIC_POSITIONS and CELL_PARAMETERS are in relative coordinates for options 1 and 2 above this is very safe and allows the user to change the lattice parameter quickly and easily without having to mess around in the displayed molecule. I have used the pseudopotential file list from the full archive at http://www.quantum-espresso.org/wp-content/uploads/upf_files/upf_files.tar AvoSpg is now a separate library, like OpenQube. A copy of spglib-1.5.1 is included in this commit. (http://spglib.sourceforge.net/) Change-Id: I83ec300c29da963c39e0c46fdcba84dccbe31a88
The QuantumEspressoInput request can be disregarded. I rebased the branch to fix a conflict with libavogadro/src/extensions/CMakeLists.txt. |
So this pull request should be dropped? I'm trying to find any remaining items before a 1.2 release. |
I think the other one should be dropped. #22 |
This was referenced Apr 27, 2016
Closed
psavery
pushed a commit
to psavery/avogadro
that referenced
this pull request
Feb 20, 2017
Obabel plugin
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have moved AvoSpg up a level in the extensions so I can use it in the input generator. While a version of spglib is still provided CMake can use a system-wide installation with -DAvogadro_USE_SYSTEM_SPGLIB=true.
This has been tested on Mac and Linux.