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

Mass weight Gaussian energy derivative datatypes #31

Open
ericchansen opened this issue Jun 16, 2016 · 3 comments
Open

Mass weight Gaussian energy derivative datatypes #31

ericchansen opened this issue Jun 16, 2016 · 3 comments
Labels

Comments

@ericchansen
Copy link
Owner

Is the Gaussian Hessian already mass weighted? For the option -gh, there currently isn't any additional mass weighting going on after reading the Hessian from the archive, which may be a big problem.

For -geigz, we simply read the eigenvalues and convert them to a diagonal matrix. Again, does any mass weighting have to occur here? Currently, I only have methods for mass weighting Hessians and eigenvectors, not eigenvalues. I'm not sure how I would do this.

For -mgeig, we use the Gaussian eigenvectors and the MM Hessian to form the diagonal eigenvalue matrix. Again, do we need to mass weight the eigenvectors after reading them?

@peonor
Copy link
Contributor

peonor commented Jun 20, 2016

I think I answered mopst of this in another issue. If you get a Hessina from archive or formchk, or jaguar .01.in, do mass weighting of the Hessian. If you pick the eigensystem from the log files, no need. Only Hessians are ever mass-weighted, but the eigen-vectors and -values from the mass-weighted are different.

For the MM Hessian, it must be mass-weighted before we use it with the eigenvectors. Since we get it from RRHO-files, it will be mass-weighted in the log file, which is why we must use mass-weighting with the QM Hessians. Note that the mass from atom.typ is used, it must be correct! Change for Z0 if you use it.

@ericchansen
Copy link
Owner Author

So it sounds like the Gaussian Hessian for -gh needs mass weighting. On the other hand, -geigz doesn't need eigenvalues modified. Similarly, -mgeig doesn't need the eigenvectors modified. The bit about -mgeig surpirses me because the eigenvectors are mass weighted in -mjeig (see line 1137 of calculate).

For future reference, the masses used are in constants.MASSES.

@peonor
Copy link
Contributor

peonor commented Jun 20, 2016

I don't remember, and don't have time to check right now, but I think there was a difference between Jaguar and Gaussian eigenvectors, maybe the former needed mass-weighting... It rings a bell. Strange if so, but yes, I think that was the only way I could rationalize differences between Gaussian and Jaguar output. Needs checking.

ericchansen pushed a commit that referenced this issue Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants