A representation of the units associated with a dimensional quantity. 
Used for converting quantities between unit systems and checking for dimensional consistency. Units objects are mainly used within UnitSystem class to convert values from a user-specified Unit system to Cantera's base units (SI + kmol). 
Definition at line 34 of file Units.h.
 | 
|   | Units (double factor=1.0, double mass=0, double length=0, double time=0, double temperature=0, double current=0, double quantity=0) | 
|   | Create a Units object with the specified dimensions.  
  | 
|   | 
|   | Units (const string &units, bool force_unity=false) | 
|   | Create an object with the specified dimensions.  
  | 
|   | 
| bool  | convertible (const Units &other) const | 
|   | Returns true if the specified Units are dimensionally consistent.  
  | 
|   | 
| double  | factor () const | 
|   | Return the factor for converting from this unit to Cantera's base units.  
  | 
|   | 
| Units &  | operator*= (const Units &other) | 
|   | Multiply two Units objects, combining their conversion factors and dimensions.  
  | 
|   | 
| string  | str (bool skip_unity=true) const | 
|   | Provide a string representation of these Units.  
  | 
|   | 
| Units  | pow (double exponent) const | 
|   | Raise these Units to a power, changing both the conversion factor and the dimensions of these Units.  
  | 
|   | 
| bool  | operator== (const Units &other) const | 
|   | 
| double  | dimension (const string &primary) const | 
|   | Return dimension of primary unit component ("mass", "length", "time", "temperature", "current", or "quantity")  
  | 
|   |