/[ascend]/trunk/base/generic/compiler/units.h
ViewVC logotype

Diff of /trunk/base/generic/compiler/units.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1702 by jpye, Sun Jan 6 03:42:21 2008 UTC revision 1703 by jpye, Sun Jan 6 04:11:10 2008 UTC
# Line 75  struct UnitDefinition { Line 75  struct UnitDefinition {
75   * If you have better names for them, fix that here.   * If you have better names for them, fix that here.
76   */   */
77  #define UNIT_BASE_MASS               "kg"  #define UNIT_BASE_MASS               "kg"
78  /**< Name of basic SI unit for mass. */  /**< SI base unit symbol for mass. */
79  #define UNIT_BASE_QUANTITY           "mol"  #define UNIT_BASE_QUANTITY           "mol"
80  /**< Name of basic SI unit for quantity. */  /**< SI base unit symbol for quantity. */
81  #define UNIT_BASE_LENGTH             "m"  #define UNIT_BASE_LENGTH             "m"
82  /**< Name of basic SI unit for length. */  /**< SI base unit symbol for length. */
83  #define UNIT_BASE_TIME               "s"  #define UNIT_BASE_TIME               "s"
84  /**< Name of basic SI unit for time. */  /**< SI base unit symbol for time. */
85  #define UNIT_BASE_TEMPERATURE        "K"  #define UNIT_BASE_TEMPERATURE        "K"
86  /**< Name of basic SI unit for temperature. */  /**< SI base unit symbol for temperature. */
87  #define UNIT_BASE_CURRENCY           "currency"  #define UNIT_BASE_CURRENCY           "USD"
88  /**< Name of base unit for currency (what should it be?). */  /**< Base unit (non SI) for currency (US dollar) */
89  #define UNIT_BASE_ELECTRIC_CURRENT   "A"  #define UNIT_BASE_ELECTRIC_CURRENT   "A"
90  /**< Name of basic SI unit for current. */  /**< SI base unit symbol for current. */
91  #define UNIT_BASE_LUMINOUS_INTENSITY "cd"  #define UNIT_BASE_LUMINOUS_INTENSITY "cd"
92  /**< Name of basic SI unit for luminosity. */  /**< SI base unit symbol for luminosity. */
93  #define UNIT_BASE_PLANE_ANGLE        "rad"  #define UNIT_BASE_PLANE_ANGLE        "rad"
94  /**< Name of basic SI unit for plane angle. */  /**< Base unit (non SI) for plane angle (radian). */
95  #define UNIT_BASE_SOLID_ANGLE        "sr"  #define UNIT_BASE_SOLID_ANGLE        "sr"
96  /**< Name of basic SI unit for solid angle. */  /**< Base unit (non SI) for solid angle (steradian). */
97    
98  ASC_DLLSPEC struct Units *g_units_hash_table[];  ASC_DLLSPEC struct Units *g_units_hash_table[];
99  /**<  /**<

Legend:
Removed from v.1702  
changed lines
  Added in v.1703

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22