Struct nyx_space::dynamics::orbital::OrbitalDynamics[][src]

pub struct OrbitalDynamics<'a> {
    pub accel_models: Vec<Arc<dyn AccelModel + Sync + 'a>>,
}
Expand description

OrbitalDynamics provides the equations of motion for any celestial dynamic, without state transition matrix computation.

Fields

accel_models: Vec<Arc<dyn AccelModel + Sync + 'a>>

Implementations

Initialize point mass dynamics given the EXB IDs and a Cosm

Initializes a OrbitalDynamics which does not simulate the gravity pull of other celestial objects but the primary one.

Initialize orbital dynamics with a list of acceleration models

Initialize orbital dynamics with a list of acceleration models, without encapsulating it in an Arc Use this only if you need to mutate the dynamics as you’ll need to wrap it in an Arc before propagation.

Initialize new orbital mechanics with the provided model. Note: Orbital dynamics always include two body dynamics, these cannot be turned off.

Add a model to the currently defined orbital dynamics

Clone these dynamics and add a model to the currently defined orbital dynamics

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The state of the associated hyperdual state, almost always StateType + U1

Defines the equations of motion for these dynamics, or a combination of provided dynamics. The time delta_t is in seconds PAST the context epoch. The state vector is the state which changes for every intermediate step of the integration. The state context is the state of what is being propagated, it should allow rebuilding a new state context from the provided state vector. Read more

Defines the equations of motion for Dual numbers for these dynamics. All dynamics need to allow for automatic differentiation. However, if differentiation is not supported, then the dynamics should prevent initialization with a context which has an STM defined. Read more

Computes both the state and the gradient of the dynamics. This function is pre-implemented.

Optionally performs some final changes after each successful integration of the equations of motion. For example, this can be used to update the GNC mode. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.