pub enum FeElement {
Truss {
ni: usize,
nj: usize,
e: f64,
area: f64,
rho: f64,
},
Frame {
ni: usize,
nj: usize,
e: f64,
area: f64,
inertia: f64,
rho: f64,
},
}Expand description
A 2-node structural finite element. All elements live in the uniform
3-DOF-per-node layout (ux, uy, θz).
Variants§
Truss
Pin-jointed truss bar: carries only axial force EA/L. Rotational DOFs are
left untouched and must be constrained by the caller for a pure truss.
Frame
Euler–Bernoulli beam-column (frame): axial EA + bending EI, assembled as a
6×6 local matrix (2×2 axial + 4×4 bending) and rotated into global coordinates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FeElement
impl RefUnwindSafe for FeElement
impl Send for FeElement
impl Sync for FeElement
impl Unpin for FeElement
impl UnsafeUnpin for FeElement
impl UnwindSafe for FeElement
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more