Tudat/Astrodynamics/OrbitDetermination/AccelerationPartials/sphericalHarmonicAccelerationPartial.cpp
//! Function to calculate the partial of the acceleration wrt a set of sine coefficients.
Function to calculate the partial of the acceleration wrt a set of sine coefficients.
Function to calculate the partial of the acceleration wrt a set of sine coefficients .
void SphericalHarmonicsGravityPartial::wrtSineCoefficientBlock(
        const std::vector< std::pair< int, int > >& blockIndices,
        Eigen::MatrixXd& partialDerivatives )
{
    calculateSphericalHarmonicGravityWrtSCoefficients(
                bodyFixedSphericalPosition_, bodyReferenceRadius_( ), gravitationalParameterFunction_( ),
                sphericalHarmonicCache_,
                blockIndices, coordinate_conversions::getSphericalToCartesianGradientMatrix(
                    bodyFixedPosition_ ), fromBodyFixedToIntegrationFrameRotation_( ), partialDerivatives );
}
void SphericalHarmonicsGravityPartial :: wrtSineCoefficientBlock ( const std :: vector < std :: pair < int , int > > & blockIndices , Eigen :: MatrixXd & partialDerivatives ) { calculateSphericalHarmonicGravityWrtSCoefficients ( bodyFixedSphericalPosition_ , bodyReferenceRadius_ ( ) , gravitationalParameterFunction_ ( ) , sphericalHarmonicCache_ , blockIndices , coordinate_conversions :: getSphericalToCartesianGradientMatrix ( bodyFixedPosition_ ) , fromBodyFixedToIntegrationFrameRotation_ ( ) , partialDerivatives ) ; }
Function to calculate the partial of the acceleration wrt a set of sine coefficients.
Function to calculate the partial of the acceleration wrt a set of sine coefficients .