physical::unit_si_float Namespace Reference


typedef float real


static const DynamicUnit<
celsius (unit_si_double::kelvin, physical::detail::DynamicScale(1., 273.15))
static const DynamicUnit<
fahrenheit (celsius, physical::detail::DynamicScale(5./9.,-5./9.*32))
static const DynamicUnit<
reaumur (celsius, physical::detail::DynamicScale(5./4., 0.))


namespace quantity = quantity_si_float
static const double pi = 3.14
static const quantity::scalar unity (1)
static const quantity::length meter (1)
static const quantity::mass kilogram (1)
static const quantity::time second (1)
static const quantity::electric_current ampere (1)
static const quantity::temperature kelvin (1)
static const quantity::amount_of_substance mol (1)
static const quantity::amount_of_substance mole (1)
static const quantity::luminous_intensity candela (1)
static const quantity::area square_meter = meter*meter
static const quantity::volume cubic_meter = meter*meter*meter
static const quantity::velocity meter_per_second = meter/second
static const quantity::acceleration meter_per_second_squared = meter/(second*second)
static const quantity::wave_number reciprocal_meter = unity/meter
static const quantity::mass_density kilogram_per_cubic_meter = kilogram/cubic_meter
static const quantity::specific_volume cubic_meter_per_kilogram = cubic_meter/kilogram
static const quantity::current_density ampere_per_square_meter = ampere/square_meter
static const quantity::magnetic_field_strength ampere_per_meter = ampere/meter
static const quantity::amount_of_substance_concentration mole_per_cubic_meter = mol/cubic_meter
static const quantity::luminance candela_per_square_meter = candela/square_meter
static const quantity::mass_fraction kilogram_per_kilogram = kilogram/kilogram
static const quantity::plane_angle radian = meter/meter
static const quantity::solid_angle steradian = square_meter/square_meter
static const quantity::frequency hertz = unity/second
static const quantity::force newton = meter*kilogram/(second*second)
static const quantity::pressure Pascal = newton/square_meter
static const quantity::energy joule = newton*meter
static const quantity::power watt = joule/second
static const quantity::electric_charge coulomb = second*ampere
static const quantity::electric_potential_difference volt = watt/ampere
static const quantity::capacitance farad = coulomb/volt
static const quantity::electric_resistance ohm = volt/ampere
static const quantity::electric_conductance siemens = ampere/volt
static const quantity::magnetic_flux weber = volt*second
static const quantity::magnetic_flux_density tesla = weber/square_meter
static const quantity::inductance henry = weber/ampere
static const quantity::luminous_flux lumen = candela*steradian
static const quantity::illuminance lux = lumen/square_meter
static const quantity::activity_of_a_radionuclide becquerel = unity/second
static const quantity::absorbed_dose gray = joule/kilogram
static const quantity::dose_equivalent sievert = joule/kilogram
static const quantity::catalytic_activity katal = mol/second
static const quantity::length centimeter = (real)0.01*meter
static const quantity::length millimeter = (real)0.001*meter
static const quantity::length kilometer = (real)1000*meter
static const quantity::mass gram = (real)0.001*kilogram
static const quantity::time minute = (real)60*second
static const quantity::time hour = (real)60*minute
static const quantity::plane_angle revolution = (real)(2*pi)*radian
static const quantity::angular_velocity revolution_per_second = revolution/second
static const quantity::angular_velocity revolution_per_minute = revolution/minute

Typedef Documentation

typedef float physical::unit_si_float::real

Definition at line 24 of file unit.hpp.

Function Documentation

static const DynamicUnit<quantity::system> physical::unit_si_float::celsius ( unit_si_double::kelvin  ,
physical::detail::  DynamicScale(1., 273.15) 
) [static]

Referenced by BOOST_AUTO_UNIT_TEST().

static const DynamicUnit<quantity::system> physical::unit_si_float::fahrenheit ( celsius  ,
physical::detail::  DynamicScale(5./9.,-5./9.*32) 
) [static]

