nx_chem_molecule.nx
buildroot/runtime/nx_chem_molecule.nx
about
dependencies 1 imports · 31 importers
diagram shows first 10 each side; +0 more imports, +21 more importers in the complete lists below.
imports: nx_kernel_v2.nx
imported by: nx_chem_adulterant_db.nxnx_chem_adulterant_db_test.nxnx_chem_descriptors.nxnx_chem_descriptors_test.nxnx_chem_fingerprint.nxnx_chem_fingerprint_test.nxnx_chem_isotope_pattern.nxnx_chem_isotope_pattern_test.nxnx_chem_mass.nxnx_chem_mass_test.nxnx_chem_molecule_test.nxnx_chem_morgan.nxnx_chem_morgan_test.nxnx_chem_peak_list_test.nxnx_chem_report_csv.nxnx_chem_report_csv_test.nxnx_chem_report_json.nxnx_chem_report_json_test.nxnx_chem_sildenafil_probe_test.nxnx_chem_smiles.nxnx_chem_smiles_emit.nxnx_chem_smiles_emit_test.nxnx_chem_smiles_test.nxnx_chem_stereo_test.nxnx_chem_tadalafil_probe_test.nxnx_chem_valence.nxnx_chem_valence_test.nxnx_supplement.nxnx_supplement_batch.nxnx_supplement_check.nxnx_supplement_csv.nx
structs
| 74 | struct Atom |
| 94 | struct Bond |
| 105 | struct MolGraph |
consts
| 26 | const NX_CHEM_SYM_MOL_GRAPH: nx_int = 415010 |
| 27 | const NX_CHEM_SYM_ATOM: nx_int = 415011 |
| 28 | const NX_CHEM_SYM_BOND: nx_int = 415012 |
| 31 | const NX_MOL_OK: nx_int = 0 |
| 32 | const NX_MOL_ERR_ATOM_OVERFLOW: nx_int = 1 |
| 33 | const NX_MOL_ERR_BOND_OVERFLOW: nx_int = 2 |
| 34 | const NX_MOL_ERR_BAD_ATOM_INDEX: nx_int = 3 |
| 35 | const NX_MOL_ERR_BAD_BOND_ORDER: nx_int = 4 |
| 36 | const NX_MOL_ERR_SMILES_BAD_CHAR: nx_int = 5 |
| 37 | const NX_MOL_ERR_SMILES_UNCLOSED_BR: nx_int = 6 |
| 38 | const NX_MOL_ERR_SMILES_UNCLOSED_PAREN: nx_int = 7 |
| 39 | const NX_MOL_ERR_SMILES_ORPHAN_RING: nx_int = 8 |
| 40 | const NX_MOL_ERR_SMILES_EMPTY: nx_int = 9 |
| 41 | const NX_MOL_ERR_SMILES_INVALID_BR: nx_int = 10 |
| 42 | const NX_MOL_ERR_SMILES_BAD_BOND: nx_int = 11 |
| 45 | const NX_BOND_ZERO: nx_int = 0 // zero-order (dative / virtual) |
| 46 | const NX_BOND_SINGLE: nx_int = 1 |
| 47 | const NX_BOND_DOUBLE: nx_int = 2 |
| 48 | const NX_BOND_TRIPLE: nx_int = 3 |
| 49 | const NX_BOND_AROMATIC: nx_int = 4 |
| 50 | const NX_BOND_QUAD: nx_int = 5 // quadruple (e.g. Re2Cl8 2-) |
| 53 | const NX_AROM_DAYLIGHT: nx_int = 1 // bit 0 |
| 54 | const NX_AROM_OPENEYE: nx_int = 2 // bit 1 |
| 55 | const NX_AROM_RDKIT: nx_int = 4 // bit 2 |
| 56 | const NX_AROM_MDL: nx_int = 8 // bit 3 |
| 57 | const NX_AROM_TRIPOS: nx_int = 16 // bit 4 |
| 58 | const NX_AROM_MMFF: nx_int = 32 // bit 5 |
| 61 | const NX_STEREO_NONE: nx_int = 0 |
| 62 | const NX_STEREO_CCW: nx_int = 1 // @ (counter-clockwise looking from first neighbor) |
| 63 | const NX_STEREO_CW: nx_int = 2 // @@ (clockwise) |
| 67 | const NX_BSTEREO_NONE: nx_int = 0 |
| 68 | const NX_BSTEREO_UP: nx_int = 1 // / |
| 69 | const NX_BSTEREO_DOWN: nx_int = 2 // \ |
| 70 | const NX_BSTEREO_CIS: nx_int = 3 |
| 71 | const NX_BSTEREO_TRANS: nx_int = 4 |
| 91 | const NX_ATOM_BYTES: nx_int = 104 |
| 102 | const NX_BOND_BYTES: nx_int = 48 |
| 116 | const NX_MOL_GRAPH_BYTES: nx_int = 72 |
functions
| 121 | func nx_chem_mol_new(cap_atoms: nx_int, cap_bonds: nx_int) -> *MolGraph |
| 137 | func nx_chem_mol_atom(m: *MolGraph, i: nx_int) -> *Atom |
| 144 | func nx_chem_mol_bond(m: *MolGraph, i: nx_int) -> *Bond |
| 153 | func nx_chem_mol_atom_add(m: *MolGraph, z: nx_int) -> nx_int |
| 181 | func nx_chem_mol_bond_add(m: *MolGraph, a: nx_int, b: nx_int, order: nx_int) -> nx_int |
| 230 | func nx_chem_mol_count_z(m: *MolGraph, target_z: nx_int) -> nx_int |
| 251 | func nx_chem_mol_water() -> *MolGraph |
| 258 | func nx_chem_mol_methane() -> *MolGraph |
| 265 | func nx_chem_mol_ethanol() -> *MolGraph |
| 276 | func nx_chem_mol_ethene() -> *MolGraph |
| 285 | func nx_chem_mol_ethyne() -> *MolGraph |
| 298 | func nx_chem_mol_benzene() -> *MolGraph |