Docs.rs
rust-roche-0.1.2
rust-roche 0.1.2
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
Alex-J-Brown
Dependencies
bulirsch ^0.1.12
normal
ndarray ^0.16.1
normal
Versions
35.71%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module stream_physics
rust_
roche
0.1.2
Module stream_
physics
Module Items
Functions
In crate rust_
roche
rust_roche
Module
stream_
physics
Copy item path
Source
Functions
ยง
rocacc
rocacc calculates and returns the acceleration (in the rotating frame) in a Roche potential of a particle of given position and velocity.
stradv
stradv advances a particle of given position and velocity until it reaches a specified radius. It then returns with updated position and velocity. It is up to the user not to request a value that cannot be reached.
strinit
strinit sets a particle just inside the L1 point with the correct velocity as given in Lubow and Shu.