Closed ajkerr0 closed 8 years ago
We have observed the values after the inspect function was added (see above). We stopped getting zeros a while ago. Maybe it was an indexing error I fixed? (index vs. 3*index, for example)
We are getting mixed positive and negative terms in the Hessian were I wasn't expecting them. Test case for example: default cnt with default polyeth at indices 72, 78; only bond length interactions turned on.
Need to study to make sure this is allowed in general. If not, we have a problem!
These values may be allowed. Positive definiteness doesn't imply the only positives are on the diagonal.
I have in fact, confirmed that mixed positive and negative values are allowed in the off diagonal, in general.
See the above commit. These values I thought were wrong are actually allowed. It has to do with the equilibrium distance not discriminating between the x,y, and z positions.
In the P_{i -> j} calculations, ALL of the corresponding kmatrix elements are zero when the kmatrix is constructed out of the analytical gradients. This is why the ballandspring hessian matrix is there for now.
We know physically this cannot be. Is this an indication that the hessian matrices aren't being calculated correctly?