-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rotational invariance is not supported in python API #34
Comments
The force constant file format of alamode-1.1.0 is fc.fcs. Can I use the ALM (python API) to convert the fc.fcs generated by alamode ? |
The application of rotational invariance is supported in alamode only when the constraint is imposed numerically (see the description of If you think the rotational invariance is necessary for your system, I will add its support to my to-do list.
This is not supported. Please perform the optimization again with the same displacement-force datasets and cutoff radii by using API. |
@ttadano Thank you very much. For my recent research, yes, the rotational invariance of force constant is necessery, since I only concern the behavior of phonon dispersion relation in the long wave limit. The rotational invariance support in python API will be useful. For now, parsing the fc.fcs may be a quicker way for me. |
@ttadano @atztogo I am appreciating your effort on developing usefull package! I'm back and report my method to obtain fc.hdf5, which can be used by phonopy or phono3py. Add "HESSIAN = 1" in '&general' of alamode input. After running alm, the *.hessian is created. I can easily create fc.hdf5 from hessian file by a python script. |
I notice that new version 1.1.0 of alamode can support applying rotational symmetry to force constant. However, in python API , say ALM, this function is not implimented. The responsible module is ALM.set_constraint(). Could you give me some advice to modify the code?
The text was updated successfully, but these errors were encountered: