FURY class definition of unit converter.
Generic conversion alias formula that must be user-supplied, float128.
Generic conversion alias formula that must be user-supplied, float128.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | magnitude | Magnitude (of the quantity) to be converted. |
||
| logical, | intent(in), | optional | :: | inverse | Activate inverse conversion. |
Converted magnitude.
Generic conversion alias formula that must be user-supplied, float64.
Generic conversion alias formula that must be user-supplied, float64.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | magnitude | Magnitude (of the quantity) to be converted. |
||
| logical, | intent(in), | optional | :: | inverse | Activate inverse conversion. |
Converted magnitude.
Generic conversion alias formula that must be user-supplied, float32.
Generic conversion alias formula that must be user-supplied, float32.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | magnitude | Magnitude (of the quantity) to be converted. |
||
| logical, | intent(in), | optional | :: | inverse | Activate inverse conversion. |
Converted magnitude.
converter = converter assignment.
converter = converter assignment.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(uom_converter), | intent(inout) | :: | lhs | Left hand side. |
||
| class(uom_converter), | intent(in) | :: | rhs | Right hand side. |
A generic user-supplied uom_symbol converter.
| procedure(conversion_float64), public, nopass :: convert_float64 | The conversion formulas for float64 magnitudes. |
| procedure(conversion_float32), public, nopass :: convert_float32 | The conversion formulas for float32 magnitudes. |
| procedure(assignment_converter), public, pass(lhs) :: assign_converter |
|
| generic, public :: convert => convert_float64, convert_float32 | The conversion formulas. |
| generic, public :: assignment(=) => assign_converter | Overloading |