Open JoshuaSBrown opened 6 years ago
I can fix this but I would like some feedback to ensure I understand the problem correctly?
Setting coefficients to 0 if unspecified looks correct.
You should be able to validate the energy output before and after using the --energy
flag.
Thank you for looking into this!
@ctk3b thanks for the clarification.
It seems that Intermol expects a total of five coefficients for the improper harmonic dihedral. This creates a problem when reading a lammps file if only four are supplied. At least this link indicates there can be an arbitrary number of dihedral coefficients (ki).
https://lammps.sandia.gov/doc/dihedral_fourier.html
I'm guessing that a simple solution might be to set the coefficients to 0 if there are less than 5 for the remaining coefficients. However, I am not an expert with force fields so any feedback would be appreciated?
Here is the error: