Convert a magnitude with respect symbol definition.
Two conversions are possible: direct and inverse, namely
converted = offset+ factor * magnitudeconverted = (magnitude - offset)/factor| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(uom_symbol), | intent(in) | :: | self | The uom symbol. |
||
| real(kind=RKP), | intent(in) | :: | magnitude | Magnitude to be converted. |
||
| logical, | intent(in), | optional | :: | inverse | Activate inverse conversion. |
Converted magnitude.