ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/RigidBody.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/RigidBody.hpp (file contents):
Revision 1100 by gezelter, Mon Apr 12 21:02:01 2004 UTC vs.
Revision 1113 by tim, Thu Apr 15 16:18:26 2004 UTC

# Line 43 | Line 43 | class RigidBody : public StuntDouble { (public)
43    double getMass( void ) { return mass; }
44  
45    void printAmatIndex( void );
46 <  void setEulerAngles( double phi, double theta, double psi );
46 >  void setEuler( double phi, double theta, double psi );
47    void getQ( double the_q[4] ); // get the quanternions
48    void setQ( double the_q[4] );
49  
# Line 53 | Line 53 | class RigidBody : public StuntDouble { (public)
53    void getJ( double theJ[3] );
54    void setJ( double theJ[3] );
55  
56 +  virtual void setType(char* type) {strcpy(rbName, type);}
57 +  virtual char* getType() { return rbName;}
58 +
59    void getTrq( double theT[3] );
60    void addTrq( double theT[3] );
61  
# Line 80 | Line 83 | class RigidBody : public StuntDouble { (public)
83    // utility routines
84  
85    void findCOM( void );
83  void findOrient( void );
86    
87   protected:
88  
# Line 98 | Line 100 | class RigidBody : public StuntDouble { (public)
100    vector<vec3> refCoords;
101    vector<mat3x3> refOrients;
102  
103 <  bool com_good;
102 <  bool forces_good;
103 <  bool precalc_done;
104 <  bool orient_good;
103 >  char rbName[100]; //it will eventually be converted into string
104   };
105  
106   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines