Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_COMMON_CONSTANTS_H
#define BALL_COMMON_CONSTANTS_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
namespace BALL
{
namespace Constants
{
BALL_EXTERN_VARIABLE const double PI;
BALL_EXTERN_VARIABLE const double E;
BALL_EXTERN_VARIABLE double EPSILON;
BALL_EXTERN_VARIABLE const double ELEMENTARY_CHARGE; // C
BALL_EXTERN_VARIABLE const double e0;
BALL_EXTERN_VARIABLE const double ELECTRON_MASS; // kg
BALL_EXTERN_VARIABLE const double PROTON_MASS; // kg
BALL_EXTERN_VARIABLE const double NEUTRON_MASS; // kg
BALL_EXTERN_VARIABLE const double AVOGADRO;
BALL_EXTERN_VARIABLE const double NA;
BALL_EXTERN_VARIABLE const double MOL;
BALL_EXTERN_VARIABLE const double BOLTZMANN;
BALL_EXTERN_VARIABLE const double k;
BALL_EXTERN_VARIABLE const double PLANCK;
BALL_EXTERN_VARIABLE const double h;
BALL_EXTERN_VARIABLE const double GAS_CONSTANT;
BALL_EXTERN_VARIABLE const double R;
BALL_EXTERN_VARIABLE const double FARADAY;
BALL_EXTERN_VARIABLE const double F;
BALL_EXTERN_VARIABLE const double BOHR_RADIUS;
BALL_EXTERN_VARIABLE const double a0;
// the following values from:
// P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
BALL_EXTERN_VARIABLE const double VACUUM_PERMITTIVITY;
BALL_EXTERN_VARIABLE const double VACUUM_PERMEABILITY;
BALL_EXTERN_VARIABLE const double SPEED_OF_LIGHT;
BALL_EXTERN_VARIABLE const double c;
BALL_EXTERN_VARIABLE const double GRAVITATIONAL_CONSTANT;
BALL_EXTERN_VARIABLE const double FINE_STRUCTURE_CONSTANT;
BALL_EXTERN_VARIABLE const double DEG_PER_RAD;
BALL_EXTERN_VARIABLE const double RAD_PER_DEG;
BALL_EXTERN_VARIABLE const double MM_PER_INCH;
BALL_EXTERN_VARIABLE const double M_PER_FOOT;
BALL_EXTERN_VARIABLE const double JOULE_PER_CAL;
BALL_EXTERN_VARIABLE const double CAL_PER_JOULE;
}
}
#endif // BALL_COMMON_CONSTANTS_H
global.h
BALL_EXTERN_VARIABLE
#define BALL_EXTERN_VARIABLE
Definition COMMON/global.h:53
BALL::Constants
Definition constants.h:29
BALL::Constants::M_PER_FOOT
BALL_EXTERN_VARIABLE const double M_PER_FOOT
Definition constants.h:184
BALL::Constants::PROTON_MASS
BALL_EXTERN_VARIABLE const double PROTON_MASS
Definition constants.h:66
BALL::Constants::a0
BALL_EXTERN_VARIABLE const double a0
Definition constants.h:127
BALL::Constants::BOHR_RADIUS
BALL_EXTERN_VARIABLE const double BOHR_RADIUS
Definition constants.h:123
BALL::Constants::JOULE_PER_CAL
BALL_EXTERN_VARIABLE const double JOULE_PER_CAL
Definition constants.h:189
BALL::Constants::ELEMENTARY_CHARGE
BALL_EXTERN_VARIABLE const double ELEMENTARY_CHARGE
Definition constants.h:53
BALL::Constants::F
BALL_EXTERN_VARIABLE const double F
Definition constants.h:118
BALL::Constants::GAS_CONSTANT
BALL_EXTERN_VARIABLE const double GAS_CONSTANT
Definition constants.h:106
BALL::Constants::ELECTRON_MASS
BALL_EXTERN_VARIABLE const double ELECTRON_MASS
Definition constants.h:61
BALL::Constants::VACUUM_PERMITTIVITY
BALL_EXTERN_VARIABLE const double VACUUM_PERMITTIVITY
Definition constants.h:135
BALL::Constants::NA
BALL_EXTERN_VARIABLE const double NA
Definition constants.h:80
BALL::Constants::PLANCK
BALL_EXTERN_VARIABLE const double PLANCK
Definition constants.h:98
BALL::Constants::R
BALL_EXTERN_VARIABLE const double R
Definition constants.h:110
BALL::Constants::PI
BALL_EXTERN_VARIABLE const double PI
PI.
Definition constants.h:35
BALL::Constants::SPEED_OF_LIGHT
BALL_EXTERN_VARIABLE const double SPEED_OF_LIGHT
Definition constants.h:145
BALL::Constants::h
BALL_EXTERN_VARIABLE const double h
Definition constants.h:102
BALL::Constants::NEUTRON_MASS
BALL_EXTERN_VARIABLE const double NEUTRON_MASS
Definition constants.h:71
BALL::Constants::MM_PER_INCH
BALL_EXTERN_VARIABLE const double MM_PER_INCH
Definition constants.h:179
BALL::Constants::DEG_PER_RAD
BALL_EXTERN_VARIABLE const double DEG_PER_RAD
Definition constants.h:169
BALL::Constants::e0
BALL_EXTERN_VARIABLE const double e0
Elementary charge (alias).
Definition constants.h:56
BALL::Constants::E
BALL_EXTERN_VARIABLE const double E
Euler's number - base of the natural logarithm.
Definition constants.h:38
BALL::Constants::k
BALL_EXTERN_VARIABLE const double k
Definition constants.h:93
BALL::Constants::GRAVITATIONAL_CONSTANT
BALL_EXTERN_VARIABLE const double GRAVITATIONAL_CONSTANT
Definition constants.h:154
BALL::Constants::VACUUM_PERMEABILITY
BALL_EXTERN_VARIABLE const double VACUUM_PERMEABILITY
Definition constants.h:140
BALL::Constants::c
BALL_EXTERN_VARIABLE const double c
Definition constants.h:149
BALL::Constants::FARADAY
BALL_EXTERN_VARIABLE const double FARADAY
Definition constants.h:114
BALL::Constants::EPSILON
BALL_EXTERN_VARIABLE double EPSILON
Definition constants.h:43
BALL::Constants::RAD_PER_DEG
BALL_EXTERN_VARIABLE const double RAD_PER_DEG
Definition constants.h:174
BALL::Constants::BOLTZMANN
BALL_EXTERN_VARIABLE const double BOLTZMANN
Definition constants.h:89
BALL::Constants::FINE_STRUCTURE_CONSTANT
BALL_EXTERN_VARIABLE const double FINE_STRUCTURE_CONSTANT
Definition constants.h:159
BALL::Constants::AVOGADRO
BALL_EXTERN_VARIABLE const double AVOGADRO
Definition constants.h:76
BALL::Constants::MOL
BALL_EXTERN_VARIABLE const double MOL
Definition constants.h:84
BALL::Constants::CAL_PER_JOULE
BALL_EXTERN_VARIABLE const double CAL_PER_JOULE
Definition constants.h:194
BALL
Definition constants.h:13