chiral.cpp File Reference

Detect chiral atoms and molecules. More...

#include <list>
#include "mol.h"
#include "obutil.h"
#include "matrix.h"
#include "chiral.h"
#include "math/matrix3x3.h"

Namespaces

namespace  OpenBabel

Defines

#define INTMETHOD

Functions

void GetChirality (OBMol &mol, std::vector< int > &chirality)
int GetParity4Ref (vector< unsigned int > pref)
bool CorrectChirality (OBMol &mol, OBAtom *atm, atomreftype i, atomreftype o)
double CalcSignedVolume (OBMol &mol, OBAtom *)
 Calculate the signed volume for an atom.
double signed_volume (const vector3 &a, const vector3 &b, const vector3 &c, const vector3 &d)
 Calculate a signed volume given a set of 4 coordinates.
void GraphPotentials (OBMol &mol, std::vector< double > &pot)
 Calculate the Graph Potentials of a molecule.
void construct_g_matrix (OBMol &mol, std::vector< std::vector< double > > &m)
void construct_c_matrix (OBMol &mol, std::vector< std::vector< double > > &m)


Detailed Description

Detect chiral atoms and molecules.


Define Documentation

#define INTMETHOD