00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef DH_NEIGHBOR
00033 #define DH_NEIGHBOR
00034
00035
00036
00037 #include <stdio.h>
00038 #include <stdlib.h>
00039 #include <unistd.h>
00040 #include <string.h>
00041 #include <ctype.h>
00042 #include <limits.h>
00043
00044 #include "voronoi.h"
00045 #include "atom.h"
00046 #include "rpdb.h"
00047 #include "sort.h"
00048 #include "memhandler.h"
00049
00050
00051
00052 #define M_INTERFACE_SEARCH_DIST 8.0
00053 #define M_INTERFACE_SEARCH 1
00054 #define M_NO_INTERFACE_SEARCH 0
00055
00056
00057
00058
00059
00060 s_atm** get_mol_atm_neigh(s_atm **atoms, int natoms, s_atm **all, int nall,
00061 float dist_crit, int *nneigh) ;
00062
00063 s_atm** get_mol_ctd_atm_neigh(s_atm **atoms, int natoms,
00064 s_vvertice **pvert, int nvert,
00065 float vdist_crit, int interface_search, int *nneigh) ;
00066
00067 s_vvertice** get_mol_vert_neigh(s_atm **atoms, int natoms,
00068 s_vvertice **pvert, int nvert,
00069 float dist_crit, int *nneigh) ;
00070
00071 float count_pocket_lig_vert_ovlp(s_atm **lig, int nlig,
00072 s_vvertice **pvert, int nvert,
00073 float dist_crit) ;
00074
00075 float count_atm_prop_vert_neigh (s_atm **lig, int nlig,
00076 s_vvertice **pvert, int nvert,
00077 float dist_crit,int n_lig_molecules) ;
00078
00079
00080 int count_vert_neigh_P(s_vvertice **pvert, int nvert,
00081 s_vvertice **pvert_all, int nvert_all,
00082 float dcrit) ;
00083
00084 int count_vert_neigh(s_vsort *lsort, s_vvertice **pvert, int nvert,float dcrit);
00085
00086 #endif