Document of PurpleMicroStar.StarBody

Introduction

This module is built for simulating single celestial body, as well as calculating basic properties

Available Classes and Functions:

class PurpleMicroStar.StarBody.StarBody()

Parameters:

All parameters meet SI standard.

Available functions:

Force(): Get the gravity force of this planet(Multibody gravity force)

Parameter:
  • manybody: the list of other existing planet bodies' Object of StarBody
Return:
  • The Multibody gravity force of this planet

Iteration(): Get the motion information of this planet at specified time

Parameters:
  • dt: the time period per motion used
  • iterCount: the iteration times of dt

Roche_limit(): Get all starbodies' roche limit proportion

Parameters:
  • manybody: the list of other existing planet bodies' Object of StarBody

 

Author: Airscker/Yufeng Wang

License: GPL-3.0 License

We go on util we go wrong, then we keep on util we are right.