~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to include/inchi/ichinorm.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * International Chemical Identifier (InChI)
 
3
 * Version 1
 
4
 * Software version 1.02-beta
 
5
 * August 23, 2007
 
6
 * Developed at NIST
 
7
 *
 
8
 * The InChI library and programs are free software developed under the
 
9
 * auspices of the International Union of Pure and Applied Chemistry (IUPAC);
 
10
 * you can redistribute this software and/or modify it under the terms of 
 
11
 * the GNU Lesser General Public License as published by the Free Software 
 
12
 * Foundation:
 
13
 * http://www.opensource.org/licenses/lgpl-license.php
 
14
 */
 
15
 
 
16
 
 
17
#ifndef __INCHINORM_H__
 
18
#define __INCHINORM_H__
 
19
 
 
20
 
 
21
#include "mode.h"
 
22
#include "ichi_bns.h"
 
23
 
 
24
 
 
25
#ifndef INCHI_ALL_CPP
 
26
#ifdef __cplusplus
 
27
extern "C" {
 
28
#endif
 
29
#endif
 
30
 
 
31
/* main normalization procedure */
 
32
int mark_alt_bonds_and_taut_groups ( inp_ATOM *at, inp_ATOM *at_fixed_bonds_out, int num_atoms,
 
33
                                     T_GROUP_INFO *t_group_info, INCHI_MODE *inpbTautFlags, INCHI_MODE *inpbTautFlagsDone );
 
34
 
 
35
int MarkTautomerGroups( inp_ATOM *at, int num_atoms, T_GROUP_INFO *t_group_info, C_GROUP_INFO *c_group_info,
 
36
                        struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD);
 
37
int MarkChargeGroups ( inp_ATOM *at, int num_atoms, C_GROUP_INFO *c_group_info, T_GROUP_INFO *t_group_info,
 
38
                      struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD );
 
39
int MarkSaltChargeGroups ( inp_ATOM *at, int num_atoms, S_GROUP_INFO *s_group_info,
 
40
                          T_GROUP_INFO *t_group_info, C_GROUP_INFO *c_group_info,
 
41
                          struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD );
 
42
int MarkSaltChargeGroups2 ( inp_ATOM *at, int num_atoms, S_GROUP_INFO *s_group_info,
 
43
                          T_GROUP_INFO *t_group_info, C_GROUP_INFO *c_group_info,
 
44
                          struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD );
 
45
int MergeSaltTautGroups( inp_ATOM *at, int num_atoms, S_GROUP_INFO *s_group_info,
 
46
                          T_GROUP_INFO *t_group_info, C_GROUP_INFO *c_group_info,
 
47
                          struct BalancedNetworkStructure *pBNS );
 
48
int MakeIsotopicHGroup( inp_ATOM *at, int num_atoms, S_GROUP_INFO *s_group_info,
 
49
                          T_GROUP_INFO *t_group_info );
 
50
 
 
51
int remove_terminal_HDT( int num_atoms, inp_ATOM *at );
 
52
int RemoveExcessiveImplicitH( int num_atoms, int num_removed_H, inp_ATOM *at );
 
53
int add_DT_to_num_H( int num_atoms, inp_ATOM *at );
 
54
int MarkRingSystemsInp( inp_ATOM *at, int num_atoms, int start );
 
55
int free_t_group_info( T_GROUP_INFO *t_group_info );
 
56
int make_a_copy_of_t_group_info( T_GROUP_INFO *t_group_info, T_GROUP_INFO *t_group_info_orig );
 
57
int set_tautomer_iso_sort_keys( T_GROUP_INFO *t_group_info );
 
58
int CountTautomerGroups( sp_ATOM *at, int num_atoms, T_GROUP_INFO *t_group_info );
 
59
int CountTautomerGroupsInpAt( inp_ATOM *at, int num_atoms, T_GROUP_INFO *t_group_info );
 
60
int SortTautomerGroupsAndEndpoints( T_GROUP_INFO *t_group_info, int num_atoms, int num_at_tg, AT_RANK *nRank );
 
61
int FillIsotopicAtLinearCT( int num_atoms, sp_ATOM* at, const AT_RANK *nAtomNumber,
 
62
                            AT_ISOTOPIC *LinearCTIsotopic, int nMaxLenLinearCTIsotopic, int *pnLenLinearCTIsotopic );
 
63
 
 
64
int FillTautLinearCT2( int num_atoms, int num_at_tg, int bIsoTaut,
 
65
        const AT_RANK *nRank, const AT_RANK *nAtomNumber, const AT_RANK *nSymmRank,
 
66
        const AT_RANK *nRankIso, const AT_RANK *nAtomNumberIso, const AT_RANK *nSymmRankIso,
 
67
        AT_TAUTOMER   *LinearCTTautomer, int nMaxLenLinearCTTautomer, int *pnLenLinearCTTautomer,
 
68
        AT_ISO_TGROUP *LinearCTIsotopicTautomer, int nMaxLenLinearCTIsotopicTautomer, int *pnLenLinearCTIsotopicTautomer,
 
69
        T_GROUP_INFO *t_group_info );
 
70
 
 
71
 
 
72
#ifndef INCHI_ALL_CPP
 
73
#ifdef __cplusplus
 
74
}
 
75
#endif
 
76
#endif
 
77
 
 
78
#endif /* __INCHINORM_H__ */