ERROR:
potential_to_generic.sh: conversion of bonded interaction to generic tables is not implemented yet!
Is there any proper way to prepare a smoothed extrapolated bonded potential for Lammps? I've tried csg_resample with --derivative option together with the smoothed potential from csg_boltzmann output, but all the table values were marked with "o" sign, meaning they will be extrapolated later, and exactly this scenario one has to avoid when preparing tabulated potential for Lammps.
--Vitalie
PS: I am using 1.3-dev version of votca.
2014-12-01 18:11 GMT-07:00 Vitalie Botan <vitali...@gmail.com>:
Most of the code is already there, it is just not enabled, because I
have never used tabulated bonded interaction in LAMMPS.
Do you have a specification for LAMMPS' bonded tables? (i.e. what's
in the 1st, 2nd, 3rd column for bond, angle and dihedral tables?)
Dihedral table splines are cyclic. There is no discontinuity at 180 degrees (or at any other angle). In general, the first angle in the list can have any value (positive, zero, or negative). However the range of angles represented in the table must be strictly less than 360 degrees (2pi radians) to avoid angle overlap. (You may not supply entries in the table for both 180 and -180, for example.) If the user's table covers only a narrow range of dihedral angles, strange numerical behavior can occur in the large remaining gap.
Hope these restrictions don't pose any problem for implementing in the script. Thanks in advance.
Best,
--Vitalie
2014-12-02 9:53 GMT-07:00 Vitalie Botan <vitali...@gmail.com>:
I hacked something together quickly:
<https://code.google.com/p/votca/source/detail?r=1e124eb53c82c3fd451e08f57065ac10ec17eb4f&repo=csg>
Dihedral tables aren't support in their full beauty yet, but also for
Gromacs the periodicity of the table is not imposed.
Christoph
csg_call dist invert --min 0.001