Trait fenris::io::msh::MshConnectivity
source · 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::Element
s to connectivity types used in fenris
.
Required Methods§
sourcefn msh_element_type() -> ElementType
fn msh_element_type() -> ElementType
Returns the MSH element type corresponding to this connectivity.
sourcefn reference_dim() -> usize
fn reference_dim() -> usize
Returns the reference dimension of this connectivity (corresponds to MSH entity dimension).
sourcefn try_connectivity_from_msh_element(element: &Element<u64>) -> Result<Self>
fn try_connectivity_from_msh_element(element: &Element<u64>) -> Result<Self>
Tries to construct the element connectivity from the given MSH element.