fury_uom_converter
FURY class definition of unit converter.
Source: src/lib/fury_uom_converter.F90
Contents
Derived Types
uom_converter
A generic user-supplied uom_symbol converter.
Inheritance
Attributes: abstract
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
convert_float128 | nopass | The conversion formulas for float128 magnitudes. |
convert_float64 | nopass | The conversion formulas for float64 magnitudes. |
convert_float32 | nopass | The conversion formulas for float32 magnitudes. |
assign_converter | pass(lhs) | converter = converter assignment. |
convert | The conversion formulas. Generic: convert_float64, convert_float32 | |
assignment(=) | Overloading = assignment. Generic: assign_converter |
uom_converter_box
Non-polymorphic holder of a uom_converter.
A pure function result shall not have a polymorphic allocatable ultimate component (F2018 C1585): a type holding the converter through an allocatable box has the box as ultimate component, thus its objects can be pure function results.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
converter | class(uom_converter) | allocatable | The converter. |