pub struct BehaviourData<'a> {
pub dt: f64,
pub rdt: f64,
pub k: &'a mut [f64],
pub speed_of_sound: f64,
pub s0: InitialState<'a>,
pub s1: FinalState<'a>,
}Expand description
The data of an integration at one material point, borrowed from the
caller, as MGIS’s BehaviourDataView: Behaviour::integrate reads
them and writes the results in place.
Fields§
§dt: f64The time increment.
rdt: f64Given, the largest factor by which the behaviour may propose to scale the time step (1 forbids a larger one); written, the factor it proposes, also when it fails.
k: &'a mut [f64]The operator the IntegrationOptions ask for, written by the
behaviour: Description::tangent_operator_size values, the blocks
of Description::tangent_operator_blocks one after the other, each
row major. Empty when none is asked.
speed_of_sound: f64The speed of sound, written when the IntegrationOptions ask for
it.
s0: InitialState<'a>The state at the beginning of the time step.
s1: FinalState<'a>The state at the end of the time step.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for BehaviourData<'a>
impl<'a> Forget for BehaviourData<'a>
impl<'a> Freeze for BehaviourData<'a>
impl<'a> Move for BehaviourData<'a>
impl<'a> RefUnwindSafe for BehaviourData<'a>
impl<'a> Send for BehaviourData<'a>
impl<'a> Sync for BehaviourData<'a>
impl<'a> Unpin for BehaviourData<'a>
impl<'a> UnsafeUnpin for BehaviourData<'a>
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