Referenced by BOOST_AUTO_UNIT_TEST().

static const DynamicUnit<quantity::system> physical::unit_si_float::reaumur ( celsius  ,
physical::detail::  DynamicScale(5./4., 0.) 
) [static]

Referenced by BOOST_AUTO_UNIT_TEST().

Variable Documentation

const quantity::electric_current physical::unit_si_float::ampere(1) [static]

Referenced by physical::format::detail::automatic_dimension().

const quantity::magnetic_field_strength physical::unit_si_float::ampere_per_meter = ampere/meter [static]

Definition at line 55 of file unit.hpp.

const quantity::current_density physical::unit_si_float::ampere_per_square_meter = ampere/square_meter [static]

Definition at line 54 of file unit.hpp.

const quantity::activity_of_a_radionuclide physical::unit_si_float::becquerel = unity/second [static]

Definition at line 78 of file unit.hpp.

const quantity::luminous_intensity physical::unit_si_float::candela(1) [static]

Referenced by physical::format::detail::automatic_dimension().

const quantity::luminance physical::unit_si_float::candela_per_square_meter = candela/square_meter [static]

Definition at line 57 of file unit.hpp.

const quantity::length physical::unit_si_float::centimeter = (real)0.01*meter [static]

Definition at line 84 of file unit.hpp.

const quantity::electric_charge physical::unit_si_float::coulomb = second*ampere [static]

Definition at line 68 of file unit.hpp.

const quantity::volume physical::unit_si_float::cubic_meter = meter*meter*meter [static]

Definition at line 48 of file unit.hpp.

const quantity::specific_volume physical::unit_si_float::cubic_meter_per_kilogram = cubic_meter/kilogram [static]

Definition at line 53 of file unit.hpp.

const quantity::capacitance physical::unit_si_float::farad = coulomb/volt [static]

Definition at line 70 of file unit.hpp.

const quantity::mass physical::unit_si_float::gram = (real)0.001*kilogram [static]

Definition at line 87 of file unit.hpp.

Referenced by BOOST_AUTO_UNIT_TEST().

const quantity::absorbed_dose physical::unit_si_float::gray = joule/kilogram [static]

Definition at line 79 of file unit.hpp.

const quantity::inductance physical::unit_si_float::henry = weber/ampere [static]

Definition at line 75 of file unit.hpp.

const quantity::frequency physical::unit_si_float::hertz = unity/second [static]

Definition at line 63 of file unit.hpp.

const quantity::time physical::unit_si_float::hour = (real)60*minute [static]

Definition at line 89 of file unit.hpp.

Referenced by BOOST_AUTO_UNIT_TEST().

const quantity::energy physical::unit_si_float::joule = newton*meter [static]

Definition at line 66 of file unit.hpp.

const quantity::catalytic_activity physical::unit_si_float::katal = mol/second [static]

Definition at line 81 of file unit.hpp.

const quantity::temperature physical::unit_si_float::kelvin(1) [static]

Referenced by physical::format::detail::automatic_dimension(), and BOOST_AUTO_UNIT_TEST().

const quantity::mass physical::unit_si_float::kilogram(1) [static]

Referenced by physical::format::detail::automatic_dimension().

const quantity::mass_density physical::unit_si_float::kilogram_per_cubic_meter = kilogram/cubic_meter [static]

Definition at line 52 of file unit.hpp.

const quantity::mass_fraction physical::unit_si_float::kilogram_per_kilogram = kilogram/kilogram [static]

Definition at line 58 of file unit.hpp.

const quantity::length physical::unit_si_float::kilometer = (real)1000*meter [static]

Definition at line 86 of file unit.hpp.

Referenced by BOOST_AUTO_UNIT_TEST().

const quantity::luminous_flux physical::unit_si_float::lumen = candela*steradian [static]

Definition at line 76 of file unit.hpp.

