etomica.util
Class Constants

java.lang.Object
  extended by etomica.util.Constants

public final class Constants
extends Object

Collection of assorted physical constants. All values are in simulations units in which time is in picoseconds, length is in Angstroms, and mass is in Daltons (amu). Also defines several enumerated-type constants.


Nested Class Summary
static class Constants.Alignment
          Enumerated type for specifying HORIZONTAL/VERTICAL alignment.
static class Constants.CompassDirection
          Enumerated type for the compass directions NORTH, SOUTH, EAST, WEST.
static class Constants.Direction
          Enumerated type for the directions TOP, BOTTOM, LEFT, RIGHT, FRONT, BACK.
 
Field Summary
static double AVOGADRO
          Avogadro's number, 6.0221415e23 molecules/mole.
static double BOLTZMANN_K
          Boltzmann's constant, in (sim units)/kelvin.
static double EPSILON_0
          The permittivity of a vacuum, in (sim units) (electron charge)^2.
static double G
          The gravitational constant, in simulation units.
static double G_EARTH
          The standard acceleration of gravity on Earth.
static double LIGHT_SPEED
          The speed of light, in simulation units.
static double PLANCK_H
          Planck's constant, in simulation units.
static double TWO_PI
           
 
Method Summary
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TWO_PI

public static final double TWO_PI
See Also:
Constant Field Values

AVOGADRO

public static final double AVOGADRO
Avogadro's number, 6.0221415e23 molecules/mole.

See Also:
Constant Field Values

G_EARTH

public static final double G_EARTH
The standard acceleration of gravity on Earth.

See Also:
Constant Field Values

BOLTZMANN_K

public static final double BOLTZMANN_K
Boltzmann's constant, in (sim units)/kelvin. Specifically, equal to 0.8314517839107 (daltons)(angstroms^2)(ps^-2)(kelvin^-1).

See Also:
Constant Field Values

PLANCK_H

public static final double PLANCK_H
Planck's constant, in simulation units. Specifically, equal to approximately 39.903127 D-A^2/ps.


EPSILON_0

public static final double EPSILON_0
The permittivity of a vacuum, in (sim units) (electron charge)^2. Specifically, equal to 5.7276575390366254E-7 (ps^2)(daltons^-1)(angstroms^-3)(electrons^2).

See Also:
Constant Field Values

LIGHT_SPEED

public static final double LIGHT_SPEED
The speed of light, in simulation units. Equal to 2997924.58 Angstroms/picosecond

See Also:
Constant Field Values

G

public static final double G
The gravitational constant, in simulation units. Equal to approximately 1.1e-31 A^3/ps^2/D.

See Also:
Constant Field Values
Method Detail

main

public static void main(String[] arg)