pub struct FinalState<'a> {
pub gradients: &'a [f64],
pub thermodynamic_forces: &'a mut [f64],
pub material_properties: &'a [f64],
pub internal_state_variables: &'a mut [f64],
pub external_state_variables: &'a [f64],
}Expand description
The state at the end of the time step, borrowed from the caller: the caller gives the gradients, material properties and external state variables, the behaviour writes the thermodynamic forces and internal state variables.
Every array must have the length the Description gives.
Fields§
§gradients: &'a [f64]The gradients.
thermodynamic_forces: &'a mut [f64]The thermodynamic forces, written by the behaviour.
material_properties: &'a [f64]The material properties.
internal_state_variables: &'a mut [f64]The internal state variables, written by the behaviour.
external_state_variables: &'a [f64]The external state variables, temperature first.
Trait Implementations§
Source§impl<'a> Debug for FinalState<'a>
impl<'a> Debug for FinalState<'a>
Auto Trait Implementations§
impl<'a> !UnwindSafe for FinalState<'a>
impl<'a> Forget for FinalState<'a>
impl<'a> Freeze for FinalState<'a>
impl<'a> Move for FinalState<'a>
impl<'a> RefUnwindSafe for FinalState<'a>
impl<'a> Send for FinalState<'a>
impl<'a> Sync for FinalState<'a>
impl<'a> Unpin for FinalState<'a>
impl<'a> UnsafeUnpin for FinalState<'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