libcootapi
Loading...
Searching...
No Matches
/opt/mambaforge/envs/bioconda/conda-bld/coot-headless_1766554005715/work/api/moorhen-h-bonds.hh
1
#ifndef MOORHEN_H_BONDS_HH
2
#define MOORHEN_H_BONDS_HH
3
4
#include <string>
5
#include <vector>
6
7
namespace
moorhen {
8
9
class
h_bond_atom {
10
public
:
11
int
serial;
12
float
x, y, z;
13
float
charge;
14
float
occ;
15
float
b_iso;
16
std::string element;
17
std::string name;
18
int
model;
19
std::string chain;
20
int
res_no;
21
std::string residue_name;
22
std::string altLoc;
23
h_bond_atom() { serial = -1; x = 0; y = 0; z = 0; charge = 0; occ = 0;
24
b_iso = 0; model = -1; res_no = -1; }
25
};
26
27
class
h_bond {
28
public
:
29
30
h_bond_atom
hb_hydrogen;
// McDonald and Thornton H-bond algorithm
31
h_bond_atom
donor;
32
h_bond_atom
acceptor;
33
h_bond_atom
donor_neigh;
34
h_bond_atom
acceptor_neigh;
35
36
double
angle_1;
// degrees
37
double
angle_2;
38
double
angle_3;
39
double
dist;
// H-bond length
40
bool
ligand_atom_is_donor;
// for use when hb_hydrogen is NULL -
41
// no hydrogens in H-bond analysis.
42
bool
hydrogen_is_ligand_atom;
43
bool
bond_has_hydrogen_flag;
44
h_bond() { angle_1 = 0; angle_2 = 0; angle_3 = 0; dist = 0;
45
ligand_atom_is_donor =
false
;
46
hydrogen_is_ligand_atom =
false
;
47
bond_has_hydrogen_flag =
false
; }
48
};
49
50
}
51
52
#endif
// MOORHEN_H_BONDS_HH
moorhen::h_bond_atom
Definition
moorhen-h-bonds.hh:9
moorhen-h-bonds.hh
Generated by
1.13.2