#include <WsfOrbitalDynamics.hpp>
◆ WsfOrbitalDynamics() [1/2]
| WsfOrbitalDynamics::WsfOrbitalDynamics |
( |
const WsfScenario & | aScenario | ) |
|
|
explicit |
◆ WsfOrbitalDynamics() [2/2]
◆ ~WsfOrbitalDynamics()
| WsfOrbitalDynamics::~WsfOrbitalDynamics |
( |
| ) |
|
|
overridedefault |
◆ AddTerm()
◆ Clone()
◆ ComputeAcceleration()
| UtVec3d WsfOrbitalDynamics::ComputeAcceleration |
( |
double | aMass, |
|
|
const UtCalendar & | aTime, |
|
|
const UtVec3d & | aPosition, |
|
|
const UtVec3d & | aVelocity ) const |
Compute the total acceleration for an object with the specified properties.
This computes the total acceleration for all the terms represented by this dynamical model. The accelerations are computed for an object of the given aMass that occupies the given aPosition with the given aVelocity at the given aTime. The input kinematics and the returned acceleration are all given in the ECI frame.
- Parameters
-
| aMass | - The mass of the object subject to these dynamics. |
| aTime | - The time at which the acceleration is being computed. |
| aPosition | - The position of the object subject to these dynamics. |
| aVelocity | - The velocity of the object subject to these dynamics. |
- Returns
- - The acceleration.
◆ GetECI_AccelerationFromWCS()
| UtVec3d WsfOrbitalDynamics::GetECI_AccelerationFromWCS |
( |
const UtVec3d & | aAccelerationWCS | ) |
const |
◆ GetLLA_FromWCS()
| UtLLAPos WsfOrbitalDynamics::GetLLA_FromWCS |
( |
const UtVec3d & | aPositionWCS | ) |
const |
◆ GetNumTerms()
| size_t WsfOrbitalDynamics::GetNumTerms |
( |
| ) |
const |
|
inline |
◆ GetPropagator()
◆ GetScenario()
| const WsfScenario & WsfOrbitalDynamics::GetScenario |
( |
| ) |
const |
|
inline |
◆ GetScriptClassName()
| const char * WsfOrbitalDynamics::GetScriptClassName |
( |
| ) |
const |
|
inlineoverride |
◆ GetSimulation()
| const WsfSimulation * WsfOrbitalDynamics::GetSimulation |
( |
| ) |
const |
|
inline |
◆ GetTerm()
Get an orbital dynamics term.
- Parameters
-
| aIndex | - the index of the term to retrieve. |
- Returns
- - the term, or nullptr if
aIndex is out of bounds.
◆ GetTerms()
template<class T>
| std::vector< T * > WsfOrbitalDynamics::GetTerms |
( |
| ) |
const |
|
inline |
◆ GetTimeConstants()
| void WsfOrbitalDynamics::GetTimeConstants |
( |
UtCalendar & | aTime | ) |
const |
◆ GetWCS_PositionFromECI()
| UtVec3d WsfOrbitalDynamics::GetWCS_PositionFromECI |
( |
const UtVec3d & | aPositionECI | ) |
const |
◆ GetWCS_VelocityFromECI()
| UtVec3d WsfOrbitalDynamics::GetWCS_VelocityFromECI |
( |
const UtVec3d & | aPositionECI, |
|
|
const UtVec3d & | aVelocityECI ) const |
◆ Initialize()
◆ operator=()
◆ ProcessInput()
| bool WsfOrbitalDynamics::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
- Parameters
-
| aInput | a reference to a UtInput object. |
- Returns
- 'true' if the command was one recognized by the class or 'false' if not.
- Exceptions
-
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
- Note
- If a derived class does not recognize the command (i.e.: the return value is false) then it should call the base class ProcessInput method. This chain should continue until either the command is recognized or the top-level base class is encountered.
Reimplemented from WsfObject.
References AddTerm(), WsfObjectTypeList< T >::Find(), and WsfOrbitalDynamicsTermTypes::Get().
◆ RemoveTerm()
| bool WsfOrbitalDynamics::RemoveTerm |
( |
size_t | aIndex | ) |
|
Remove an orbital dynamics term.
- Parameters
-
| aIndex | - the index of the term to remove. |
- Returns
- - true if the term was successfully removed; false otherwise.
◆ UpdateConverterTime()
| void WsfOrbitalDynamics::UpdateConverterTime |
( |
const UtCalendar & | aTime | ) |
const |
◆ mConverter
| UtECI_Conversion WsfOrbitalDynamics::mConverter {UtCalendar(), ut::EarthEGM96()} |
|
mutableprotected |
◆ mEpochSet
| bool WsfOrbitalDynamics::mEpochSet {false} |
|
mutableprotected |
◆ mInitialEpoch
| UtCalendar WsfOrbitalDynamics::mInitialEpoch {} |
|
mutableprotected |
The documentation for this class was generated from the following files: