$$ \gdef\pd#1#2{\frac{\partial #1}{\partial #2}} \gdef\d#1{\, \mathrm{d}#1} \gdef\dx{\d{x}} \gdef\tr#1{\operatorname{tr} (#1)} $$ $$ \gdef\norm#1{\left \lVert #1 \right\rVert} \gdef\seminorm#1{| #1 |} $$ $$ \gdef\vec#1{\mathbf{\boldsymbol{#1}}} \gdef\dvec#1{\bar{\vec #1}} $$
pub trait MshConnectivitywhere
    Self: Sized,{
    // Required methods
    fn msh_element_type() -> ElementType;
    fn reference_dim() -> usize;
    fn try_connectivity_from_msh_element(element: &Element<u64>) -> Result<Self>;
}
Expand description

Allows conversion from mshio::Elements to connectivity types used in fenris.

Required Methods§

source

fn msh_element_type() -> ElementType

Returns the MSH element type corresponding to this connectivity.

source

fn reference_dim() -> usize

Returns the reference dimension of this connectivity (corresponds to MSH entity dimension).

source

fn try_connectivity_from_msh_element(element: &Element<u64>) -> Result<Self>

Tries to construct the element connectivity from the given MSH element.

Implementors§