ReFRACtor
FullPhysics::OldConstant Namespace Reference

Contains useful constants. More...

Functions

const Unit AU ("AU", 1.49597870691e11 *units::m)
 1 AU in meters. More...
 
const DoubleWithUnit earth_rot_speed (360/86164.09054, units::deg/units::s)
 Earth angular rotation frequency (1/sec) More...
 
const DoubleWithUnit planck (6.6260693e-34, units::J *units::s)
 Planck's constant, in J s. More...
 
const DoubleWithUnit speed_of_light (299792458, units::m/units::s)
 Speed of light, in m/s. More...
 
const DoubleWithUnit wgs84_a (6378137.0000, units::m)
 Equatorial radius. More...
 
const DoubleWithUnit wgs84_b (6356752.3142450, units::m)
 Polar radius in meters. More...
 

Variables

const double avogadro_constant = 6.02214179e23
 Avogadro constant. More...
 
const double gas_constant = 8.3144621
 Gas constant from the ideal gas law, in J mol-1 K-1. More...
 
const double molar_weight_dry_air = 28.9644
 Molar weight of dry air, in g mol^-1. More...
 
const double molar_weight_ozone = 47.9982
 Molar weight of O3, in g mol^-1. More...
 
const double molar_weight_water = 18.01528
 Molar weight of water, in g mol^-1. More...
 
const double pi = units::pi
 

Detailed Description

Contains useful constants.

This contains various constants that describe the wgs84 ellipsoid.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! This will get replaced with the new constants class !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Function Documentation

◆ AU()

const Unit FullPhysics::OldConstant::AU ( "AU"  ,
1.49597870691e11 *units::m   
)

1 AU in meters.

This comes from http://neo.jpl.nasa.gov/glossary/au.html

◆ earth_rot_speed()

const DoubleWithUnit FullPhysics::OldConstant::earth_rot_speed ( 360/86164.  09054,
units::deg/units::s   
)

Earth angular rotation frequency (1/sec)

◆ planck()

const DoubleWithUnit FullPhysics::OldConstant::planck ( 6.6260693e-  34,
units::J *units::s   
)

Planck's constant, in J s.

◆ speed_of_light()

const DoubleWithUnit FullPhysics::OldConstant::speed_of_light ( 299792458  ,
units::m/units::s   
)

Speed of light, in m/s.

Note that this is actually exact, since the speed of light is a defined quantity.

◆ wgs84_a()

const DoubleWithUnit FullPhysics::OldConstant::wgs84_a ( 6378137.  0000,
units::m   
)

Equatorial radius.

◆ wgs84_b()

const DoubleWithUnit FullPhysics::OldConstant::wgs84_b ( 6356752.  3142450,
units::m   
)

Polar radius in meters.

Variable Documentation

◆ avogadro_constant

const double FullPhysics::OldConstant::avogadro_constant = 6.02214179e23

Avogadro constant.

Definition at line 18 of file old_constant.h.

◆ gas_constant

const double FullPhysics::OldConstant::gas_constant = 8.3144621

Gas constant from the ideal gas law, in J mol-1 K-1.

Definition at line 43 of file old_constant.h.

◆ molar_weight_dry_air

const double FullPhysics::OldConstant::molar_weight_dry_air = 28.9644

Molar weight of dry air, in g mol^-1.

Definition at line 24 of file old_constant.h.

◆ molar_weight_ozone

const double FullPhysics::OldConstant::molar_weight_ozone = 47.9982

Molar weight of O3, in g mol^-1.

Definition at line 37 of file old_constant.h.

◆ molar_weight_water

const double FullPhysics::OldConstant::molar_weight_water = 18.01528

Molar weight of water, in g mol^-1.

Definition at line 30 of file old_constant.h.

◆ pi

const double FullPhysics::OldConstant::pi = units::pi

Definition at line 47 of file old_constant.h.


Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:14