source: pcp/src/defs.h@ 64ca279

Last change on this file since 64ca279 was a0bcf1, checked in by Frederik Heber <heber@…>, 17 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
Line 
1#ifndef defs_h
2#define defs_h
3
4/** \file defs.h
5 * Physical dimensions and other constants.
6 *
7 * Herein is defined the smallest possible number unequal zero MYEPSILON, the bohr radius in
8 * atmic units BOHRRADIUS, the number of dimensions NDIM or the number of standard level
9 * STANDARTLEVEL or how long a string at the very most may be MAXDUMMYSTRING
10 *
11 Project: ParallelCarParrinello
12 Jan Hamaekers
13 2000
14
15 File: defs.h
16 $Id: defs.h,v 1.13 2007-03-29 13:35:22 foo Exp $
17*/
18
19#include <float.h>
20#define MYEPSILON (DBL_EPSILON*1000.0) //!< 1000 times the smallest possible constant (1.0+DBL_EPSILON!=1.0)
21#define RTCOEFFFACTOR 0.0 //!< RT(?) Koeffizientenfaktor
22#define BOHRRADIUS 0.5291772108 //!< Bohr radius in Angstroem - units 1.74 */
23
24#define STANDARTLEVEL 1 //!< standard level depth
25
26#define NDIM (3) //!< spatial dimensions
27#define NDIM_NDIM (NDIM*NDIM) //!< spatial squared
28
29#define MAXDUMMYSTRING (199) //!< maximum length when mallocting space for string
30
31//#define mu0 6.691762496807159e-04 //!< permeability of the vacuum in atomic units (a_0 m_e e^{-2}, converted from CODATA values)
32//#define mu0 0.0006691762496807159
33#define mu0 (12.566370614e-7/8.2387225e-8*(6.62361782e-3*6.62361782e-3)) //!< permeability of the vacuum in atomic units (a_0 m_e e^{-2}, converted from CODATA values)
34
35#define loschmidt_constant (2.6867773e25*(0.5291772108e-10*0.5291772108e-10*0.5291772108e-10)) //! Loschmidt's constant in atomic units
36//#define loschmidt_constant 0.00268262
37
38#endif
Note: See TracBrowser for help on using the repository browser.