gemlab 2.0.0

Geometry and meshes laboratory for finite element analyses
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::shapes::GeoKind;

/// Defines the interface to access Cell/Face information
pub trait AsCell {
    /// Returns the geometry kind
    fn kind(&self) -> GeoKind;

    /// Returns the marker
    fn marker(&self) -> i32;

    /// Returns an access to the list of point ids
    fn points(&self) -> &[usize];
}