Tudat/Astrodynamics/ElectroMagnetism/radiationPressureInterface.cpp
//! Calculate radiation pressure at certain distance from a source.
Calculate radiation pressure at certain distance from a source.
Calculate radiation pressure at certain distance from a source .
double calculateRadiationPressure( const double sourcePower, const double distanceFromSource )
{
    return sourcePower / ( 4.0 * mathematical_constants::PI * distanceFromSource *
                           distanceFromSource * physical_constants::SPEED_OF_LIGHT );
}
double calculateRadiationPressure ( const double sourcePower , const double distanceFromSource ) { return sourcePower / ( 4.0 * mathematical_constants :: PI * distanceFromSource * distanceFromSource * physical_constants :: SPEED_OF_LIGHT ) ; }
Calculate radiation pressure at certain distance from a source.
Calculate radiation pressure at certain distance from a source .