MATH_API gsgl::real_t parse | ( | const string & | str | ) |
Definition at line 168 of file units.cpp.
References KILOGRAMS_PER_GRAM, KILOGRAMS_PER_KILOGRAM, KILOGRAMS_PER_MILLIGRAM, METERS_PER_AU, METERS_PER_CENTIMETER, METERS_PER_KILOMETER, METERS_PER_METER, METERS_PER_MILLIMETER, METERS_PER_PARSEC, SECONDS_PER_DAY, SECONDS_PER_HOUR, SECONDS_PER_MILLISECOND, SECONDS_PER_MINUTE, SECONDS_PER_SECOND, and SECONDS_PER_YEAR.
Referenced by celestial_body::celestial_body(), node::node(), vector::parse(), transform::parse(), and vehicle_module::vehicle_module().
MATH_API const gsgl::real_t KILOGRAMS_PER_GRAM = (gsgl::real_t) 0.001 |
MATH_API const gsgl::real_t KILOGRAMS_PER_KILOGRAM = (gsgl::real_t) 1.0 |
MATH_API const gsgl::real_t KILOGRAMS_PER_MILLIGRAM = (gsgl::real_t) 0.000001 |
MATH_API const gsgl::real_t METERS_PER_AU = (gsgl::real_t) 149597870691.0 |
Definition at line 53 of file units.cpp.
Referenced by parse(), planet_system::planet_system(), solar_system::solar_system(), and star::star().
MATH_API const gsgl::real_t METERS_PER_CENTIMETER = (gsgl::real_t) 0.01 |
MATH_API const gsgl::real_t METERS_PER_KILOMETER = (gsgl::real_t) 1000.0 |
Definition at line 52 of file units.cpp.
Referenced by parse(), and satellite_element_propagator::update().
MATH_API const gsgl::real_t METERS_PER_METER = (gsgl::real_t) 1.0 |
MATH_API const gsgl::real_t METERS_PER_MILLIMETER = (gsgl::real_t) 0.001 |
MATH_API const gsgl::real_t METERS_PER_PARSEC = (gsgl::real_t) 3.08567758e16 |
MATH_API const gsgl::real_t SECONDS_PER_DAY = (gsgl::real_t) 86400.0 |
Definition at line 64 of file units.cpp.
Referenced by body_rotator::calc_angular_velocity_aux(), parse(), and satellite_element_propagator::update().
MATH_API const gsgl::real_t SECONDS_PER_HOUR = (gsgl::real_t) 3600.0 |
MATH_API const gsgl::real_t SECONDS_PER_MILLISECOND = (gsgl::real_t) 0.001 |
MATH_API const gsgl::real_t SECONDS_PER_MINUTE = (gsgl::real_t) 60.0 |
MATH_API const gsgl::real_t SECONDS_PER_SECOND = (gsgl::real_t) 1.0 |
MATH_API const gsgl::real_t SECONDS_PER_YEAR = (gsgl::real_t) 31557600.0 |
Definition at line 65 of file units.cpp.
Referenced by parse(), and keplerian_element_propagator::update().