Documentation
¶
Overview ¶
Package grav describes bodies through their gravitational mass. The current Body stores mass and GM, enough for point-mass calculations.
Composition, age, spin, and radii derived from published structural models remain the design in doc/grav.md, not additional implemented constructors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
// contains filtered or unexported fields
}
Body stores a point mass and its gravitational parameter GM.
func Point ¶
Point constructs a body known only by mass, as a point-mass orbit sees it. The mass must be positive and finite; invalid input returns no body and an error.