PHYS_PROPERTY

Name

PHYS_PROPERTY -- Represents a physical property

Structure Members

  TYPE PHYS_PROPERTY
    REAL(double)    ::  value
    CHARACTER(10)   ::  units
  END TYPE PHYS_PROPERTY

Description

The PHYS_PROPERTY derived type is used to read the value and units of physical properties. Two fields compose it, one for the numerical value and the other for the unit.

It is used only when a given property can be indicated in more than one unit. Otherwise only the numerical value of the property is used.

Example

In the following example all the variables in the NAMELIST have PHYS_PROPERTY type and both the value and the unit can be indicated. In this example although the value of the variable Gas_n, representing the gas density, is not indicated and the unit is needed to force the output of density results in cm-3.

  &PLASMAKIN_DATA Pressure = 0.15,'mbar', Gas_n = ,'cm-3', Gas_T = 300,'K' /