solarsystems 0.0.1

N-body solar system engine — gravitational dynamics, orbital mechanics, perturbations, event detection, and full celestial orchestration
Documentation
pub use ::suns::events;
pub use ::suns::interactions;
pub use ::suns::layers;
pub use ::suns::physics;
pub use ::suns::plasma;
pub use ::suns::rendering;

pub fn core() -> ::suns::physics::stellar_structure::StellarLayer {
    ::suns::physics::stellar_structure::core()
}

pub fn radiative_zone() -> ::suns::physics::stellar_structure::StellarLayer {
    ::suns::physics::stellar_structure::radiative_zone()
}

pub fn convective_zone() -> ::suns::physics::stellar_structure::StellarLayer {
    ::suns::physics::stellar_structure::convective_zone()
}

pub fn luminosity() -> f64 {
    ::suns::SOLAR_LUMINOSITY
}

pub fn effective_temp() -> f64 {
    ::suns::SOLAR_EFFECTIVE_TEMP
}

pub fn radius() -> f64 {
    ::suns::SOLAR_RADIUS
}

pub fn surface_gravity() -> f64 {
    ::suns::SOLAR_SURFACE_GRAVITY
}

pub fn escape_velocity() -> f64 {
    *::suns::SOLAR_ESCAPE_VELOCITY
}

pub fn slow_wind() -> ::suns::plasma::solar_wind::SolarWindState {
    ::suns::plasma::solar_wind::SolarWindState::slow_wind_1au()
}

pub fn fast_wind() -> ::suns::plasma::solar_wind::SolarWindState {
    ::suns::plasma::solar_wind::SolarWindState::fast_wind_1au()
}

pub fn quiet_corona() -> ::suns::plasma::corona::CoronalRegion {
    ::suns::plasma::corona::quiet_corona()
}

pub fn active_corona() -> ::suns::plasma::corona::CoronalRegion {
    ::suns::plasma::corona::active_region_corona()
}

pub fn coronal_hole() -> ::suns::plasma::corona::CoronalRegion {
    ::suns::plasma::corona::coronal_hole()
}

pub fn kelvin_helmholtz_timescale() -> f64 {
    ::suns::physics::stellar_structure::kelvin_helmholtz_timescale()
}

pub fn nuclear_timescale() -> f64 {
    ::suns::physics::stellar_structure::nuclear_timescale()
}

pub fn schwarzschild_radius() -> f64 {
    ::suns::physics::stellar_structure::schwarzschild_radius()
}

pub fn photosphere_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::photosphere()
}

pub fn corona_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::corona()
}

pub fn active_region_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::active_region()
}

pub fn chromosphere_shader() -> crate::rendering::shaders::ShaderEndpoint {
    crate::rendering::shaders::ShaderEndpoint::chromosphere()
}