Defines basic and derived SI units and a function to produce a text string corresponding to a unit structure.
XLALUnitAsString() converts the unit structure *input
into a text string which is stored in the character vector *output
. Note that the resulting text string is expressed solely in terms of the basic units (m, kg, s, A, K, strain and counts), and is thus not necessarily the most convenient way to check the units of a quantity. A better method is to construct a unit structure containing the expected units, then compare that to the actual units using XLALUnitCompare().
XLALParseUnitString() reconstructs the original LALUnit
structure from the string output by XLALUnitAsString(). It is very sensitive to the exact format of the string and is not intended for use in parsing user-entered strings.
XLALUnitAsString() moves through the unit structure, appending the appropriate text to the string as it goes along.
XLALParseUnitString() moves through the input string, one character at a time, building an LALUnit
structure as a it goes along, so long as it encounters precisely the syntax expected.
This file also defines a number of constant
unit structures (declared extern
in Header Units.h). Zeroth is lalDimensionlessUnit
, which is simply a LALUnit
structure to be associated with a unitless quantity. First, the relevant fundamental SI units and two custom units of use in gravitational wave detection:
Constant | Name | Abbr. | Physical Quantity |
---|---|---|---|
lalMeterUnit | meter | m | length |
lalKiloGramUnit | kilogram | kg | mass |
lalSecondUnit | second | s | time |
lalAmpereUnit | ampere | A | electric current |
lalKelvinUnit | kelvin | K | thermodynamic temperature |
lalStrainUnit | strain | \(\epsilon\) | gravitational strain |
lalADCCountUnit | ADC count | count | A-to-D converter counts |
Next, the named derived units in the SI [14] :
Constant | Name | Abbr. | Physical Quantity | Def. | Fundamental |
---|---|---|---|---|---|
lalHertzUnit | hertz | Hz | frequency | s \(^{-1}\) | s \(^{-1}\) |
lalNewtonUnit | newton | N | force | kg \(\cdot\) m/s \(^2\) | m kg s \(^{-2}\) |
lalPascalUnit | pascal | Pa | pressure | N/m \(^2\) | m \(^{-1}\) kg s \(^{-2}\) |
lalJouleUnit | joule | J | energy | N \(\cdot\)m | m \(^2\) kg s \(^{-2}\) |
lalWattUnit | watt | W | power | J/s | m \(^2\) kg s \(^{-3}\) |
lalCoulombUnit | coulomb | C | electric charge | A \(\cdot\)s | s A |
lalVoltUnit | volt | V | potential | W/A | m \(^2\) kg s \(^{-3}\) A \(^{-1}\) |
lalOhmUnit | ohm | \(\Omega\) | resistance | V/A | m \(^2\) kg s \(^{-3}\) A \(^{-2}\) |
lalFaradUnit | farad | F | capacitance | C/V | m \(^{-2}\) kg \(^{-1}\) s \(^4\) A \(^2\) |
lalWeberUnit | weber | Wb | magnetic flux | V \(\cdot\)s | m \(^2\) kg s \(^{-2}\) A \(^{-1}\) |
lalHenryUnit | henry | H | inductance | V \(\cdot\)s/A | m \(^2\) kg s \(^{-2}\) A \(^{-2}\) |
lalTeslaUnit | tesla | T | magnetic flux density | Wb/m \(^2\) | kg s \(^{-2}\) A \(^{-1}\) |
The powers of ten (SI prefixes)
Constant | Prefix | Abbr. | Value |
---|---|---|---|
lalYottaUnit | yotta | Y | \(10^{ 24}\) |
lalZettaUnit | zetta | Z | \(10^{ 21}\) |
lalExaUnit | exa | E | \(10^{ 18}\) |
lalPetaUnit | peta | P | \(10^{ 15}\) |
lalTeraUnit | tera | T | \(10^{ 12}\) |
lalGigaUnit | giga | G | \(10^{ 9}\) |
lalMegaUnit | mega | M | \(10^{ 6}\) |
lalKiloUnit | kilo | k | \(10^{ 3}\) |
lalHectoUnit | hecto | h | \(10^{ 2}\) |
lalDekaUnit | deka | da | \(10^{ 1}\) |
lalDeciUnit | deci | d | \(10^{ -1}\) |
lalCentiUnit | centi | c | \(10^{ -2}\) |
lalMilliUnit | milli | m | \(10^{ -3}\) |
lalMicroUnit | micro | \(\mu\) | \(10^{ -6}\) |
lalNanoUnit | nano | n | \(10^{ -9}\) |
lalPicoUnit | pico | p | \(10^{-12}\) |
lalFemtoUnit | femto | f | \(10^{-15}\) |
lalAttoUnit | atto | a | \(10^{-18}\) |
lalZeptoUnit | zepto | z | \(10^{-21}\) |
lalYoctoUnit | yocto | y | \(10^{-24}\) |
And finally a couple of convenient scaled units:
Constant | Name | Abbr.</th> | Def. | Fundamental |
---|---|---|---|---|
lalGramUnit | gram | g | \(10^{-3}\) kg | \(10^{-3}\) kg |
lalAttoStrainUnit | attostrain | a \(\epsilon\) | \(10^{-18} \epsilon\) | \(10^{-18} \epsilon\) |
lalPicoFaradUnit | picofarad | pF | \(10^{-12}\) F | \(10^{-12}\) m \(^{-2}\) kg \(^{-1}\) s \(^4\) A \(^2\) |
Prototypes | |
static int | readNumber (char temp[], const char **charPtrPtr) |
static int | readString (char temp[UNITDEFSC_TEMPSIZE], const char **charPtrPtr) |
char * | XLALUnitAsString (char *string, UINT4 length, const LALUnit *input) |
Returns the pointer to the input string , which is populated with the unit string if successful. More... | |
char * | XLALUnitToString (const LALUnit *input) |
Allocates and returns a new string, which is populated with the unit string. More... | |
LALUnit * | XLALParseUnitString (LALUnit *output, const char *string) |
Returns the pointer output upon return or a pointer to newly allocated memory if output was NULL ; on failure, XLALParseUnitString() returns NULL and sets xlalErrno to one of the following values: XLAL_ENOMEM if the routine was unable to allocate memory for the output or XLAL_EFAILED if the routine was unable to parse the unit string. More... | |
Variables | |
const CHAR | lalUnitName [LALNumUnits][LALUnitNameSize] |
To convert a units structure to a string repesentation, we need to define the names of the basic units. More... | |
const LALUnit | lalDimensionlessUnit = { 0, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
dimensionless units More... | |
Basic Units | |
const LALUnit | lalMeterUnit = { 0, { 1, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
meter [m] More... | |
const LALUnit | lalKiloGramUnit = { 0, { 0, 1, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
kilogram [kg] More... | |
const LALUnit | lalSecondUnit = { 0, { 0, 0, 1, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
second [s] More... | |
const LALUnit | lalAmpereUnit = { 0, { 0, 0, 0, 1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Ampere [A]. More... | |
const LALUnit | lalKelvinUnit = { 0, { 0, 0, 0, 0, 1, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Kelvin [K]. More... | |
const LALUnit | lalStrainUnit = { 0, { 0, 0, 0, 0, 0, 1, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Strain [1]. More... | |
const LALUnit | lalADCCountUnit = { 0, { 0, 0, 0, 0, 0, 0, 1}, { 0, 0, 0, 0, 0, 0, 0} } |
ADC count [count]. More... | |
Derived Mechanical Units | |
const LALUnit | lalHertzUnit = { 0, { 0, 0,-1, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Hertz [Hz]. More... | |
const LALUnit | lalNewtonUnit = { 0, { 1, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Newton [N]. More... | |
const LALUnit | lalPascalUnit = { 0, {-1, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Pascal [Pa]. More... | |
const LALUnit | lalJouleUnit = { 0, { 2, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Joule [J]. More... | |
const LALUnit | lalWattUnit = { 0, { 2, 1,-3, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Watt [W ]. More... | |
Derived Electromagnetic Units | |
const LALUnit | lalCoulombUnit = { 0, { 0, 0, 1, 1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Coulomb [C]. More... | |
const LALUnit | lalVoltUnit = { 0, { 2, 1,-3,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Volt [V]. More... | |
const LALUnit | lalOhmUnit = { 0, { 2, 1,-3,-2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Ohm [ \(\Omega\)]. More... | |
const LALUnit | lalFaradUnit = { 0, {-2,-1, 4, 2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Farad [F]. More... | |
const LALUnit | lalWeberUnit = { 0, { 2, 1,-2,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Weber [Wb]. More... | |
const LALUnit | lalHenryUnit = { 0, { 2, 1,-2,-2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Henry [H]. More... | |
const LALUnit | lalTeslaUnit = { 0, { 0, 1,-2,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Tesla [T]. More... | |
Powers of Ten | |
const LALUnit | lalYottaUnit = { 24, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Yotta [1e24]. More... | |
const LALUnit | lalZettaUnit = { 21, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Zetta [1e21]. More... | |
const LALUnit | lalExaUnit = { 18, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Exa [1e18]. More... | |
const LALUnit | lalPetaUnit = { 15, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Peta [1e15]. More... | |
const LALUnit | lalTeraUnit = { 12, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Tera [1e12]. More... | |
const LALUnit | lalGigaUnit = { 9, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Giga [1e9]. More... | |
const LALUnit | lalMegaUnit = { 6, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Mega [1e6]. More... | |
const LALUnit | lalKiloUnit = { 3, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Kilo [1e3]. More... | |
const LALUnit | lalHectoUnit = { 2, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Hecto [1e2]. More... | |
const LALUnit | lalDekaUnit = { 1, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Deka [1e1]. More... | |
const LALUnit | lalDeciUnit = { -1, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Deci [1e-1]. More... | |
const LALUnit | lalCentiUnit = { -2, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Centi [1e-2]. More... | |
const LALUnit | lalMilliUnit = { -3, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Milli [1e-3]. More... | |
const LALUnit | lalMicroUnit = { -6, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Micro [1e-6]. More... | |
const LALUnit | lalNanoUnit = { -9, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Nano [1e-9]. More... | |
const LALUnit | lalPicoUnit = {-12, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Pico [1e-12]. More... | |
const LALUnit | lalFemtoUnit = {-15, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Femto [1e-15]. More... | |
const LALUnit | lalAttoUnit = {-18, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Atto [1e-18]. More... | |
const LALUnit | lalZeptoUnit = {-21, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Zepto [1e-21]. More... | |
const LALUnit | lalYoctoUnit = {-24, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Yocto [1e-24]. More... | |
Convenient Scaled Units | |
const LALUnit | lalGramUnit = { -3, { 0, 1, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Gram [1e-3]. More... | |
const LALUnit | lalAttoStrainUnit = {-18, { 0, 0, 0, 0, 0, 1, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
AttoStrain [1e-18]. More... | |
const LALUnit | lalPicoFaradUnit = {-12, {-2,-1, 2, 2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
PicoFarad [1e-12 F]. More... | |
|
static |
Definition at line 223 of file UnitDefs.c.
|
static |
Definition at line 247 of file UnitDefs.c.
Returns the pointer to the input string
, which is populated with the unit string if successful.
If there is a failure, XLALUnitAsString() returns a NULL
pointer and xlalErrno
is set to one of the following values: XLAL_EFAULT
if one of the input pointers is NULL
or XLAL_EBADLEN
if the length of the string is insufficent for the unit string.
Definition at line 276 of file UnitDefs.c.
char * XLALUnitToString | ( | const LALUnit * | input | ) |
Allocates and returns a new string, which is populated with the unit string.
If there is a failure, returns a NULL
pointer and xlalErrno
is set to one of the error values of XLALUnitAsString
or XLALMalloc
. Caller is responsible for freeing return value with XLALFree
.
Definition at line 332 of file UnitDefs.c.
Returns the pointer output
upon return or a pointer to newly allocated memory if output
was NULL
; on failure, XLALParseUnitString()
returns NULL
and sets xlalErrno to one of the following values: XLAL_ENOMEM if the routine was unable to allocate memory for the output or XLAL_EFAILED if the routine was unable to parse the unit string.
Definition at line 354 of file UnitDefs.c.
const CHAR lalUnitName[LALNumUnits][LALUnitNameSize] |
To convert a units structure to a string repesentation, we need to define the names of the basic units.
Definition at line 135 of file UnitDefs.c.
const LALUnit lalDimensionlessUnit = { 0, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
dimensionless units
Definition at line 156 of file UnitDefs.c.
const LALUnit lalMeterUnit = { 0, { 1, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
meter [m]
Definition at line 160 of file UnitDefs.c.
const LALUnit lalKiloGramUnit = { 0, { 0, 1, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
kilogram [kg]
Definition at line 161 of file UnitDefs.c.
const LALUnit lalSecondUnit = { 0, { 0, 0, 1, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
second [s]
Definition at line 162 of file UnitDefs.c.
const LALUnit lalAmpereUnit = { 0, { 0, 0, 0, 1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Ampere [A].
Definition at line 163 of file UnitDefs.c.
const LALUnit lalKelvinUnit = { 0, { 0, 0, 0, 0, 1, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Kelvin [K].
Definition at line 164 of file UnitDefs.c.
const LALUnit lalStrainUnit = { 0, { 0, 0, 0, 0, 0, 1, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Strain [1].
Definition at line 165 of file UnitDefs.c.
const LALUnit lalADCCountUnit = { 0, { 0, 0, 0, 0, 0, 0, 1}, { 0, 0, 0, 0, 0, 0, 0} } |
ADC count [count].
Definition at line 166 of file UnitDefs.c.
const LALUnit lalHertzUnit = { 0, { 0, 0,-1, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Hertz [Hz].
Definition at line 171 of file UnitDefs.c.
const LALUnit lalNewtonUnit = { 0, { 1, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Newton [N].
Definition at line 172 of file UnitDefs.c.
const LALUnit lalPascalUnit = { 0, {-1, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Pascal [Pa].
Definition at line 173 of file UnitDefs.c.
const LALUnit lalJouleUnit = { 0, { 2, 1,-2, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Joule [J].
Definition at line 174 of file UnitDefs.c.
const LALUnit lalWattUnit = { 0, { 2, 1,-3, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Watt [W ].
Definition at line 175 of file UnitDefs.c.
const LALUnit lalCoulombUnit = { 0, { 0, 0, 1, 1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Coulomb [C].
Definition at line 180 of file UnitDefs.c.
const LALUnit lalVoltUnit = { 0, { 2, 1,-3,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Volt [V].
Definition at line 181 of file UnitDefs.c.
const LALUnit lalOhmUnit = { 0, { 2, 1,-3,-2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Ohm [ \(\Omega\)].
Definition at line 182 of file UnitDefs.c.
const LALUnit lalFaradUnit = { 0, {-2,-1, 4, 2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Farad [F].
Definition at line 183 of file UnitDefs.c.
const LALUnit lalWeberUnit = { 0, { 2, 1,-2,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Weber [Wb].
Definition at line 184 of file UnitDefs.c.
const LALUnit lalHenryUnit = { 0, { 2, 1,-2,-2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Henry [H].
Definition at line 185 of file UnitDefs.c.
const LALUnit lalTeslaUnit = { 0, { 0, 1,-2,-1, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Tesla [T].
Definition at line 186 of file UnitDefs.c.
const LALUnit lalYottaUnit = { 24, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Yotta [1e24].
Definition at line 191 of file UnitDefs.c.
const LALUnit lalZettaUnit = { 21, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Zetta [1e21].
Definition at line 192 of file UnitDefs.c.
const LALUnit lalExaUnit = { 18, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Exa [1e18].
Definition at line 193 of file UnitDefs.c.
const LALUnit lalPetaUnit = { 15, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Peta [1e15].
Definition at line 194 of file UnitDefs.c.
const LALUnit lalTeraUnit = { 12, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Tera [1e12].
Definition at line 195 of file UnitDefs.c.
const LALUnit lalGigaUnit = { 9, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Giga [1e9].
Definition at line 196 of file UnitDefs.c.
const LALUnit lalMegaUnit = { 6, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Mega [1e6].
Definition at line 197 of file UnitDefs.c.
const LALUnit lalKiloUnit = { 3, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Kilo [1e3].
Definition at line 198 of file UnitDefs.c.
const LALUnit lalHectoUnit = { 2, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Hecto [1e2].
Definition at line 199 of file UnitDefs.c.
const LALUnit lalDekaUnit = { 1, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Deka [1e1].
Definition at line 200 of file UnitDefs.c.
const LALUnit lalDeciUnit = { -1, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Deci [1e-1].
Definition at line 201 of file UnitDefs.c.
const LALUnit lalCentiUnit = { -2, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Centi [1e-2].
Definition at line 202 of file UnitDefs.c.
const LALUnit lalMilliUnit = { -3, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Milli [1e-3].
Definition at line 203 of file UnitDefs.c.
const LALUnit lalMicroUnit = { -6, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Micro [1e-6].
Definition at line 204 of file UnitDefs.c.
const LALUnit lalNanoUnit = { -9, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Nano [1e-9].
Definition at line 205 of file UnitDefs.c.
const LALUnit lalPicoUnit = {-12, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Pico [1e-12].
Definition at line 206 of file UnitDefs.c.
const LALUnit lalFemtoUnit = {-15, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Femto [1e-15].
Definition at line 207 of file UnitDefs.c.
const LALUnit lalAttoUnit = {-18, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Atto [1e-18].
Definition at line 208 of file UnitDefs.c.
const LALUnit lalZeptoUnit = {-21, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Zepto [1e-21].
Definition at line 209 of file UnitDefs.c.
const LALUnit lalYoctoUnit = {-24, { 0, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Yocto [1e-24].
Definition at line 210 of file UnitDefs.c.
const LALUnit lalGramUnit = { -3, { 0, 1, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
Gram [1e-3].
Definition at line 215 of file UnitDefs.c.
const LALUnit lalAttoStrainUnit = {-18, { 0, 0, 0, 0, 0, 1, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
AttoStrain [1e-18].
Definition at line 216 of file UnitDefs.c.
const LALUnit lalPicoFaradUnit = {-12, {-2,-1, 2, 2, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0} } |
PicoFarad [1e-12 F].
Definition at line 217 of file UnitDefs.c.