コード例 #1
0
//------------------------------------------------------------------------------
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"));
}
コード例 #2
0
//------------------------------------------------------------------------------
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"));
}
コード例 #3
0
//------------------------------------------------------------------------------
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"));
}
コード例 #4
0
//------------------------------------------------------------------------------
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"));
}
コード例 #5
0
//------------------------------------------------------------------------------
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;
}
コード例 #6
0
//------------------------------------------------------------------------------
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");
}
コード例 #7
0
//------------------------------------------------------------------------------
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"));
}
コード例 #8
0
//==============================================================================
//                              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);
}
コード例 #9
0
//==============================================================================
//                              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);
}
コード例 #10
0
//------------------------------------------------------------------------------
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;
}
コード例 #11
0
//------------------------------------------------------------------------------
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;
}
コード例 #12
0
//------------------------------------------------------------------------------
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;
}
コード例 #13
0
ファイル: MathElement.cpp プロジェクト: rockstorm101/GMAT
//------------------------------------------------------------------------------
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
}
コード例 #14
0
//==============================================================================
//                              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);
}
コード例 #15
0
//------------------------------------------------------------------------------
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
}
コード例 #16
0
//------------------------------------------------------------------------------
// 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
}
コード例 #17
0
//------------------------------------------------------------------------------
// 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;
}
コード例 #18
0
//------------------------------------------------------------------------------
// 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
}
コード例 #19
0
//------------------------------------------------------------------------------
// 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
}
コード例 #20
0
//------------------------------------------------------------------------------
// 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
}
コード例 #21
0
//------------------------------------------------------------------------------
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;
}
コード例 #22
0
//------------------------------------------------------------------------------
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;
}
コード例 #23
0
//------------------------------------------------------------------------------
// 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
}
コード例 #24
0
//------------------------------------------------------------------------------
// 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
}
コード例 #25
0
//==============================================================================
//                              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;
}
コード例 #26
0
//==============================================================================
//                              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;
}
コード例 #27
0
//==============================================================================
//                              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;
}
コード例 #28
0
//------------------------------------------------------------------------------
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
}
コード例 #29
0
//==============================================================================
//                              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;
}
コード例 #30
0
//------------------------------------------------------------------------------
// 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
}