Tudat/Astrodynamics/Propagators/nBodyGaussKeplerStateDerivative.cpp
//! Function to evaluate the Gauss planetary equations for Kepler elements

Function to evaluate the Gauss planetary equations for Kepler elements
Function to evaluate the Gauss planetary equations for Kepler elements
Eigen::Vector6d computeGaussPlanetaryEquationsForKeplerElements(
        const Eigen::Vector6d& currentOsculatingKeplerElements,
        const Eigen::Vector6d& currentCartesianState,
        const Eigen::Vector3d& accelerationsInInertialFrame,
        const double centralBodyGravitationalParameter )
{
    return  computeGaussPlanetaryEquationsForKeplerElements(
                currentOsculatingKeplerElements,
                reference_frames::getInertialToRswSatelliteCenteredFrameRotationMatrix(
                    currentCartesianState ) * accelerationsInInertialFrame, centralBodyGravitationalParameter );
}
Eigen :: Vector6d computeGaussPlanetaryEquationsForKeplerElements ( const Eigen :: Vector6d & currentOsculatingKeplerElements , const Eigen :: Vector6d & currentCartesianState , const Eigen :: Vector3d & accelerationsInInertialFrame , const double centralBodyGravitationalParameter ) { return computeGaussPlanetaryEquationsForKeplerElements ( currentOsculatingKeplerElements , reference_frames :: getInertialToRswSatelliteCenteredFrameRotationMatrix ( currentCartesianState ) * accelerationsInInertialFrame , centralBodyGravitationalParameter ) ; }
Function to evaluate the Gauss planetary equations for Kepler elements
Function to evaluate the Gauss planetary equations for Kepler elements