Skip to main content

Crate libassist_sys

Crate libassist_sys 

Source
Expand description

Raw FFI bindings and safe RAII wrappers for ASSIST.

ASSIST is a C library for ephemeris-quality integration of test particles in the solar system, built on top of the REBOUND N-body code. This crate exposes the underlying C API as:

  • ffi: raw extern "C" bindings to ASSIST functions + types.
  • Ephemeris: thin, allocation-owning RAII wrapper around assist_ephem.
  • AssistSim: a REBOUND simulation with ASSIST forces attached.

This crate depends on librebound-sys for the REBOUND FFI types (reb_simulation, reb_particle, Simulation, etc.) and re-exports them at the crate root so downstream consumers can use a single libassist-sys import.

Higher-level domain logic (orbital-element conversions, observatory handling, light-time iteration, STM propagation, data downloading) lives in the companion assist-rs crate, which depends on this one.

Modules§

ffi
Raw FFI bindings to the ASSIST C library.

Structs§

AssistSim
A REBOUND simulation with ASSIST ephemeris forces attached.
Ephemeris
Owned ASSIST ephemeris data. Freed on drop.
IntegratorConfig
Per-call IAS15 integrator knobs. None for any field leaves the REBOUND default in place.
Simulation
Owned REBOUND simulation. Freed on drop.

Enums§

Error
Errors produced by the ASSIST FFI wrappers.
Ias15AdaptiveMode
IAS15 timestep-adaptation rule. REBOUND default since 2024-01 is Self::Prs23; older code used Self::Global.

Type Aliases§

Result