$$ \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 VtkCellConnectivity: Connectivity {
    // Required method
    fn cell_type(&self) -> CellType;

    // Provided methods
    fn num_nodes(&self) -> usize { ... }
    fn write_vtk_connectivity(&self, connectivity: &mut [usize]) { ... }
}
Expand description

Represents connectivity that is supported by VTK.

Required Methods§

Provided Methods§

source

fn num_nodes(&self) -> usize

source

fn write_vtk_connectivity(&self, connectivity: &mut [usize])

Write connectivity and return number of nodes.

Panics if connectivity.len() != self.num_nodes().

Implementors§