Skip to content

File EquinoctialVop.hpp

File List > astrea > astro > astro > propagation > equations_of_motion > EquinoctialVop.hpp

Go to the documentation of this file

#pragma once

#include <units/units.hpp>

#include <astro/astro.fwd.hpp>
#include <astro/propagation/equations_of_motion/EquationsOfMotion.hpp>
#include <astro/propagation/force_models/ForceModel.hpp>
#include <astro/state/orbital_elements/OrbitalElements.hpp>

namespace astrea {
namespace astro {

class EquinoctialVop : public EquationsOfMotion {

  public:
    EquinoctialVop(const ForceModel& forces);

    ~EquinoctialVop() = default;

    OrbitalElementPartials operator()(const State& state, const Vehicle& vehicle) const override;

    StateTransitionMatrix compute_stm(const State& state, const Vehicle& vehicle) const override;

    constexpr std::size_t get_expected_set_id() const override { return OrbitalElements::get_set_id<Equinoctial>(); };

  private:
    const Unitless checkTol = 1e-10 * mp_units::one; 
    const ForceModel* forces;                        
};

} // namespace astro
} // namespace astrea