pub struct ZeroLength3 {
pub node_i: Node3Id,
pub node_j: Node3Id,
/* private fields */
}Expand description
ZeroLength‘s spatial counterpart: independent per-DOF materials along
the six directions [ux, uy, uz, rx, ry, rz] — global by default, or the
local axes of an Orientation (OpenSees’ -orient).
friction — see ZeroLength’s doc comment — adds two independent
(see Friction3) shear-DOF couplings on top of the
independent materials.
Fields§
§node_i: Node3Id§node_j: Node3IdImplementations§
Source§impl ZeroLength3
impl ZeroLength3
pub fn new(node_i: Node3Id, node_j: Node3Id) -> Self
pub fn with_material(self, dof: usize, material: Material) -> Self
Sourcepub fn with_orientation(self, orientation: Orientation) -> Self
pub fn with_orientation(self, orientation: Orientation) -> Self
Evaluate every DOF along the local axes of orientation instead of
the global ones (see Orientation).
Sourcepub fn with_friction(self, friction: Friction3) -> Self
pub fn with_friction(self, friction: Friction3) -> Self
See ZeroLength::with_friction’s doc comment — same preconditions,
checked for both entries of friction.shear_dofs.
Trait Implementations§
Source§impl Clone for ZeroLength3
impl Clone for ZeroLength3
Source§fn clone(&self) -> ZeroLength3
fn clone(&self) -> ZeroLength3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ZeroLength3
impl RefUnwindSafe for ZeroLength3
impl Send for ZeroLength3
impl Sync for ZeroLength3
impl Unpin for ZeroLength3
impl UnsafeUnpin for ZeroLength3
impl UnwindSafe for ZeroLength3
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.