00001 /* 00002 * dsim_ideal_gravity.h 00003 * DSimEngine2 00004 * 00005 * Created by David Wilson on 9/19/09. 00006 * Copyright 2009 Princeton Satellite Systems. All rights reserved. 00007 * 00008 */ 00009 00010 #ifndef __DSIM_IDEAL_GRAVITY__ 00011 #define __DSIM_IDEAL_GRAVITY__ 00012 00013 #include "dsim_model.h" 00014 00023 class dsim_ideal_gravity : public dsim_model 00024 { 00025 public: 00026 dsim_ideal_gravity(dsim_model_setup *setup); 00027 ~dsim_ideal_gravity(); 00028 00029 void initialize_data(); 00030 void initialization_complete(); 00031 00032 void rhs(double t,double jd); 00033 00034 private: 00035 dsim_variable mu; 00036 00037 dsim_variable parent_mass; 00038 dsim_variable parent_pos; 00039 }; 00040 00041 #endif