The user-facing type should be Dynamics and the trait should carry the longer name. Proposed:
enum DynamicsSpec -> Dynamics
trait Dynamics -> DynamicsModel
model structs move under dynamics::models::
Prelude glob-exports the enum's variants (pub use Dynamics::*) so a script writes TwoBody { mu } rather than DynamicsSpec::TwoBody { mu }.
Note the variants then occupy names like Gravity and Drag in any module that imports the prelude.
The user-facing type should be `Dynamics` and the trait should carry the longer name. Proposed:
- enum `DynamicsSpec` -> `Dynamics`
- trait `Dynamics` -> `DynamicsModel`
- model structs move under `dynamics::models::`
Prelude glob-exports the enum's variants (`pub use Dynamics::*`) so a script writes `TwoBody { mu }` rather than `DynamicsSpec::TwoBody { mu }`.
Note the variants then occupy names like `Gravity` and `Drag` in any module that imports the prelude.
connor
added this to the M1 milestone 2026-09-30 12:48:49 -04:00
connor
added the size/S label 2026-09-30 12:48:49 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The user-facing type should be
Dynamicsand the trait should carry the longer name. Proposed:DynamicsSpec->DynamicsDynamics->DynamicsModeldynamics::models::Prelude glob-exports the enum's variants (
pub use Dynamics::*) so a script writesTwoBody { mu }rather thanDynamicsSpec::TwoBody { mu }.Note the variants then occupy names like
GravityandDragin any module that imports the prelude.Done in
77a1539. The trait isDynamicsModel, the enum isDynamics, models live indynamics::models, and the prelude glob-exports the variants.