Struct kidou::orbit::Orbit [−][src]
pub struct Orbit {
id: String,
hc_initials: HCInitials,
gca_initials: GCaInitials,
gcy_initials: GCyInitials,
n: I,
results: Results,
}
Expand description
An orbit of a globular cluster
Fields
id: String
ID of the object
hc_initials: HCInitials
Initial coordinates and velocities in the Heliocentric Cartesian system
gca_initials: GCaInitials
Initial coordinates and velocities in the Galactic Cartesian system
gcy_initials: GCyInitials
Initial coordinates and velocities in the Galactic Cylindrical system
n: I
Number of iterations used in the last integration
results: Results
Integrated coordinates of a globular cluster in the Galactic Cylindrical system
Implementations
Apply the Monte Carlo method:
simulate sampling from Normal distribution
using the mean and standard deviation of the
input data, use that as the input to the
integrate
routine s
times with the number of iterations n
and
the time step h
; write the coordinates and
total energy in the folder
if they’re specified
in the fields
Panics
Can panic if standard deviations aren’t finite.
This should be handled in the load
routine.