File: unit_conversion.h

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
file content (35 lines) | stat: -rw-r--r-- 969 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/***************************************************************************
 * RCS INFORMATION:
 *
 *      $RCSfile: unit_conversion.h,v $
 *      $Author: akohlmey $       $Locker:  $             $State: Exp $
 *      $Revision: 1.3 $       $Date: 2009/06/26 01:13:39 $
 *
 ***************************************************************************/
/******************************************************************
 * 
 * unit conversion factors.
 *  
 ******************************************************************/


#ifndef UNIT_CONVERSION_H
#define UNIT_CONVERSION_H

/* 
 * units according to CODATA 2006 
 * Version 5.1, http://physics.nist.gov/constants
 */
/* convert Bohr to Angstrom */
#define BOHR_TO_ANGS 0.529177210859
#define ANGS_TO_BOHR 1.88972612478289694072


/* convert Hartree into kcal/mol */
#define HARTREE_TO_KCAL 627.5094706142

/* convert Hartree into eV */
#define HARTREE_TO_EV    27.211383860484776

#endif /* UNIT_CONVERSION */