1 /* 2 *_________________________________________________________________________* 3 * POEMS: PARALLELIZABLE OPEN SOURCE EFFICIENT MULTIBODY SOFTWARE * 4 * DESCRIPTION: SEE READ-ME * 5 * FILE NAME: inertialframe.h * 6 * AUTHORS: See Author List * 7 * GRANTS: See Grants List * 8 * COPYRIGHT: (C) 2005 by Authors as listed in Author's List * 9 * LICENSE: Please see License Agreement * 10 * DOWNLOAD: Free at www.rpi.edu/~anderk5 * 11 * ADMINISTRATOR: Prof. Kurt Anderson * 12 * Computational Dynamics Lab * 13 * Rensselaer Polytechnic Institute * 14 * 110 8th St. Troy NY 12180 * 15 * CONTACT: anderk5@rpi.edu * 16 *_________________________________________________________________________*/ 17 18 19 #ifndef INERTIALFRAME_H 20 #define INERTIALFRAME_H 21 22 #include "body.h" 23 24 25 class InertialFrame : public Body { 26 Vect3 gravity; 27 public: 28 InertialFrame(); 29 ~InertialFrame(); 30 BodyType GetType(); 31 Vect3 GetGravity(); 32 void SetGravity(Vect3& g); 33 bool ReadInBodyData(std::istream& in); 34 void WriteOutBodyData(std::ostream& out); 35 }; 36 37 #endif 38