pub struct DofMap { /* private fields */ }Expand description
Mapping from closure-local scalar DOFs to contiguous assembly indices.
Implementations§
Source§impl DofMap
impl DofMap
Sourcepub fn from_closure_dofs(closure_dofs: Vec<ClosureDof>) -> Self
pub fn from_closure_dofs(closure_dofs: Vec<ClosureDof>) -> Self
Build a DOF map from orientation-correct closure DOF slots.
Sourcepub fn closure_dofs(&self) -> &[ClosureDof]
pub fn closure_dofs(&self) -> &[ClosureDof]
Return the ordered point/local-slot DOFs consumed by closure kernels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DofMap
impl RefUnwindSafe for DofMap
impl Send for DofMap
impl Sync for DofMap
impl Unpin for DofMap
impl UnsafeUnpin for DofMap
impl UnwindSafe for DofMap
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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