occ
|
Standard hydrogen bond lengths for various elements. More...
#include <standard_bonds.h>
Static Public Member Functions | |
static double | get_hydrogen_bond_length (int atomic_number) |
Get standard hydrogen bond length for a given element. | |
static bool | has_standard_length (int atomic_number) |
Check if a standard bond length is available for an element. | |
static void | set_custom_bond_length (int atomic_number, double length) |
Set a custom bond length for runtime configuration. | |
static void | clear_custom_lengths () |
Clear all custom bond lengths. | |
Static Public Attributes | |
static constexpr double | C_H = 1.083 |
static constexpr double | N_H = 1.009 |
static constexpr double | O_H = 0.983 |
static constexpr double | B_H = 1.180 |
Standard hydrogen bond lengths for various elements.
This class provides standard X-H bond lengths commonly used for normalizing hydrogen positions in crystal structures, particularly those determined by X-ray diffraction where hydrogen positions are less accurate.
Bond lengths from: Allen, F. H. Acta Cryst. (2010). B66, 380–386
|
static |
Clear all custom bond lengths.
|
static |
Get standard hydrogen bond length for a given element.
atomic_number | The atomic number of the heavy atom bonded to hydrogen |
|
static |
Check if a standard bond length is available for an element.
atomic_number | The atomic number of the heavy atom |
|
static |
Set a custom bond length for runtime configuration.
atomic_number | The atomic number of the heavy atom |
length | The bond length in Angstroms |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |