fdf_legacy_units_m Module


Uses


Contents


Variables

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)

Subroutines

public subroutine inquire_unit(unit_str, stat, phys_dim, unit_name, unit_value)

Returns information about a unit in the units table

Read more…

Arguments

Type IntentOptional 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)