[−][src]Struct nyx_space::dynamics::drag::ConstantDrag
ConstantDrag
implements a constant drag model as defined in Vallado, 4th ed., page 551, with an important caveat.
WARNING: This basic model assumes that the velocity of the spacecraft is identical to the velocity of the upper atmosphere, This is a bad assumption and should not be used for high fidelity simulations. This will be resolved after https://gitlab.com/chrisrabotin/nyx/issues/93 is implemented.
Fields
sc_area: f64
in m^2
cd: f64
coefficient of drag; (spheres are between 2.0 and 2.1, use 2.2 in Earth's atmosphere).
rho: f64
atmospheric density in kg/m^3
drag_frame_id: i32
Geoid causing the drag
cosm: &'a Cosm
a Cosm reference is needed to convert to the state around the correct planet
Trait Implementations
impl<'a> Clone for ConstantDrag<'a>
[src]
fn clone(&self) -> ConstantDrag<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> ForceModel for ConstantDrag<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ConstantDrag<'a>
impl<'a> !Send for ConstantDrag<'a>
impl<'a> !Sync for ConstantDrag<'a>
impl<'a> Unpin for ConstantDrag<'a>
impl<'a> !UnwindSafe for ConstantDrag<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,