|
votca 2026-dev
|
Saturates the external bonds of a mapped QMMolecule (bonds that exist at the MD level but cross the segment boundary) with H atoms. More...
#include <fragmentsaturator.h>
Classes | |
| struct | SaturationResult |
Static Public Member Functions | |
| static SaturationResult | SaturateExternalBonds (const QMMolecule &mol, double bond_length_angstrom=kDefaultCHBondLengthAngstrom) |
| static QMMolecule | RelaxNewAtoms (const QMMolecule &mol, Index n_original_atoms, Index n_steps=500) |
Static Public Attributes | |
| static constexpr double | kDefaultCHBondLengthAngstrom = 1.09 |
Saturates the external bonds of a mapped QMMolecule (bonds that exist at the MD level but cross the segment boundary) with H atoms.
SaturateExternalBonds places each H at a fixed bond length along the external-bond direction stored on the QMAtom by SegmentMapper (already transformed into the mapped frame; see QMAtom::getExternalBondDirection() and Md2QmEngine::map()). This placement alone has errors of about 0.08 Angstrom for distorted MD geometries, so RelaxNewAtoms subsequently relaxes the added H atoms with all other atoms fixed.
Definition at line 43 of file fragmentsaturator.h.
|
static |
Definition at line 76 of file fragmentsaturator.cc.
|
static |
Definition at line 38 of file fragmentsaturator.cc.
|
staticconstexpr |
Definition at line 47 of file fragmentsaturator.h.