constant.h

00001 #ifndef CONSTANT_H
00002 #define CONSTANT_H
00003 
00004 #define MDL2000 2000
00005 #define MDL2000JLP 2001
00006 #define MDL3000 3000
00007 
00008 #define NAVALUE -9999
00009 
00010 #define INTEGER 0
00011 #define FLOAT 1
00012 #define STRING 3
00013 #define DEFAULT 4
00014 
00015 #define MULTITHREAD 1
00016 #define MAXTHREADS 100
00017 
00018 #ifndef CHEMCPPPATH
00019   #define CHEMCPPPATH "/opt/CLT/USERS/pmahe/chemcpp/"   // directory where all datafile are stored ( MUST END WITH / )
00020 #endif
00021 
00022 #define ELEMENTSFILENAME CHEMCPPPATH "/data/elements.csv"       // semicolumn (;) separated file with  each line describing an element
00023 
00024 #define KEGGATOMS CHEMCPPPATH "/data/keggatoms.csv"
00025 
00026 #define NUMELEMENTS 109 // maximum number of elements
00027 #define GRAMATOMSIDENTITYFILENAME CHEMCPPPATH "/data/gramAtoms.binary.csv"           // KASHIMA ORIGINAL
00028 #define GRAMATOMSDOTPRODUCT1FILENAME CHEMCPPPATH "/data/gramAtoms.dotproduct.csv"    // WARNING WRONG
00029 
00030 #define GRAMATOMSCRENDOTPRODUCTFILENAME CHEMCPPPATH "/data/gramAtoms.cren.dotproduct.csv"
00031 #define GRAMATOMSCRENPOLYNOMIALFILENAME CHEMCPPPATH "/data/gramAtoms.cren.polynomial.csv"
00032 #define GRAMATOMSCRENGAUSSIANFILENAME CHEMCPPPATH "/data/gramAtoms.cren.gaussian.csv"
00033 #define GRAMKEGGATOMSIDENTITYFILENAME CHEMCPPPATH "/data/gramKeggAtoms.kashima.csv"
00034 
00035 #define PS "ps"  // name used to designate the Kashima Start Probability
00036 #define PT "pt"  // name used to designate the Kashima Transition Probability
00037 #define PQ "pq"  // name used to designate the Kashima Stop Probability
00038 
00039 // ATOM PROPERTIES
00040 
00041 #define FULLNAME "Name"         // name used to designate the Full name
00042 #define SYMBOLNAME "Symbol"     // name used to designate the symbol letter in the elements file
00043 #define AN "An"                 // name used to designate the atomic number
00044 #define AM "Am"                 // name used to designate the atomic mass
00045 #define VWR "Vwr"               // name used to designate the van der Waals radius
00046 #define CR "Cr"                 // Covalent radius
00047 #define AV "Av"                 // Atomic volume
00048 #define MP "Mp"                 // Melting point
00049 #define BP "Bp"                 // Boiling point
00050 #define VALENCE "Valence"       // Valence
00051 #define EA1 "Ea1"               // First electron affinity
00052 #define IE1 "Ie1"               // First ionization energy
00053 #define IE2 "Ie2"               // second ionization energy
00054 #define IE3 "Ie3"               // third ionization energy
00055 #define IE4 "Ie4"               // fourth ionization energy
00056 #define IE5 "Ie5"               // fifth ionization energy
00057 #define IE6 "Ie6"               // sixth ionization energy
00058 #define IE7 "Ie7"               // seventh ionization energy
00059 #define IE8 "Ie8"               // eigth ionization energy
00060 #define EN "En"                 // Electronegativity
00061 
00062 // MOLECULE PROPERTIES
00063 
00064 #define ACTIVITY "activity" // stores the biological activity
00065 
00066 // BOND LABELS
00067 
00068 #define NOBOND 0
00069 #define SINGLEBOND 1
00070 #define DOUBLEBOND 2
00071 #define TRIPLEBOND 3
00072 #define AROMATICBOND 4
00073 #define SINGLECYCLEBOND 5
00074 #define DOUBLECYCLEBOND 6
00075 #define TRIPLECYCLEBOND 7
00076 
00077 
00078 // CALCULATIONS
00079 
00080 #define GRAMDECIMALPRECISION 9          // number of decimals to print in the gram matrix
00081 
00082 #define MAXSIMILARITYWARNING 0.999999   // number between 0 and 1. If the normalised kernel
00083                                         // exceeds this value between two molecules a warning
00084                                         // is printed
00085 
00086 #define MINSIMILARITYWARNING 1-MAXSIMILARITYWARNING
00087 
00088 
00089 #define DUPLICATEMWIDENTITY 0.0001      // in MoleculeSet::removeDuplicates, if mw1-mw2 < DUPLICATEMWIDENTITY then
00090                                         // two compounds are considered to have identical MW
00091 
00092 #define COMPONENTINDEX "componentIndex" // name of the descriptor used for marking fragments in a
00093                                         // molecule.
00094 
00095 #endif

Generated on Wed Nov 28 12:12:51 2007 for ChemCpp by  doxygen 1.4.6