I am trying to generate multiple conformation of small molecules. As a first
step I am trying to minimize the molecule.
However when I try to select the forcefield using 
OBForceField* pFF = OBForceField::FindForceField("MMFF94");
if (!pFF->Setup(obmol1)){
   ......
it gives me a segmentation fault error

Replacing this with :
if (!pFF){
    cout << "Not a valid pointer" << endl;

I find that the segmentation fault is probably due to invalid pointer. 

Thanks in advance.



--
View this message in context: 
http://forums.openbabel.org/Invalid-pointer-ForceField-tp4655965.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to