Template Class NBodyDynamics

Inheritance Relationships

Base Type

Class Documentation

template<typename T = double>
class NBodyDynamics : public lupnt::NumericalOrbitDynamics

Public Functions

NBodyDynamics(IntegratorType integ = default_integrator)
virtual Vec6 ComputeRates(Real epoch, const Vec6 &x) const override
virtual OrbitState PropagateState(const OrbitState &state, Real t0, Real tf, Mat6d *stm = nullptr) override
inline void AddBody(const BodyT<T> &body)
inline std::vector<BodyT<T>> GetBodies()
inline void RemoveBody(const BodyT<T> &body)
inline void SetFrame(Frame frame)
inline void GetFrame(Frame &frame)
inline void SetMass(Real mass)
inline void SetArea(Real area)
inline void SetSrpCoeff(Real CR)
inline void SetDragCoeff(Real CD)
inline void SetUseSrp(bool use_srp)
inline void SetUseDrag(bool use_drag)