BALL::AddHydrogenProcessor Class Reference
[Miscellaneous]
#include <BALL/STRUCTURE/addHydrogenProcessor.h>
List of all members.
Detailed Description
Saturate atoms with hydrogen atoms. Only works with main group elements. The formal charge of the atoms are taken into account. The placement of the hydrogen atoms only depends on the direct neighbour atoms. No additional optimization of the atom placement is done. The optimal bond lengths are calculized by a modified Schomaker-Stevenson rule (adapted from the MMFF94 force field).
Usage:
RingPerceptionProcessor rpp;
vector<vector<Atom*> > rings;
rpp.calculateSSSR(rings, system);
rings = rpp.getAllSmallRings();
AddHydrogenProcessor ap;
ap.setRings(rings);
system.apply(ap);
Constructor & Destructor Documentation
BALL::AddHydrogenProcessor::AddHydrogenProcessor |
( |
|
) |
|
virtual BALL::AddHydrogenProcessor::~AddHydrogenProcessor |
( |
|
) |
[virtual] |
Member Function Documentation
void BALL::AddHydrogenProcessor::addHydrogen_ |
( |
Atom & |
atom, |
|
|
Vector3 |
position | |
|
) |
| | [protected] |
Size BALL::AddHydrogenProcessor::countBondOrders |
( |
Atom & |
atom |
) |
[protected] |
float BALL::AddHydrogenProcessor::getBondLength_ |
( |
Position |
element |
) |
[protected] |
Size BALL::AddHydrogenProcessor::getConnectivity |
( |
Atom & |
atom |
) |
|
Vector3 BALL::AddHydrogenProcessor::getNormal_ |
( |
const Vector3 & |
v |
) |
[protected] |
Size BALL::AddHydrogenProcessor::getNumberOfAddedHydrogens |
( |
|
) |
[inline] |
vector<Atom*> BALL::AddHydrogenProcessor::getPartners_ |
( |
Atom & |
atom |
) |
[protected] |
bool BALL::AddHydrogenProcessor::hasMultipleBond_ |
( |
Atom & |
atom |
) |
[protected] |
bool BALL::AddHydrogenProcessor::isRingAtom_ |
( |
Atom & |
atom |
) |
[inline, protected] |
bool BALL::AddHydrogenProcessor::normalize_ |
( |
Vector3 & |
v |
) |
[inline, protected] |
void BALL::AddHydrogenProcessor::setRings |
( |
const vector< vector< Atom * > > & |
rings |
) |
|
virtual bool BALL::AddHydrogenProcessor::start |
( |
|
) |
[virtual] |
Member Data Documentation