| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private, | parameter | :: | nu | = | 80 | |
| integer, | private | :: | iu | ||||
| character(len=8), | private | :: | dimm(nu) | ||||
| character(len=10), | private | :: | name(nu) | ||||
| real(kind=dp), | private | :: | unit(nu) |
Returns information about a unit in the units table
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | unit_str |
unit specification |
||
| integer, | intent(out) | :: | stat |
status code |
||
| character(len=*), | intent(out) | :: | phys_dim |
physical dimension (e.g. 'mass') |
||
| character(len=*), | intent(out) | :: | unit_name |
unit name (e.g. 'g') |
||
| real(kind=dp), | intent(out) | :: | unit_value |
actual value (e.g. 1.e-3) |