Tudat/Astrodynamics/BasicAstrodynamics/torqueModel.cpp
//! Update the members of a torque model and evaluate the acceleration.
Update the members of a torque model and evaluate the acceleration.
Update the members of a torque model and evaluate the acceleration .
Eigen::Vector3d updateAndGetTorque(
        const std::shared_ptr< TorqueModel > torqueModel,
        const double currentTime )
{
    torqueModel->updateMembers( currentTime );
    return torqueModel->getTorque( );
}
Eigen :: Vector3d updateAndGetTorque ( const std :: shared_ptr < TorqueModel > torqueModel , const double currentTime ) { torqueModel -> updateMembers ( currentTime ) ; return torqueModel -> getTorque ( ) ; }
Update the members of a torque model and evaluate the acceleration.
Update the members of a torque model and evaluate the acceleration .
// Update members. // Evaluate and return acceleration.