Tudat/External/SofaInterface/fundamentalArguments.cpp
//! Function to calculate the Delaunay fundamental arguments at the requested time.

Function to calculate the Delaunay fundamental arguments at the requested time.
Function to calculate the Delaunay fundamental arguments at the requested time .
Eigen::Matrix< double, 5, 1 > calculateDelaunayFundamentalArguments(
        const double tdbTime )
{
    double julianCenturiesSinceJ2000 = basic_astrodynamics::convertSecondsSinceEpochToJulianCenturiesSinceEpoch( tdbTime );
    return ( Eigen::Matrix< double, 5, 1 >( ) <<
             calculateMeanAnomalyOfMoon( julianCenturiesSinceJ2000 ),
             calculateMeanAnomalyOfSun( julianCenturiesSinceJ2000 ),
             calculateMeanArgumentOfLatitudeOfMoon( julianCenturiesSinceJ2000 ),
             calculateMeanElongationOfMoonFromSun( julianCenturiesSinceJ2000 ),
             calculateLongitudeOfMoonsAscendingNode( julianCenturiesSinceJ2000 ) ).finished( );
}
Eigen :: Matrix < double , 5 , 1 > calculateDelaunayFundamentalArguments ( const double tdbTime ) { double julianCenturiesSinceJ2000 = basic_astrodynamics :: convertSecondsSinceEpochToJulianCenturiesSinceEpoch ( tdbTime ) ; return ( Eigen :: Matrix < double , 5 , 1 > ( ) << calculateMeanAnomalyOfMoon ( julianCenturiesSinceJ2000 ) , calculateMeanAnomalyOfSun ( julianCenturiesSinceJ2000 ) , calculateMeanArgumentOfLatitudeOfMoon ( julianCenturiesSinceJ2000 ) , calculateMeanElongationOfMoonFromSun ( julianCenturiesSinceJ2000 ) , calculateLongitudeOfMoonsAscendingNode ( julianCenturiesSinceJ2000 ) ) . finished ( ) ; }
Function to calculate the Delaunay fundamental arguments at the requested time.
Function to calculate the Delaunay fundamental arguments at the requested time .
// Calculate current centuries since J2000.
