Measure/Pressure.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Measure
- Version
- $Id$
\Zend_Measure_Pressure
Package: Zend_Measure\Zend_Measure_Pressure
Class for handling pressure conversions
- Parent(s)
- \Zend_Measure_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
array $_units = array('ATMOSPHERE' => array('101325.01', 'atm'), 'ATMOSPHERE_TECHNICAL' => array('98066.5', 'atm'), 'ATTOBAR' => array('1.0e-13', 'ab'), 'ATTOPASCAL' => array('1.0e-18', 'aPa'), 'BAR' => array('100000', 'b'), 'BARAD' => array('0.1', 'barad'), 'BARYE' => array('0.1', 'ba'), 'CENTIBAR' => array('1000', 'cb'), 'CENTIHG' => array('1333.2239', 'cHg'), 'CENTIMETER_MERCURY_0C' => array('1333.2239', 'cm mercury (0°C)'), 'CENTIMETER_WATER_4C' => array('98.0665', 'cm water (4°C)'), 'CENTIPASCAL' => array('0.01', 'cPa'), 'CENTITORR' => array('1.3332237', 'cTorr'), 'DECIBAR' => array('10000', 'db'), 'DECIPASCAL' => array('0.1', 'dPa'), 'DECITORR' => array('13.332237', 'dTorr'), 'DEKABAR' => array('1000000', 'dab'), 'DEKAPASCAL' => array('10', 'daPa'), 'DYNE_PER_SQUARE_CENTIMETER' => array('0.1', 'dyn/cm²'), 'EXABAR' => array('1.0e+23', 'Eb'), 'EXAPASCAL' => array('1.0e+18', 'EPa'), 'FEMTOBAR' => array('1.0e-10', 'fb'), 'FEMTOPASCAL' => array('1.0e-15', 'fPa'), 'FOOT_AIR_0C' => array('3.8640888', 'ft air (0°C)'), 'FOOT_AIR_15C' => array('3.6622931', 'ft air (15°C)'), 'FOOT_HEAD' => array('2989.0669', 'ft head'), 'FOOT_MERCURY_0C' => array('40636.664', 'ft mercury (0°C)'), 'FOOT_WATER_4C' => array('2989.0669', 'ft water (4°C)'), 'GIGABAR' => array('1.0e+14', 'Gb'), 'GIGAPASCAL' => array('1.0e+9', 'GPa'), 'GRAM_FORCE_SQUARE_CENTIMETER' => array('98.0665', 'gf'), 'HECTOBAR' => array('1.0e+7', 'hb'), 'HECTOPASCAL' => array('100', 'hPa'), 'INCH_AIR_0C' => array(array('' => '3.8640888', '/' => '12'), 'in air (0°C)'), 'INCH_AIR_15C' => array(array('' => '3.6622931', '/' => '12'), 'in air (15°C)'), 'INCH_MERCURY_0C' => array(array('' => '40636.664', '/' => '12'), 'in mercury (0°C)'), 'INCH_WATER_4C' => array(array('' => '2989.0669', '/' => '12'), 'in water (4°C)'), 'KILOBAR' => array('1.0e+8', 'kb'), 'KILOGRAM_FORCE_PER_SQUARE_CENTIMETER' => array('98066.5', 'kgf/cm²'), 'KILOGRAM_FORCE_PER_SQUARE_METER' => array('9.80665', 'kgf/m²'), 'KILOGRAM_FORCE_PER_SQUARE_MILLIMETER' => array('9806650', 'kgf/mm²'), 'KILONEWTON_PER_SQUARE_METER' => array('1000', 'kN/m²'), 'KILOPASCAL' => array('1000', 'kPa'), 'KILOPOND_PER_SQUARE_CENTIMETER' => array('98066.5', 'kp/cm²'), 'KILOPOND_PER_SQUARE_METER' => array('9.80665', 'kp/m²'), 'KILOPOND_PER_SQUARE_MILLIMETER' => array('9806650', 'kp/mm²'), 'KIP_PER_SQUARE_FOOT' => array(array('' => '430.92233', '/' => '0.009'), 'kip/ft²'), 'KIP_PER_SQUARE_INCH' => array(array('' => '62052.81552', '/' => '0.009'), 'kip/in²'), 'MEGABAR' => array('1.0e+11', 'Mb'), 'MEGANEWTON_PER_SQUARE_METER' => array('1000000', 'MN/m²'), 'MEGAPASCAL' => array('1000000', 'MPa'), 'METER_AIR_0C' => array('12.677457', 'm air (0°C)'), 'METER_AIR_15C' => array('12.015397', 'm air (15°C)'), 'METER_HEAD' => array('9804.139432', 'm head'), 'MICROBAR' => array('0.1', 'µb'), 'MICROMETER_MERCURY_0C' => array('0.13332239', 'µm mercury (0°C)'), 'MICROMETER_WATER_4C' => array('0.00980665', 'µm water (4°C)'), 'MICRON_MERCURY_0C' => array('0.13332239', 'µ mercury (0°C)'), 'MICROPASCAL' => array('0.000001', 'µPa'), 'MILLIBAR' => array('100', 'mb'), 'MILLIHG' => array('133.32239', 'mHg'), 'MILLIMETER_MERCURY_0C' => array('133.32239', 'mm mercury (0°C)'), 'MILLIMETER_WATER_4C' => array('9.80665', 'mm water (0°C)'), 'MILLIPASCAL' => array('0.001', 'mPa'), 'MILLITORR' => array('0.13332237', 'mTorr'), 'NANOBAR' => array('0.0001', 'nb'), 'NANOPASCAL' => array('1.0e-9', 'nPa'), 'NEWTON_PER_SQUARE_METER' => array('1', 'N/m²'), 'NEWTON_PER_SQUARE_MILLIMETER' => array('1000000', 'N/mm²'), 'OUNCE_PER_SQUARE_INCH' => array('430.92233', 'oz/in²'), 'PASCAL' => array('1', 'Pa'), 'PETABAR' => array('1.0e+20', 'Pb'), 'PETAPASCAL' => array('1.0e+15', 'PPa'), 'PICOBAR' => array('0.0000001', 'pb'), 'PICOPASCAL' => array('1.0e-12', 'pPa'), 'PIEZE' => array('1000', 'pz'), 'POUND_PER_SQUARE_FOOT' => array(array('' => '430.92233', '/' => '9'), 'lb/ft²'), 'POUND_PER_SQUARE_INCH' => array('6894.75728', 'lb/in²'), 'POUNDAL_PER_SQUARE_FOOT' => array('1.4881639', 'pdl/ft²'), 'STHENE_PER_SQUARE_METER' => array('1000', 'sn/m²'), 'TECHNICAL_ATMOSPHERE' => array('98066.5', 'at'), 'TERABAR' => array('1.0e+17', 'Tb'), 'TERAPASCAL' => array('1.0e+12', 'TPa'), 'TON_PER_SQUARE_FOOT' => array(array('' => '120658.2524', '/' => '1.125'), 't/ft²'), 'TON_PER_SQUARE_FOOT_SHORT' => array(array('' => '430.92233', '/' => '0.0045'), 't/ft²'), 'TON_PER_SQUARE_INCH' => array(array('' => '17374788.3456', '/' => '1.125'), 't/in²'), 'TON_PER_SQUARE_INCH_SHORT' => array(array('' => '62052.81552', '/' => '0.0045'), 't/in²'), 'TON_PER_SQUARE_METER' => array('9806.65', 't/m²'), 'TORR' => array('133.32237', 'Torr'), 'WATER_COLUMN_CENTIMETER' => array('98.0665', 'WC (cm)'), 'WATER_COLUMN_INCH' => array(array('' => '2989.0669', '/' => '12'), 'WC (in)'), 'WATER_COLUMN_MILLIMETER' => array('9.80665', 'WC (mm)'), 'YOCTOBAR' => array('1.0e-19', 'yb'), 'YOCTOPASCAL' => array('1.0e-24', 'yPa'), 'YOTTABAR' => array('1.0e+29', 'Yb'), 'YOTTAPASCAL' => array('1.0e+24', 'YPa'), 'ZEPTOBAR' => array('1.0e-16', 'zb'), 'ZEPTOPASCAL' => array('1.0e-21', 'zPa'), 'ZETTABAR' => array('1.0e+26', 'Zb'), 'ZETTAPASCAL' => array('1.0e+21', 'ZPa'), 'STANDARD' => 'NEWTON_PER_SQUARE_METER')
Calculations for all pressure units
Default value
array('ATMOSPHERE' => array('101325.01', 'atm'), 'ATMOSPHERE_TECHNICAL' => array('98066.5', 'atm'), 'ATTOBAR' => array('1.0e-13', 'ab'), 'ATTOPASCAL' => array('1.0e-18', 'aPa'), 'BAR' => array('100000', 'b'), 'BARAD' => array('0.1', 'barad'), 'BARYE' => array('0.1', 'ba'), 'CENTIBAR' => array('1000', 'cb'), 'CENTIHG' => array('1333.2239', 'cHg'), 'CENTIMETER_MERCURY_0C' => array('1333.2239', 'cm mercury (0°C)'), 'CENTIMETER_WATER_4C' => array('98.0665', 'cm water (4°C)'), 'CENTIPASCAL' => array('0.01', 'cPa'), 'CENTITORR' => array('1.3332237', 'cTorr'), 'DECIBAR' => array('10000', 'db'), 'DECIPASCAL' => array('0.1', 'dPa'), 'DECITORR' => array('13.332237', 'dTorr'), 'DEKABAR' => array('1000000', 'dab'), 'DEKAPASCAL' => array('10', 'daPa'), 'DYNE_PER_SQUARE_CENTIMETER' => array('0.1', 'dyn/cm²'), 'EXABAR' => array('1.0e+23', 'Eb'), 'EXAPASCAL' => array('1.0e+18', 'EPa'), 'FEMTOBAR' => array('1.0e-10', 'fb'), 'FEMTOPASCAL' => array('1.0e-15', 'fPa'), 'FOOT_AIR_0C' => array('3.8640888', 'ft air (0°C)'), 'FOOT_AIR_15C' => array('3.6622931', 'ft air (15°C)'), 'FOOT_HEAD' => array('2989.0669', 'ft head'), 'FOOT_MERCURY_0C' => array('40636.664', 'ft mercury (0°C)'), 'FOOT_WATER_4C' => array('2989.0669', 'ft water (4°C)'), 'GIGABAR' => array('1.0e+14', 'Gb'), 'GIGAPASCAL' => array('1.0e+9', 'GPa'), 'GRAM_FORCE_SQUARE_CENTIMETER' => array('98.0665', 'gf'), 'HECTOBAR' => array('1.0e+7', 'hb'), 'HECTOPASCAL' => array('100', 'hPa'), 'INCH_AIR_0C' => array(array('' => '3.8640888', '/' => '12'), 'in air (0°C)'), 'INCH_AIR_15C' => array(array('' => '3.6622931', '/' => '12'), 'in air (15°C)'), 'INCH_MERCURY_0C' => array(array('' => '40636.664', '/' => '12'), 'in mercury (0°C)'), 'INCH_WATER_4C' => array(array('' => '2989.0669', '/' => '12'), 'in water (4°C)'), 'KILOBAR' => array('1.0e+8', 'kb'), 'KILOGRAM_FORCE_PER_SQUARE_CENTIMETER' => array('98066.5', 'kgf/cm²'), 'KILOGRAM_FORCE_PER_SQUARE_METER' => array('9.80665', 'kgf/m²'), 'KILOGRAM_FORCE_PER_SQUARE_MILLIMETER' => array('9806650', 'kgf/mm²'), 'KILONEWTON_PER_SQUARE_METER' => array('1000', 'kN/m²'), 'KILOPASCAL' => array('1000', 'kPa'), 'KILOPOND_PER_SQUARE_CENTIMETER' => array('98066.5', 'kp/cm²'), 'KILOPOND_PER_SQUARE_METER' => array('9.80665', 'kp/m²'), 'KILOPOND_PER_SQUARE_MILLIMETER' => array('9806650', 'kp/mm²'), 'KIP_PER_SQUARE_FOOT' => array(array('' => '430.92233', '/' => '0.009'), 'kip/ft²'), 'KIP_PER_SQUARE_INCH' => array(array('' => '62052.81552', '/' => '0.009'), 'kip/in²'), 'MEGABAR' => array('1.0e+11', 'Mb'), 'MEGANEWTON_PER_SQUARE_METER' => array('1000000', 'MN/m²'), 'MEGAPASCAL' => array('1000000', 'MPa'), 'METER_AIR_0C' => array('12.677457', 'm air (0°C)'), 'METER_AIR_15C' => array('12.015397', 'm air (15°C)'), 'METER_HEAD' => array('9804.139432', 'm head'), 'MICROBAR' => array('0.1', 'µb'), 'MICROMETER_MERCURY_0C' => array('0.13332239', 'µm mercury (0°C)'), 'MICROMETER_WATER_4C' => array('0.00980665', 'µm water (4°C)'), 'MICRON_MERCURY_0C' => array('0.13332239', 'µ mercury (0°C)'), 'MICROPASCAL' => array('0.000001', 'µPa'), 'MILLIBAR' => array('100', 'mb'), 'MILLIHG' => array('133.32239', 'mHg'), 'MILLIMETER_MERCURY_0C' => array('133.32239', 'mm mercury (0°C)'), 'MILLIMETER_WATER_4C' => array('9.80665', 'mm water (0°C)'), 'MILLIPASCAL' => array('0.001', 'mPa'), 'MILLITORR' => array('0.13332237', 'mTorr'), 'NANOBAR' => array('0.0001', 'nb'), 'NANOPASCAL' => array('1.0e-9', 'nPa'), 'NEWTON_PER_SQUARE_METER' => array('1', 'N/m²'), 'NEWTON_PER_SQUARE_MILLIMETER' => array('1000000', 'N/mm²'), 'OUNCE_PER_SQUARE_INCH' => array('430.92233', 'oz/in²'), 'PASCAL' => array('1', 'Pa'), 'PETABAR' => array('1.0e+20', 'Pb'), 'PETAPASCAL' => array('1.0e+15', 'PPa'), 'PICOBAR' => array('0.0000001', 'pb'), 'PICOPASCAL' => array('1.0e-12', 'pPa'), 'PIEZE' => array('1000', 'pz'), 'POUND_PER_SQUARE_FOOT' => array(array('' => '430.92233', '/' => '9'), 'lb/ft²'), 'POUND_PER_SQUARE_INCH' => array('6894.75728', 'lb/in²'), 'POUNDAL_PER_SQUARE_FOOT' => array('1.4881639', 'pdl/ft²'), 'STHENE_PER_SQUARE_METER' => array('1000', 'sn/m²'), 'TECHNICAL_ATMOSPHERE' => array('98066.5', 'at'), 'TERABAR' => array('1.0e+17', 'Tb'), 'TERAPASCAL' => array('1.0e+12', 'TPa'), 'TON_PER_SQUARE_FOOT' => array(array('' => '120658.2524', '/' => '1.125'), 't/ft²'), 'TON_PER_SQUARE_FOOT_SHORT' => array(array('' => '430.92233', '/' => '0.0045'), 't/ft²'), 'TON_PER_SQUARE_INCH' => array(array('' => '17374788.3456', '/' => '1.125'), 't/in²'), 'TON_PER_SQUARE_INCH_SHORT' => array(array('' => '62052.81552', '/' => '0.0045'), 't/in²'), 'TON_PER_SQUARE_METER' => array('9806.65', 't/m²'), 'TORR' => array('133.32237', 'Torr'), 'WATER_COLUMN_CENTIMETER' => array('98.0665', 'WC (cm)'), 'WATER_COLUMN_INCH' => array(array('' => '2989.0669', '/' => '12'), 'WC (in)'), 'WATER_COLUMN_MILLIMETER' => array('9.80665', 'WC (mm)'), 'YOCTOBAR' => array('1.0e-19', 'yb'), 'YOCTOPASCAL' => array('1.0e-24', 'yPa'), 'YOTTABAR' => array('1.0e+29', 'Yb'), 'YOTTAPASCAL' => array('1.0e+24', 'YPa'), 'ZEPTOBAR' => array('1.0e-16', 'zb'), 'ZEPTOPASCAL' => array('1.0e-21', 'zPa'), 'ZETTABAR' => array('1.0e+26', 'Zb'), 'ZETTAPASCAL' => array('1.0e+21', 'ZPa'), 'STANDARD' => 'NEWTON_PER_SQUARE_METER')
Details- Type
- array