Tudat/Mathematics/NumericalIntegrators/UnitTests/unitTestNumericalIntegrator.cpp
//! State derivative function that always returns zero.
/*!
 * State derivative function that always returns a zero vector with length equal to the input.
 * \param time Time at which the state derivative needs to be evaluated.
 * \param state State at which the state derivative needs to be evalated.
 * \return Zero vector with length equal to state.
 */
State derivative function that always returns zero.
State derivative function that always returns a zero vector with length equal to the input.
\param time Time at which the state derivative needs to be evaluated.
\param state State at which the state derivative needs to be evalated.
\return Zero vector with length equal to state.
State derivative function that always returns zero . State derivative function that always returns a zero vector with length equal to the input . \ param time Time at which the state derivative needs to be evaluated . \ param state State at which the state derivative needs to be evalated . \ return Zero vector with length equal to state .
Eigen::VectorXd computeZeroStateDerivative( const double time,
                                            const Eigen::VectorXd& state )
{
    TUDAT_UNUSED_PARAMETER( time );
    return Eigen::VectorXd::Zero( state.rows( ) );
}
Eigen :: VectorXd computeZeroStateDerivative ( const double time , const Eigen :: VectorXd & state ) { TUDAT_UNUSED_PARAMETER ( time ) ; return Eigen :: VectorXd :: Zero ( state . rows ( ) ) ; }
State derivative function that always returns zero.
State derivative function that always returns zero .