Tudat/Astrodynamics/ElectroMagnetism/lorentzStaticMagneticForce.cpp
//! Compute Lorentz Force due to static magnetic field
Compute Lorentz Force due to static magnetic field
Compute Lorentz Force due to static magnetic field
Eigen::Vector3d computeLorentzForceDueToStaticMagneticField(
        const Eigen::Vector3d& velocityOfBodySubjectToAcceleration,
        const Eigen::Vector3d& localMagneticField,
        const double chargeOfBodySubjectToAcceleration )
{
    return chargeOfBodySubjectToAcceleration * velocityOfBodySubjectToAcceleration.cross( localMagneticField );
}
Eigen :: Vector3d computeLorentzForceDueToStaticMagneticField ( const Eigen :: Vector3d & velocityOfBodySubjectToAcceleration , const Eigen :: Vector3d & localMagneticField , const double chargeOfBodySubjectToAcceleration ) { return chargeOfBodySubjectToAcceleration * velocityOfBodySubjectToAcceleration . cross ( localMagneticField ) ; }
Compute Lorentz Force due to static magnetic field
Compute Lorentz Force due to static magnetic field
//Return Lorentz force due to static magnetic field