pub struct LumpedBox { /* private fields */ }Expand description
A closed box of grid nodes with a direction, the support of a lumped element or port (see the module documentation).
Implementations§
Source§impl LumpedBox
impl LumpedBox
Sourcepub fn new(axis: Axis, lo: [usize; 3], hi: [usize; 3]) -> Result<Self>
pub fn new(axis: Axis, lo: [usize; 3], hi: [usize; 3]) -> Result<Self>
Box of nodes lo ..= hi (inclusive on every axis), directed along
axis. Requires lo[axis] < hi[axis] (at least one edge) and
lo ≤ hi on the transverse axes.
Sourcepub fn series_edges(&self) -> usize
pub fn series_edges(&self) -> usize
Number M of edges in series along the direction.
Trait Implementations§
impl Copy for LumpedBox
impl Eq for LumpedBox
impl StructuralPartialEq for LumpedBox
Auto Trait Implementations§
impl Freeze for LumpedBox
impl RefUnwindSafe for LumpedBox
impl Send for LumpedBox
impl Sync for LumpedBox
impl Unpin for LumpedBox
impl UnsafeUnpin for LumpedBox
impl UnwindSafe for LumpedBox
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