#ifndef defs_h #define defs_h /** \file defs.h * Physical dimensions and other constants. * * Herein is defined the smallest possible number unequal zero MYEPSILON, the bohr radius in * atmic units BOHRRADIUS, the number of dimensions NDIM or the number of standard level * STANDARTLEVEL or how long a string at the very most may be MAXDUMMYSTRING * Project: ParallelCarParrinello Jan Hamaekers 2000 File: defs.h $Id: defs.h,v 1.13 2007-03-29 13:35:22 foo Exp $ */ #include #define MYEPSILON (DBL_EPSILON*1000.0) //!< 1000 times the smallest possible constant (1.0+DBL_EPSILON!=1.0) #define RTCOEFFFACTOR 0.0 //!< RT(?) Koeffizientenfaktor #define BOHRRADIUS 0.5291772108 //!< Bohr radius in Angstroem - units 1.74 */ #define STANDARTLEVEL 1 //!< standard level depth #define NDIM (3) //!< spatial dimensions #define NDIM_NDIM (NDIM*NDIM) //!< spatial squared #define MAXDUMMYSTRING (199) //!< maximum length when mallocting space for string //#define mu0 6.691762496807159e-04 //!< permeability of the vacuum in atomic units (a_0 m_e e^{-2}, converted from CODATA values) //#define mu0 0.0006691762496807159 #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) #define loschmidt_constant (2.6867773e25*(0.5291772108e-10*0.5291772108e-10*0.5291772108e-10)) //! Loschmidt's constant in atomic units //#define loschmidt_constant 0.00268262 #endif