Struct nyx_space::dynamics::celestial::TwoBody [] [src]

pub struct TwoBody { /* fields omitted */ }

TwoBody exposes the equations of motion for a simple two body propagation.

Methods

impl TwoBody
[src]

[src]

Initialize TwoBody dynamics given a provided gravitional parameter (as mu)

[src]

Initialize TwoBody dynamics given a provided a reference to a Planet (cf. nyx::celestia).

Trait Implementations

impl Copy for TwoBody
[src]

impl Clone for TwoBody
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Dynamics for TwoBody
[src]

Defines the state size for these dynamics. It must be imported from nalgebra.

[src]

Returns the time of the current state

[src]

Returns the current state of the dynamics so it can be integrated.

[src]

Updates the internal state of the dynamics. Read more

[src]

Defines the equations of motion for these dynamics, or a combination of provided dynamics. XXX: Is this going to work in derive?!

Auto Trait Implementations

impl Send for TwoBody

impl Sync for TwoBody