pub struct SlipSystem {
pub slip_direction: [f64; 3],
pub slip_normal: [f64; 3],
pub schmid_factor: f64,
}Expand description
Single crystallographic slip system with a Schmid factor.
A slip system is defined by a slip direction d and a slip plane normal n. The Schmid factor m = cos(φ)·cos(λ) is the projection of the loading axis onto the slip system.
Fields§
§slip_direction: [f64; 3]Unit slip direction (crystal frame).
slip_normal: [f64; 3]Unit slip plane normal (crystal frame).
schmid_factor: f64Schmid factor for uniaxial loading along e₁ = [1,0,0].
Implementations§
Source§impl SlipSystem
impl SlipSystem
Sourcepub fn new(direction: [f64; 3], normal: [f64; 3]) -> Self
pub fn new(direction: [f64; 3], normal: [f64; 3]) -> Self
Create a slip system from a direction and plane normal.
Both vectors are normalised internally; the Schmid factor is computed for a loading axis along e₁ = [1,0,0].
Sourcepub fn schmid_tensor(&self) -> [[f64; 3]; 3]
pub fn schmid_tensor(&self) -> [[f64; 3]; 3]
Schmid tensor P = (d ⊗ n + n ⊗ d) / 2 (symmetrised).
Trait Implementations§
Source§impl Clone for SlipSystem
impl Clone for SlipSystem
Source§fn clone(&self) -> SlipSystem
fn clone(&self) -> SlipSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SlipSystem
impl RefUnwindSafe for SlipSystem
impl Send for SlipSystem
impl Sync for SlipSystem
impl Unpin for SlipSystem
impl UnsafeUnpin for SlipSystem
impl UnwindSafe for SlipSystem
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