pub struct Time;Expand description
A time.
Implementations§
Source§impl Time
impl Time
Sourcepub const fn seconds(value: TensorRank0) -> Quantity<Time>
pub const fn seconds(value: TensorRank0) -> Quantity<Time>
A quantity of seconds.
Sourcepub const fn milliseconds(value: TensorRank0) -> Quantity<Time>
pub const fn milliseconds(value: TensorRank0) -> Quantity<Time>
A quantity of milliseconds.
Sourcepub const fn microseconds(value: TensorRank0) -> Quantity<Time>
pub const fn microseconds(value: TensorRank0) -> Quantity<Time>
A quantity of microseconds.
Sourcepub const fn minutes(value: TensorRank0) -> Quantity<Time>
pub const fn minutes(value: TensorRank0) -> Quantity<Time>
A quantity of minutes.
Sourcepub const fn hours(value: TensorRank0) -> Quantity<Time>
pub const fn hours(value: TensorRank0) -> Quantity<Time>
A quantity of hours.
Trait Implementations§
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
impl Unit for Time
Source§impl UnitHalves for Time
impl UnitHalves for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Is<T> for T
Source§impl<C, Y> StateEvolution<Time, Y> for Cwhere
C: ElasticViscoplastic<Y>,
Y: Clone + Differentiable<Output = Y> + Tensor + for<'a> Add<&'a Y>,
TensorTuple<TensorRank2<3, Intermediate, Intermediate>, Y>: Differentiable<Derivative = TensorTuple<TensorRank2<3, Intermediate, Intermediate, Rate>, <Y as Differentiable>::Derivative>>,
impl<C, Y> StateEvolution<Time, Y> for Cwhere
C: ElasticViscoplastic<Y>,
Y: Clone + Differentiable<Output = Y> + Tensor + for<'a> Add<&'a Y>,
TensorTuple<TensorRank2<3, Intermediate, Intermediate>, Y>: Differentiable<Derivative = TensorTuple<TensorRank2<3, Intermediate, Intermediate, Rate>, <Y as Differentiable>::Derivative>>,
Source§type Field = Product<Unimodular<Intermediate, Reference>, Flat<Y>>
type Field = Product<Unimodular<Intermediate, Reference>, Flat<Y>>
Geometry of the composite internal state.
Source§fn initial_state(
&self,
) -> TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>
fn initial_state( &self, ) -> TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>
The initial internal state.
Source§fn state_rate(
&self,
_time: Quantity<Time>,
deformation_gradient: &TensorRank2<3, Current, Reference>,
state: &TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>,
) -> Result<<<<C as StateEvolution<Time, Y>>::Field as Integrable>::Increment as Differentiable>::Derivative, String>
fn state_rate( &self, _time: Quantity<Time>, deformation_gradient: &TensorRank2<3, Current, Reference>, state: &TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>, ) -> Result<<<<C as StateEvolution<Time, Y>>::Field as Integrable>::Increment as Differentiable>::Derivative, String>
The product of Lie-algebra rates at
(time, drive, state).