Struct nyx_space::md::ui::MDProcess[][src]

pub struct MDProcess<'a> where
    DefaultAllocator: Allocator<f64, U6>, 
{ pub sc_dyn: Arc<Spacecraft<'a>>, pub init_state: SpacecraftState, pub formatter: Option<StateFormatter>, pub prop_time: Option<Duration>, pub prop_event: Option<ConditionSerde>, pub prop_tol: f64, pub name: String, }

An MDProcess allows the creation and propagation of a spacecraft subjected to some dynamics

Fields

sc_dyn: Arc<Spacecraft<'a>>init_state: SpacecraftStateformatter: Option<StateFormatter>prop_time: Option<Duration>prop_event: Option<ConditionSerde>prop_tol: f64name: String

Implementations

impl<'a> MDProcess<'a> where
    DefaultAllocator: Allocator<f64, U6>, 
[src]

pub fn try_from_scenario(
    scen: &ScenarioSerde,
    prop_name: String,
    stm_flag: bool,
    cosm: Arc<Cosm>
) -> Result<(Self, Option<StateFormatter>), ParsingError>
[src]

pub fn execute(self) -> Result<(), NyxError>[src]

pub fn execute_with(
    &mut self,
    hdlrs: Vec<Box<dyn MdHdlr<SpacecraftState>>>
) -> Result<(), NyxError>
[src]

Execute the MD with the provided handlers. Note that you must initialize your own CSV output if that’s desired.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for MDProcess<'a>

impl<'a> Send for MDProcess<'a>

impl<'a> Sync for MDProcess<'a>

impl<'a> Unpin for MDProcess<'a>

impl<'a> !UnwindSafe for MDProcess<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,