| 
            Last change
 on this file since 65faa1 was             a0bcf1, checked in by Frederik Heber <heber@…>, 18 years ago           | 
        
        
          | 
             
-initial commit 
-Minimum set of files needed from ESPACK SVN repository 
-Switch to three tantamount package parts instead of all relating to pcp (as at some time Ralf's might find inclusion as well) 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.5 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [a0bcf1] | 1 | /** \file defs.hpp
 | 
|---|
 | 2 |  * 
 | 
|---|
 | 3 |  * Constant definitons and enumerations.
 | 
|---|
 | 4 |  * 
 | 
|---|
 | 5 |  */
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | #ifndef DEFS_HPP_
 | 
|---|
 | 8 | #define DEFS_HPP_
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 | using namespace std;
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | #define MYEPSILON 1e-13   //!< machine epsilon precision
 | 
|---|
 | 13 | #define NDIM  3   //!< number of spatial dimensions
 | 
|---|
 | 14 | #define MAX_ELEMENTS 128  //!< maximum number of elements for certain lookup tables 
 | 
|---|
 | 15 | #define AtomicLengthToAngstroem  0.52917721 //!< conversion factor from atomic length/bohrradius to angstroem
 | 
|---|
 | 16 | #define BONDTHRESHOLD 0.5   //!< CSD threshold in bond check which is the width of the interval whose center is the sum of the covalent radii 
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | enum BondOrderScheme { NoScheme, BottomUp, TopDown, ANOVA, Combined }; //!< Fragmentation scheme used in BOSS
 | 
|---|
 | 19 | 
 | 
|---|
 | 20 | enum EdgeType { Undetermined, TreeEdge, BackEdge }; //!< edge type in a graph after Depth-First-Search analysis.
 | 
|---|
 | 21 | 
 | 
|---|
 | 22 | enum Shading { white, lightgray, darkgray, black };  //!< color in Breadth-First-Search analysis
 | 
|---|
 | 23 | 
 | 
|---|
 | 24 | enum CutCyclicBond { KeepBond,  SaturateBond }; //!< Saturation scheme either atom- or bondwise 
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | // Specifting whether a value in the parameter file must be specified or is optional
 | 
|---|
 | 27 | enum necessity { optional,    //!< parameter is optional, if not given sensible value is chosen
 | 
|---|
 | 28 |                  critical     //!< parameter must be given or programme won't initiate
 | 
|---|
 | 29 |                };
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 | // Specifying the cast type to be read of a parameter, see ParseForParameter()
 | 
|---|
 | 32 | enum value_type { string_type, double_type, int_type, row_int, row_double, grid, lower_trigrid, upper_trigrid}; 
 | 
|---|
 | 33 | 
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | #endif /*DEFS_HPP_*/
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.