/[ascend]/trunk/pygtk/dimensions.cpp
ViewVC logotype

Diff of /trunk/pygtk/dimensions.cpp

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

revision 1701 by jpye, Sun Jan 6 02:14:29 2008 UTC revision 1702 by jpye, Sun Jan 6 03:45:33 2008 UTC
# Line 9  extern "C"{ Line 9  extern "C"{
9  #include <compiler/dimen_io.h>  #include <compiler/dimen_io.h>
10  }  }
11    
 #ifdef ASCXX_WORDY_BASE_DIMENSIONS  
12  const string Dimensions::BASEUNITS[Dimensions::MAX_DIMS] = {  const string Dimensions::BASEUNITS[Dimensions::MAX_DIMS] = {
13      UNIT_BASE_MASS,UNIT_BASE_QUANTITY,UNIT_BASE_LENGTH, UNIT_BASE_TIME,      UNIT_BASE_MASS,UNIT_BASE_QUANTITY,UNIT_BASE_LENGTH, UNIT_BASE_TIME,
14      UNIT_BASE_TEMPERATURE, UNIT_BASE_CURRENCY,  UNIT_BASE_ELECTRIC_CURRENT,      UNIT_BASE_TEMPERATURE, UNIT_BASE_CURRENCY,  UNIT_BASE_ELECTRIC_CURRENT,
15      UNIT_BASE_LUMINOUS_INTENSITY, UNIT_BASE_PLANE_ANGLE, UNIT_BASE_SOLID_ANGLE      UNIT_BASE_LUMINOUS_INTENSITY, UNIT_BASE_PLANE_ANGLE, UNIT_BASE_SOLID_ANGLE
16  };  };
 #else  
 // Preferred SI abbreviated dimension names  
 const string Dimensions::BASEUNITS[Dimensions::MAX_DIMS] = {  
     "kg","mol","m","s","K","USD","A",  
     "cd", "rad", "sr"  
 };  
 #endif  
17    
18  const string  const string
19  Dimensions::getBaseUnit(const unsigned &i){  Dimensions::getBaseUnit(const unsigned &i){

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

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