pub struct Friction3 {
pub normal_dof: usize,
pub shear_dofs: [usize; 2],
pub mu: f64,
pub k0: f64,
pub b: f64,
/* private fields */
}Expand description
Friction’s spatial counterpart: one normal DOF, two shear DOFs, each
run independently through Friction’s return map against the same
normal force (a square, not circular, interaction surface between the
two shear directions — the physically correct circular friction cone is
a materially harder shared-slip-vector return-map problem, deferred
until needed).
Fields§
§normal_dof: usize§shear_dofs: [usize; 2]§mu: f64§k0: f64§b: f64See Friction::b’s doc comment.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Friction3
impl RefUnwindSafe for Friction3
impl Send for Friction3
impl Sync for Friction3
impl Unpin for Friction3
impl UnsafeUnpin for Friction3
impl UnwindSafe for Friction3
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, U> Imply<T> for U
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.