const quantity::illuminance physical::unit_si_float::lux = lumen/square_meter [static]

Definition at line 77 of file unit.hpp.

const quantity::length physical::unit_si_float::meter(1) [static]

Referenced by physical::format::detail::automatic_dimension(), and BOOST_AUTO_UNIT_TEST().

const quantity::velocity physical::unit_si_float::meter_per_second = meter/second [static]

Definition at line 49 of file unit.hpp.

const quantity::acceleration physical::unit_si_float::meter_per_second_squared = meter/(second*second) [static]

Definition at line 50 of file unit.hpp.

const quantity::length physical::unit_si_float::millimeter = (real)0.001*meter [static]

Definition at line 85 of file unit.hpp.

const quantity::time physical::unit_si_float::minute = (real)60*second [static]

Definition at line 88 of file unit.hpp.

const quantity::amount_of_substance physical::unit_si_float::mol(1) [static]

const quantity::amount_of_substance physical::unit_si_float::mole(1) [static]

const quantity::amount_of_substance_concentration physical::unit_si_float::mole_per_cubic_meter = mol/cubic_meter [static]

Definition at line 56 of file unit.hpp.

const quantity::force physical::unit_si_float::newton = meter*kilogram/(second*second) [static]

Definition at line 64 of file unit.hpp.

const quantity::electric_resistance physical::unit_si_float::ohm = volt/ampere [static]

Definition at line 71 of file unit.hpp.

const quantity::pressure physical::unit_si_float::Pascal = newton/square_meter [static]

Definition at line 65 of file unit.hpp.

const double physical::unit_si_float::pi = 3.14 [static]

Definition at line 29 of file unit.hpp.

namespace physical::unit_si_float::quantity = quantity_si_float

Definition at line 24 of file unit.hpp.

const quantity::plane_angle physical::unit_si_float::radian = meter/meter [static]

Definition at line 61 of file unit.hpp.

const quantity::wave_number physical::unit_si_float::reciprocal_meter = unity/meter [static]

Definition at line 51 of file unit.hpp.

const quantity::plane_angle physical::unit_si_float::revolution = (real)(2*pi)*radian [static]

Definition at line 90 of file unit.hpp.

const quantity::angular_velocity physical::unit_si_float::revolution_per_minute = revolution/minute [static]

Definition at line 92 of file unit.hpp.

const quantity::angular_velocity physical::unit_si_float::revolution_per_second = revolution/second [static]

Definition at line 91 of file unit.hpp.

const quantity::time physical::unit_si_float::second(1) [static]

Referenced by physical::format::detail::automatic_dimension(), and BOOST_AUTO_UNIT_TEST().

const quantity::electric_conductance physical::unit_si_float::siemens = ampere/volt [static]

Definition at line 72 of file unit.hpp.

const quantity::dose_equivalent physical::unit_si_float::sievert = joule/kilogram [static]

Definition at line 80 of file unit.hpp.

const quantity::area physical::unit_si_float::square_meter = meter*meter [static]

Definition at line 47 of file unit.hpp.

const quantity::solid_angle physical::unit_si_float::steradian = square_meter/square_meter [static]

Definition at line 62 of file unit.hpp.

const quantity::magnetic_flux_density physical::unit_si_float::tesla = weber/square_meter [static]

Definition at line 74 of file unit.hpp.

const quantity::scalar physical::unit_si_float::unity(1) [static]

const quantity::electric_potential_difference physical::unit_si_float::volt = watt/ampere [static]

Definition at line 69 of file unit.hpp.

const quantity::power physical::unit_si_float::watt = joule/second [static]

Definition at line 67 of file unit.hpp.

const quantity::magnetic_flux physical::unit_si_float::weber = volt*second [static]

Definition at line 73 of file unit.hpp.

Generated on Mon Apr 2 22:25:08 2007 for physical_svn by  doxygen 1.5.1-p1
hosted on Logo