//------------------------------------------------------------------------------ OrbitPeriod::OrbitPeriod(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("OrbitPeriod"), obj, wxT("Orbit Period"), wxT("s"), GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthMJ2000Eq")); }
//------------------------------------------------------------------------------ C3Energy::C3Energy(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("C3Energy"), obj, wxT("C-3 Energy"), wxT("Km^2/s^2"), GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthMJ2000Eq")); }
//------------------------------------------------------------------------------ RadPeriapsis::RadPeriapsis(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("RadPer"), obj, wxT("Radius at Periapsis"), wxT("Km"), GmatParam::ORIGIN, true) { mDepObjectName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthMJ2000Eq")); }
//------------------------------------------------------------------------------ VelApoapsis::VelApoapsis(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("VelApoapsis"), obj, wxT("Velocity at Apoapsis"), wxT("Km/s"), GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthMJ2000Eq")); }
//------------------------------------------------------------------------------ Periapsis::Periapsis(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("Periapsis"), obj, wxT("Periapsis"), wxT(" "), GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthMJ2000Eq")); mIsPlottable = false; }
//------------------------------------------------------------------------------ Altitude::Altitude(const std::string &name, GmatBase *obj) : PlanetReal(name, "Altitude", obj, "Altitude", "Km", Gmat::SPACECRAFT, GmatParam::ORIGIN) { mDepObjectName = "Earth"; PlanetData::mCentralBodyName = "Earth"; SetRefObjectName(Gmat::SPACE_POINT, "Earth"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, "EarthFixed"); }
//------------------------------------------------------------------------------ Altitude::Altitude(const wxString &name, GmatBase *obj) : PlanetReal(name, wxT("Altitude"), obj, wxT("Altitude"), wxT("Km"), Gmat::SPACECRAFT, GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); PlanetData::mCentralBodyName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthFixed")); }
//============================================================================== // OutAsymRadPer //============================================================================== OutAsymRadPer::OutAsymRadPer(const std::string &name, GmatBase *obj) : OrbitReal(name, "OutgoingRadPer", obj, "Hyperbolic Outgoing Asymptote Radius at Periapsis", "Km", GmatParam::ORIGIN, OUTASYM_RADPER, true) { mDepObjectName = "Earth"; SetRefObjectName(Gmat::SPACE_POINT, "Earth"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, "EarthMJ2000Eq"); SetRequiresCelestialBodyCSOrigin(true); }
//============================================================================== // OutAsymC3Energy //============================================================================== OutAsymC3Energy::OutAsymC3Energy(const std::string &name, GmatBase *obj) : OrbitReal(name, "OutgoingC3Energy", obj, "Hyperbolic Outgoing Asymptote C3Energy Energy", "Km^2/s^2", GmatParam::ORIGIN, OUTASYM_C3_ENERGY, true) { mDepObjectName = "Earth"; SetRefObjectName(Gmat::SPACE_POINT, "Earth"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, "EarthMJ2000Eq"); SetRequiresCelestialBodyCSOrigin(true); }
//------------------------------------------------------------------------------ LST::LST(const wxString &name, GmatBase *obj) : PlanetReal(name, wxT("LST"), obj, wxT("Local Sidereal Time"), wxT("deg"), Gmat::SPACECRAFT, GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); PlanetData::mCentralBodyName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthFixed")); mIsAngleParam = true; mCycleType = GmatParam::ZERO_360; }
//------------------------------------------------------------------------------ Longitude::Longitude(const wxString &name, GmatBase *obj) : PlanetReal(name, wxT("Longitude"), obj, wxT("Longitude"), wxT("deg"), Gmat::SPACECRAFT, GmatParam::ORIGIN) { mDepObjectName = wxT("Earth"); PlanetData::mCentralBodyName = wxT("Earth"); SetRefObjectName(Gmat::SPACE_POINT, wxT("Earth")); SetRefObjectName(Gmat::COORDINATE_SYSTEM, wxT("EarthFixed")); mIsAngleParam = true; mCycleType = GmatParam::PLUS_MINUS_180; }
//------------------------------------------------------------------------------ MHA::MHA(const std::string &name, GmatBase *obj) : PlanetReal(name, "MHA", obj, "Greenwich Hour Angle", "deg", Gmat::SPACECRAFT, GmatParam::ORIGIN) { mDepObjectName = "Earth"; PlanetData::mCentralBodyName = "Earth"; SetRefObjectName(Gmat::SPACE_POINT, "Earth"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, "EarthFixed"); mIsAngleParam = true; mCycleType = GmatParam::ZERO_360; }
//------------------------------------------------------------------------------ MathElement::MathElement(const std::string &typeStr, const std::string &name) : MathNode ("MathElement", name), refObject (NULL), refObjectName ("") { #ifdef DEBUG_MATH_ELEMENT MessageInterface::ShowMessage ("MathElement::MathElement() typeStr='%s', name='%s' entered\n", typeStr.c_str(), name.c_str()); #endif isFunction = false; objectTypeNames.push_back("MathElement"); theWrapperMap = NULL; Real rval; if (GmatStringUtil::ToReal(name, &rval)) { SetRealValue(rval); SetNumberFlag(true); } else { SetRefObjectName(Gmat::PARAMETER, name); } #ifdef DEBUG_MATH_ELEMENT MessageInterface::ShowMessage ("MathElement::MathElement() created\n"); #endif }
//============================================================================== // BLlongSMADP //============================================================================== //------------------------------------------------------------------------------ // BLlongSMADP::BLlongSMADP(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ BLlongSMADP::BLlongSMADP(const std::string &name, GmatBase *obj) : OrbitReal(name, "BrouwerLongSMA", obj, "Long-term averaged mean SMA", "Km", GmatParam::COORD_SYS, BLL_SMA, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); }
//------------------------------------------------------------------------------ CartVz::CartVz(const wxString &name, GmatBase *obj) : OrbitReal(name, wxT("VZ"), obj, wxT("Cartesian VZ"), wxT("Km/s"), GmatParam::COORD_SYS, true) { mDepObjectName = wxT("EarthMJ2000Eq"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::BLUE32; #endif }
//------------------------------------------------------------------------------ // OrbitStm(const wxString &name, GmatBase *obj) //------------------------------------------------------------------------------ OrbitStm::OrbitStm(const wxString &name, GmatBase *obj) : OrbitRmat66(name, wxT("OrbitSTM"), obj, wxT("Orbit STM"), wxT(""), GmatParam::COORD_SYS, true) { mDepObjectName = wxT("EarthMJ2000Eq"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::RED32; #endif }
//------------------------------------------------------------------------------ // ModEquinState::ModEquinState(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ ModEquinState::ModEquinState(const std::string &name, GmatBase *obj) : OrbitRvec6(name, "ModifiedEquinoctial", obj, "ModEquinoctial State Vector", "", GmatParam::COORD_SYS) { // Parameter member data mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); mIsPlottable = false; }
//------------------------------------------------------------------------------ // ModEquinTLONG::ModEquinTLONG(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ ModEquinTLONG::ModEquinTLONG(const std::string &name, GmatBase *obj) : OrbitReal(name, "TLONG", obj, "ModEquinoctial Tlong", "deg", GmatParam::COORD_SYS, MOD_EQ_TLONG, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::BLUE32; #endif }
//------------------------------------------------------------------------------ // ModEquinP::ModEquinP(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ ModEquinP::ModEquinP(const std::string &name, GmatBase *obj) : OrbitReal(name, "SemiLatusRectum", obj, "ModEquinoctial P", "km", GmatParam::COORD_SYS, MOD_EQ_P, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::RED32; #endif }
//------------------------------------------------------------------------------ // EquinNy::EquinNy(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ EquinNy::EquinNy(const std::string &name, GmatBase *obj) : OrbitReal(name, "EquinoctialP", obj, "Equinoctial Ny", "?", GmatParam::COORD_SYS, EQ_P, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::YELLOW32; #endif }
//------------------------------------------------------------------------------ CartState::CartState(const std::string &name, GmatBase *obj) : OrbitRvec6(name, "Cartesian", obj, "Cartesian State Vector", "Km/s", GmatParam::COORD_SYS, Gmat::SPACE_POINT) { // Parameter member data mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); mIsPlottable = false; }
//------------------------------------------------------------------------------ CartState::CartState(const wxString &name, GmatBase *obj) : OrbitRvec6(name, wxT("Cartesian"), obj, wxT("Cartesian State Vector"), wxT("Km/s"), GmatParam::COORD_SYS) { // Parameter member data mDepObjectName = wxT("EarthMJ2000Eq"); SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); mIsPlottable = false; }
//------------------------------------------------------------------------------ // ModEquinF::ModEquinF(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ ModEquinF::ModEquinF(const std::string &name, GmatBase *obj) : OrbitReal(name, "ModEquinoctialF", obj, "ModEquinoctial F", "?", GmatParam::COORD_SYS, MOD_EQ_F, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::GREEN32; #endif }
//------------------------------------------------------------------------------ // EquinSma::EquinSma(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ EquinSma::EquinSma(const std::string &name, GmatBase *obj) : OrbitReal(name, "EquinSMA", obj, "Equinoctial SMA", "km", GmatParam::COORD_SYS, EQ_SMA, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::RED32; #endif }
//============================================================================== // BLlongState //============================================================================== //------------------------------------------------------------------------------ // BLlongState::BLlongState(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ BLlongState::BLlongState(const std::string &name, GmatBase *obj) : OrbitRvec6(name, "BrouwerMeanLong", obj, "Brouwer Mean Long State Vector", "", GmatParam::COORD_SYS) { // Parameter member data mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); mIsPlottable = false; }
//============================================================================== // OutAsymBVAZI //============================================================================== OutAsymBVAZI::OutAsymBVAZI(const std::string &name, GmatBase *obj) : OrbitReal(name, "OutgoingBVAZI", obj, "B-vector AZI at Infinity of Hyperbolic Outgoing Asymptote", "Deg", GmatParam::COORD_SYS, OUTASYM_BVAZI, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); mIsAngleParam = true; mCycleType = GmatParam::ZERO_360; }
//============================================================================== // BLlongMADP //============================================================================== //------------------------------------------------------------------------------ // BLlongMADP(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ BLlongMADP::BLlongMADP(const std::string &name, GmatBase *obj) : OrbitReal(name, "BrouwerLongMA", obj, "Long-term averaged mean MA", "Deg", GmatParam::COORD_SYS, BLL_MA, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); mIsAngleParam = true; mCycleType = GmatParam::ZERO_360; }
//------------------------------------------------------------------------------ CartVz::CartVz(const std::string &name, GmatBase *obj) : OrbitReal(name, "VZ", obj, "Cartesian VZ", "Km/s", GmatParam::COORD_SYS, CART_VZ, true, true, true, Gmat::SPACE_POINT) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::BLUE32; #endif }
//============================================================================== // OutAsymState //============================================================================== //------------------------------------------------------------------------------ // OutAsymState::OutAsymState(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ OutAsymState::OutAsymState(const std::string &name, GmatBase *obj) : OrbitRvec6(name, "OutgoingAsymptote", obj, "Hyperbolic Outgoing Asymptote State Vector", "", GmatParam::COORD_SYS) { // Parameter member data mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); mIsPlottable = false; }
//------------------------------------------------------------------------------ // EquinMlong::EquinMlong(const std::string &name, GmatBase *obj) //------------------------------------------------------------------------------ EquinMlong::EquinMlong(const std::string &name, GmatBase *obj) : OrbitReal(name, "MLONG", obj, "Equinoctial Mlong", "?", GmatParam::COORD_SYS, EQ_MLONG, true) { mDepObjectName = "EarthMJ2000Eq"; SetRefObjectName(Gmat::COORDINATE_SYSTEM, mDepObjectName); SetRequiresCelestialBodyCSOrigin(true); #ifdef USE_PREDEFINED_COLORS mColor = GmatColor::BLUE32; #endif }