forked from materialsproject/atomate2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add mp_id to generate_frequency_eigenvector function
- Loading branch information
1 parent
a0ba097
commit 4a1daae
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JaGeo and @naik-aakash I use this way to insert mp_id into the final doc of generate_frequency_eigenvector function, maybe this is not the best solution. but it works.
4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Yeah, @naik-aakash will update the doc on how to do it with the current code. (Maybe, you can post it here as well, @naik-aakash)
4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Janine @JaGeo , i am curious what is the difference between the first tight relax and second tight relax? Because the phonon calculation needs a very strict converged criteria of force, how can i set the force convergence to -1e-3 and the second force convergence criteria to -1e-5? thanks.
4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same purpose as any DoubleRelaxMaker has in atomate2.
4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @leslie-zheng , I have raised a PR now for adding metadata to the output task doc,
materialsproject#910
to add mp_id to the taskdoc, once the PR is merged you can simply pass in a dict in
generate_frequencies_eigenvectors_kwargs={"additional_fields": {"mp_id": "mp-xxx"}}
, when you initialize the PhononMaker.4a1daae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks aaksh @naik-aakash , I will try it.