Getter for third bodies' name

Hi all,

What do you think of adding gerBodyName in ThirdBodyAttraction (and possibly its DSST equivalent)?

Cheers,
Romain.

Hi @Serrof ,

Also wish this could exist a while ago :sweat_smile: so +1.

Cheers,
Vincent

Hi @Serrof,

+1 for me too!

+1 for this!

I’ve created an MR for this.
I used the opportunity to reduce code duplication among single body based forces.
I didn’t need to touch DSST because it turns out that the third body model there even has a getter to the CelestialBody.

Cheers,
Romain