public class PhysicalConstants extends Object
| Modifier and Type | Field and Description | 
|---|---|
static double | 
ACCEL_GRAV
Standard acceleration of gravity on Earth m.s^-2 
 | 
static double | 
AU
1 Astronomical unit - m 
 | 
static double | 
BOLTZMANN
Boltzmann constant - J.K^-1 
 | 
static double | 
ELECTRON_MASS
Electron mass - Kg 
 | 
static double | 
ELECTRON_VOLT
Electron volt - J 
 | 
static double | 
FINE_STRUCTURE
Fine structure constant - unitless 
 | 
static double | 
GRAVITATION
Gravitational constant - N.m^2.Kg^-2 
 | 
static double | 
JANSKY
1 Jansky - W.m^-2.Hz^-1 
 | 
static double | 
LUMINOSITY_OF_SUN
Solar Luminosity - W 
 | 
static double | 
MASS_OF_EARTH
Mass of the Earth - Kg 
 | 
static double | 
MASS_OF_JUPITER
Mass of Jupiter - Kg 
 | 
static double | 
MASS_OF_SUN
Mass of Sun - Kg 
 | 
static double | 
PARSEC
1 Parsec - m 
 | 
static double | 
PLANCK
Planck constant - J.s 
 | 
static double | 
PLANCK_BAR
Planck constant/2*PI - J.s 
 | 
static double | 
PLANCK_EVS
Planck constant - eV.s 
 | 
static double | 
PLANCK_EVS_BAR
Planck constant/2*PI - eV.s 
 | 
static double | 
PLANCK_LENGTH
Planck length - m 
 | 
static double | 
PLANCK_MASS
Planck mass - Kg 
 | 
static double | 
PLANCK_TEMP
Planck temperature - K 
 | 
static double | 
PROTON_MASS
Proton mass - Kg 
 | 
static double | 
RADIUS_OF_SUN
Radius of Sun - m 
 | 
static double | 
RYDBERG
Rydberg constant - m^-1 
 | 
static double | 
SOLAR_CONSTANT
Solar constant - kW.m^-1 
 | 
static double | 
SPEED_OF_LIGHT
Speed of light in a vacuum - m.s^-1 
 | 
static double | 
STEFAN_BOLTZMANN
Stefan-Boltzmann constant - W.m^-2.K^-4 
 | 
static double | 
WAVE_HALPHA
Wavelength of H-alpha - Angstroms 
 | 
static double | 
WIEN_DISPLACEMENT
Wien displacement law constant - m.K 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PhysicalConstants | 
getInstance()
Get instance of class for aliasing. 
 | 
public static final double SPEED_OF_LIGHT
public static final double PLANCK
public static final double PLANCK_BAR
public static final double PLANCK_EVS
public static final double PLANCK_EVS_BAR
public static final double PLANCK_LENGTH
public static final double PLANCK_MASS
public static final double PLANCK_TEMP
public static final double BOLTZMANN
public static final double GRAVITATION
public static final double ACCEL_GRAV
public static final double ELECTRON_MASS
public static final double PROTON_MASS
public static final double FINE_STRUCTURE
public static final double ELECTRON_VOLT
public static final double STEFAN_BOLTZMANN
public static final double RYDBERG
public static final double WIEN_DISPLACEMENT
public static final double WAVE_HALPHA
public static final double AU
public static final double PARSEC
public static final double MASS_OF_SUN
public static final double RADIUS_OF_SUN
public static final double LUMINOSITY_OF_SUN
public static final double MASS_OF_EARTH
public static final double MASS_OF_JUPITER
public static final double SOLAR_CONSTANT
public static final double JANSKY
public static PhysicalConstants getInstance()
PhysicalConstants PC = PhysicalConstants.getInstance(); System.out.println( "Speed of light = " + PC.SPEED_OF_LIGHT );to cut down on verbage.
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.