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: StringID of the object
hc_initials: HCInitialsInitial coordinates and velocities in the Heliocentric Cartesian system
gca_initials: GCaInitialsInitial coordinates and velocities in the Galactic Cartesian system
gcy_initials: GCyInitialsInitial coordinates and velocities in the Galactic Cylindrical system
n: INumber of iterations used in the last integration
results: ResultsIntegrated 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.