SRP Functionality Question [Occulting Bodies]

Hello,

Reading about the SRP class:

I see in class description an example to add eclipses from the moon into the SRP model. Is the Earth (or the set central body) already a default occulting body, or does it also need to be added in the same way? In other words, can multiple occulting bodies be added to the SRP model?

Thanks!

Central body is always included. Additional bodies can be added by calling addOccultingBody which is defined in the AbstractRadiationForceModel class from which SolarRadiationPressure inherits.

The central body is special, though. It is a OneAxisEllipsoid (i.e. its oblateness is considered when computing eclipses), whereas additional bodies are only spheres with a moving center and a fixed radius.

2 Likes