possible problem with Sire.IO.Amber.readCrdTop()

8 views
Skip to first unread message

hannes....@gmail.com

unread,
Mar 27, 2014, 11:49:22 AM3/27/14
to sire-de...@googlegroups.com
Hi,

I just ran into a problem with the parmtop reader.

I am trying to get the 1,4 pairs from the intrascale property and check for both Sire.MM.CLJScaleFactor.lj() and .coulomb() to be zero. Occasionally I get double counting (but indices swapped). Work-around on my side is obvious but is this expected behaviour?

Many thanks,
Hannes.

(Just remembered that this group exists :-)

hannes....@gmail.com

unread,
Mar 27, 2014, 4:35:50 PM3/27/14
to sire-de...@googlegroups.com
Oh and the vdW sigmas appear to be multiplied by about 1.7818 but I can't make out where this "magical" conversion factor comes from.

Christopher Woods

unread,
Mar 27, 2014, 5:02:23 PM3/27/14
to sire-de...@googlegroups.com

  Hi Hannes,

Sorry for not replying sooner - had a migraine for most of this evening.

I don't know about the 14 scale factors. I've taken a quick look at the amber topology reader and it is all set in 

static void setNonBondedPairs(MolEditor &editmol, int pointer,

Is this setting the values that you expect? (Have you used qDebug to print was is set and wht you read for a small molecule?)

The LJParameter object stores the square root of the sigma and epsilon values (sigma in angstroms). I don't recall any factor of 1.78. Where exactly do you see this value? (short example code or function that you are calling)

   Cheers,

   Christopher

Sorry for abruptness. Sent from my iPad
--
You received this message because you are subscribed to the Google Groups "Sire Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sire-develope...@googlegroups.com.
To post to this group, send email to sire-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/sire-developers.
For more options, visit https://groups.google.com/d/optout.

hannes....@gmail.com

unread,
Mar 28, 2014, 2:55:13 AM3/28/14
to sire-de...@googlegroups.com
Many thanks, Chris.

This factor confused me because Gromacs for example wants sigma while the original AMBER force field files store _rstar_.  That's all the "magic" that is to it.

I will have another look into setNonBondedPairs() and see what is going on.  I'll come back if there are further questions.

Cheers,
Hannes.
Reply all
Reply to author
Forward
0 new messages