Tudat/Astrodynamics/Propagators/stateTransitionMatrixInterface.cpp
//! Function to get the concatenated single-arc state transition and sensitivity matrix at a given time.
Function to get the concatenated single-arc state transition and sensitivity matrix at a given time.
Function to get the concatenated single - arc state transition and sensitivity matrix at a given time .
Eigen::MatrixXd MultiArcCombinedStateTransitionAndSensitivityMatrixInterface::getCombinedStateTransitionAndSensitivityMatrix(
        const double evaluationTime )
{
    Eigen::MatrixXd combinedStateTransitionMatrix = Eigen::MatrixXd::Zero(
                stateTransitionMatrixSize_, stateTransitionMatrixSize_ + sensitivityMatrixSize_ );
    int currentArc = lookUpscheme_->findNearestLowerNeighbour( evaluationTime );
    combinedStateTransitionMatrix.block( 0, 0, stateTransitionMatrixSize_, stateTransitionMatrixSize_ ) =
            stateTransitionMatrixInterpolators_.at( currentArc )->interpolate( evaluationTime );
    combinedStateTransitionMatrix.block( 0, stateTransitionMatrixSize_, stateTransitionMatrixSize_, sensitivityMatrixSize_ ) =
            sensitivityMatrixInterpolators_.at( currentArc )->interpolate( evaluationTime );
    return combinedStateTransitionMatrix;
}
Eigen :: MatrixXd MultiArcCombinedStateTransitionAndSensitivityMatrixInterface :: getCombinedStateTransitionAndSensitivityMatrix ( const double evaluationTime ) { Eigen :: MatrixXd combinedStateTransitionMatrix = Eigen :: MatrixXd :: Zero ( stateTransitionMatrixSize_ , stateTransitionMatrixSize_ + sensitivityMatrixSize_ ) ; int currentArc = lookUpscheme_ -> findNearestLowerNeighbour ( evaluationTime ) ; combinedStateTransitionMatrix . block ( 0 , 0 , stateTransitionMatrixSize_ , stateTransitionMatrixSize_ ) = stateTransitionMatrixInterpolators_ . at ( currentArc ) -> interpolate ( evaluationTime ) ; combinedStateTransitionMatrix . block ( 0 , stateTransitionMatrixSize_ , stateTransitionMatrixSize_ , sensitivityMatrixSize_ ) = sensitivityMatrixInterpolators_ . at ( currentArc ) -> interpolate ( evaluationTime ) ; return combinedStateTransitionMatrix ; }
Function to get the concatenated single-arc state transition and sensitivity matrix at a given time.
Function to get the concatenated single - arc state transition and sensitivity matrix at a given time .
// Set Phi and S matrices.