Block

Struct Block 

Source
pub struct Block<C, F> { /* private fields */ }

Implementations§

Source§

impl<C, F> Block<C, F>

Source

pub fn elements_faces(&self) -> &[Vec<usize>]

Source

pub fn faces_nodes(&self) -> &[Vec<usize>]

Trait Implementations§

Source§

impl<C, F> Debug for Block<C, F>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C, F> ElasticVirtualElementBlock<C, F> for Block<C, F>

Source§

impl<C, F> FirstOrderRoot<C, F, TensorVector<TensorRank1<3, 1>>, TensorVector<TensorVector<TensorRank2<3, 1, 1>>>, TensorVector<TensorRank1<3, 1>>> for Block<C, F>

Source§

impl<C, F> From<(C, TensorVector<TensorRank1<3, 0>>, Vec<Vec<usize>>, Vec<Vec<usize>>)> for Block<C, F>
where F: VirtualElement,

Source§

fn from( (constitutive_model, coordinates, elements_faces, faces_nodes): (C, NodalReferenceCoordinates, Connectivity, Connectivity), ) -> Self

Converts to this type from the input type.
Source§

impl<C, F> HyperelasticVirtualElementBlock<C, F> for Block<C, F>

Source§

impl<C, F> SolidVirtualElementBlock<C, F> for Block<C, F>

Source§

impl<C, F> ZerothOrderRoot<C, F, TensorVector<TensorRank1<3, 1>>> for Block<C, F>

Auto Trait Implementations§

§

impl<C, F> Freeze for Block<C, F>
where C: Freeze,

§

impl<C, F> RefUnwindSafe for Block<C, F>

§

impl<C, F> Send for Block<C, F>
where C: Send, F: Send,

§

impl<C, F> Sync for Block<C, F>
where C: Sync, F: Sync,

§

impl<C, F> Unpin for Block<C, F>
where C: Unpin, F: Unpin,

§

impl<C, F> UnwindSafe for Block<C, F>
where C: UnwindSafe, F: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.