Ignore:
Timestamp:
May 7, 2007, 12:18:04 PM (18 years ago)
Author:
dkearney
Message:

added newton, amu as units.
clarified system names for hz, bq, mol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpUnits.h

    r568 r709  
    4545#define RP_TYPE_PRESSURE    "pressure"
    4646#define RP_TYPE_CONC        "concentration"
     47#define RP_TYPE_FORCE       "force"
    4748#define RP_TYPE_MISC        "misc"
    4849
     
    8283        static int  addPresetPressure();
    8384        static int  addPresetConcentration();
     85        static int  addPresetForce();
    8486        static int  addPresetMisc();
    8587};
     
    103105        static bool hintTypePressure  ( RpUnits* unitObj );
    104106        static bool hintTypeConc      ( RpUnits* unitObj );
     107        static bool hintTypeForce     ( RpUnits* unitObj );
    105108        static bool hintTypeMisc      ( RpUnits* unitObj );
    106109
     
    499502        // populate the dictionary with a set of units specified by group
    500503        // if group equals........................then load................
    501         //                   "all"           load all available units
    502         //  RP_TYPE_ENERGY   "energy"        load units related to energy
    503         //  RP_TYPE_EPOT     "electric_potential" load units related to electric potential
    504         //  RP_TYPE_LENGTH   "length"        load units related to length
    505         //  RP_TYPE_TEMP     "temperature"   load units related to temperature
    506         //  RP_TYPE_TIME     "time"          load units related to time
    507         //  RP_TYPE_VOLUME   "volume"        load units related to volume
    508         //  RP_TYPE_ANGLE    "angle"         load units related to angles
    509         //  RP_TYPE_MASS     "mass"          load units related to mass
    510         //  RP_TYPE_PREFIX   "prefix"        load unit prefixes
    511         //  RP_TYPE_PRESSURE "pressure"      load units related to pressure
    512         //  RP_TYPE_CONC     "concentration" load units related to pressure
    513         //  RP_TYPE_MISC     "misc"          load units related to everything else
     504        //                    "all"           load all available units
     505        //  RP_TYPE_ENERGY    "energy"        load units related to energy
     506        //  RP_TYPE_EPOT      "electric_potential" load units related to electric potential
     507        //  RP_TYPE_LENGTH    "length"        load units related to length
     508        //  RP_TYPE_TEMP      "temperature"   load units related to temperature
     509        //  RP_TYPE_TIME      "time"          load units related to time
     510        //  RP_TYPE_VOLUME    "volume"        load units related to volume
     511        //  RP_TYPE_ANGLE     "angle"         load units related to angles
     512        //  RP_TYPE_MASS      "mass"          load units related to mass
     513        //  RP_TYPE_PREFIX    "prefix"        load unit prefixes
     514        //  RP_TYPE_PRESSURE  "pressure"      load units related to pressure
     515        //  RP_TYPE_CONC      "concentration" load units related to concentration
     516        //  RP_TYPE_FORCE     "force"         load units related to force
     517        //  RP_TYPE_MISC      "misc"          load units related to everything else
    514518        //  (no other groups have been created)
    515519
Note: See TracChangeset for help on using the changeset viewer.