-
Hi @ttadano, I'm interested in calculating second- and third-order force constants. From the documentation, I understand that ALAMODE uses the ordinary least squares method (in the ALM module) to calculate these force constants. However, I was wondering if ALAMODE fits all the interatomic force constants (IFCs) simultaneously, or if it fits them iteratively based on the residuals, as shown in Equations 26–28 of the TDEP documentation. I couldn't find an explicit mention of this in the ALAMODE documentation. Could you please clarify this? Thanks! PS: Based on the sensing matrix of Eq 3 of this paper on CSLD, I think, unlike TDEP, Alamode fits is it simultaneously. But I'm not really sure. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Both options are available. If you do not specify any options, all force constants will be fitted simultaneously. If you set the |
Beta Was this translation helpful? Give feedback.
Both options are available. If you do not specify any options, all force constants will be fitted simultaneously. If you set the
FC2XML
option in the&optimize
field, the second-order IFCs are fixed to the values in the given file, and only the anharmonic IFCs are fitted.