> So, in a nutshell, I should find all rotatable bonds present in the molecule
> and then add "AddTorsionConstraint" from OBFFConstraints? But what I want to
> do is "relax" a structure at the rotatable bonds, doesn't
> "AddTorsionConstraint" require me to give it the torsion angle (fifth
> parameter) in advance? Or what is that parameter? And I imagine that the
> forcefield would set a penalty for this constraint being violated.
No, that's the opposite of what you want. You want to put all bond lengths and
angles into the constraints. It's probably worth putting in some sort of method
to OBForceField for this -- I've gotten some requests for scanning a set list
of torsions, rather than the full systematic or Monte Carlo techniques.
Cheers,
-Geoff
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss