2017-03-04 11:26 GMT-07:00 Joshua Moore <
jdm...@ncsu.edu>:
> 1) Angles
>
> I realized I was not using the development version. Sorry about this. This
> issue seems to have been corrected in the development version. I'm still
> not exactly what the change was to fix this, but it is correct in the
> development version.
>
> 2) Dihedrals
>
> I found two issues
>
> a) In potential_to_lammps.sh, there was a scaling to degrees for the "scale"
> step. This seems to be the cause of it dropping points in the smoothing
> step. If you remove this being applied to the $bondtype="dihedral", this
> issue goes away.
The issue is that the table beginning and ending should be converted
to degrees as well in the case of dihedral potentials. For the "angle"
type this issue doesn't appear as the table always goes from 0 to 180
(both in degrees already.)
>
> However, there was a second issue related to the units LAMMPS expects for
> the dihedral. I originally thought the default was radians, but it appears
> it is degrees. We need to add this to
table_to_tab.pl so that LAMMPS knows
> the table is in radians. Then remove the previous check for dihedrals when
> it is scaling.
>
> } elsif ($type eq "dihedral" ) {
> printf(OUTFILE "VOTCA"\n");
> printf(OUTFILE "N %i RADIANS\n\n",$#r+1);
> .
> .
> .
>
> LAMMPS seems to be finicky for the derivative for the dihedrals, and I think
> the amount of noise in the distribution is causing an issue for short runs
> and LAMMPS is complaining that the dihedral table has inconsistent forces.
> I'm assuming VOTCA is generating these from a spline? The issue seems to be
> alleviated with longer runs. However, LAMMPS has an option to leave off the
> forces for the dihedral table and let LAMMPS calculate them. I'll look into
> this some more to see if this helps.
>
> I'll work on a pull request if you agree.
Thanks Josh! Your pull request at
<
https://github.com/votca/csg/pull/202> seems to fix the two issues
above.
Christoph
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
votca+un...@googlegroups.com.
> To post to this group, send email to
vo...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/votca.
> For more options, visit
https://groups.google.com/d/optout.
--
Christoph Junghans
Web:
http://www.compphys.de