/usr/share/pyshared/quantities/units/force.py is in python-quantities 0.10.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | """
"""
from __future__ import absolute_import
from ..unitquantity import UnitQuantity
from .mass import gram, kg, ounce, lb
from .length import cm, m, ft
from .time import s
from .acceleration import g_0
N = newton = UnitQuantity(
'newton',
kg*m/s**2,
symbol='N',
aliases=['newtons']
)
dyne = UnitQuantity(
'dyne',
gram*cm/s**2,
symbol='dyn',
aliases=['dynes']
)
pond = UnitQuantity(
'pond',
g_0*kg,
symbol='p',
aliases=['ponds']
)
kgf = force_kilogram = kilogram_force = UnitQuantity(
'kilogram_force',
kg*g_0,
symbol='kgf',
aliases=['force_kilogram']
)
ozf = force_ounce = ounce_force = UnitQuantity(
'ounce_force',
ounce*g_0,
symbol='ozf',
aliases=['force_ounce']
)
lbf = force_pound = pound_force = UnitQuantity(
'pound_force',
lb*g_0,
symbol='lbf',
aliases=['force_pound']
)
poundal = UnitQuantity(
'poundal',
lb*ft/s**2,
symbol='pdl',
aliases=['poundals']
)
gf = gram_force = force_gram = UnitQuantity(
'gram_force',
gram*g_0,
symbol='gf',
aliases=['force_gram']
)
force_ton = ton_force = UnitQuantity(
'ton_force',
2000*force_pound,
aliases=['force_ton'])
kip = UnitQuantity(
'kip', 1000*lbf
)
del UnitQuantity, gram, kg, cm, m, s, g_0
|