unit

 

Checks (changes) the physical units for a give problem. This includes constants, coordinates, etc.

Format

unit / conv / unit type / new unit /old unit

unit / code / unit type / new unit

unit / user / unit type / new unit

 

unit Parameters

Parameters

Type/Value

Description/Default

options

conv

Conversion units can be used at any time.

 

code

Changes the code units. Can only be used at the beginning of a generator input deck. Then all quantities are specified with reference to those consistant set of units.

 

user

User units can be used at any time.

unit type

 

 

new_unit

 

 

old unit

 

 

Examples

unit / conv / mass / kg / g

Returns conversion factor to convert from grams to kilograms.

 

unit / user / mass / kg

Changes the user mass units to kilograms.

 

unit / code / temp / kev

Changes the code temperature unit to kilo-ev.