pub fn face_node_id(&self, f: usize, i: usize) -> usize {
        match self {
            // Lin
            GeoKind::Lin2 => 0,
            GeoKind::Lin3 => 0,
            GeoKind::Lin4 => 0,
            GeoKind::Lin5 => 0,
            // Tri
            GeoKind::Tri3 => 0,
            GeoKind::Tri6 => 0,
            GeoKind::Tri10 => 0,
            GeoKind::Tri15 => 0,
            // Qua
            GeoKind::Qua4 => 0,
            GeoKind::Qua8 => 0,
            GeoKind::Qua9 => 0,
            GeoKind::Qua12 => 0,
            GeoKind::Qua16 => 0,
            GeoKind::Qua17 => 0,
            // Tet
            GeoKind::Tet4 => Tet4::FACE_NODE_IDS[f][i],
            GeoKind::Tet10 => Tet10::FACE_NODE_IDS[f][i],
            GeoKind::Tet20 => Tet20::FACE_NODE_IDS[f][i],
            // Hex
            GeoKind::Hex8 => Hex8::FACE_NODE_IDS[f][i],
            GeoKind::Hex20 => Hex20::FACE_NODE_IDS[f][i],
            GeoKind::Hex32 => Hex32::FACE_NODE_IDS[f][i],
        }
    }
/// Returns the local id of node on face
///
/// # Input
///
/// * `f` -- index of face in [0, nface-1]
/// * `i` -- index of local node [0, face_nnode-1]
///
/// # Examples
///
/// ```
/// use gemlab::shapes::GeoKind;
///
/// //           4----------------7
/// //         ,'|              ,'|
/// //       ,'  |  ___       ,'  |
/// //     ,'    |,'5,'  [0],'    |
/// //   ,'      |~~~     ,'      |
/// // 5'===============6'  ,'|   |
/// // |   ,'|   |      |   |3|   |
/// // |   |2|   |      |   |,'   |
/// // |   |,'   0- - - | +- - - -3
/// // |       ,'       |       ,'
/// // |     ,' [1]  ___|     ,'
/// // |   ,'      ,'4,'|   ,'
/// // | ,'        ~~~  | ,'
/// // 1----------------2'
/// let kind = GeoKind::Hex8;
/// let faces: Vec<_> = (0..kind.nface())
///     .map(|f| {
///         (kind.face_node_id(f, 0), kind.face_node_id(f, 1),
///          kind.face_node_id(f, 2), kind.face_node_id(f, 3))
///     }).collect();
/// assert_eq!(
///     faces,
///     &[
///         (0, 4, 7, 3), (1, 2, 6, 5),
///         (0, 1, 5, 4), (2, 3, 7, 6),
///         (0, 3, 2, 1), (4, 5, 6, 7),
///     ]
/// );
/// ```
Returns the local id of node on face
Returns the local id of node on face
pub fn face_node_id(&self, f: usize, i: usize) -> usize {
        match self {
            // Lin
            GeoKind::Lin2 => 0,
            GeoKind::Lin3 => 0,
            GeoKind::Lin4 => 0,
            GeoKind::Lin5 => 0,
            // Tri
            GeoKind::Tri3 => 0,
            GeoKind::Tri6 => 0,
            GeoKind::Tri10 => 0,
            GeoKind::Tri15 => 0,
            // Qua
            GeoKind::Qua4 => 0,
            GeoKind::Qua8 => 0,
            GeoKind::Qua9 => 0,
            GeoKind::Qua12 => 0,
            GeoKind::Qua16 => 0,
            GeoKind::Qua17 => 0,
            // Tet
            GeoKind::Tet4 => Tet4::FACE_NODE_IDS[f][i],
            GeoKind::Tet10 => Tet10::FACE_NODE_IDS[f][i],
            GeoKind::Tet20 => Tet20::FACE_NODE_IDS[f][i],
            // Hex
            GeoKind::Hex8 => Hex8::FACE_NODE_IDS[f][i],
            GeoKind::Hex20 => Hex20::FACE_NODE_IDS[f][i],
            GeoKind::Hex32 => Hex32::FACE_NODE_IDS[f][i],
        }
    }
pub fn face_node_id ( & self , f : usize , i : usize ) -> usize { match self { // Lin GeoKind :: Lin2 => 0 , GeoKind :: Lin3 => 0 , GeoKind :: Lin4 => 0 , GeoKind :: Lin5 => 0 , // Tri GeoKind :: Tri3 => 0 , GeoKind :: Tri6 => 0 , GeoKind :: Tri10 => 0 , GeoKind :: Tri15 => 0 , // Qua GeoKind :: Qua4 => 0 , GeoKind :: Qua8 => 0 , GeoKind :: Qua9 => 0 , GeoKind :: Qua12 => 0 , GeoKind :: Qua16 => 0 , GeoKind :: Qua17 => 0 , // Tet GeoKind :: Tet4 => Tet4 :: FACE_NODE_IDS [ f ] [ i ] , GeoKind :: Tet10 => Tet10 :: FACE_NODE_IDS [ f ] [ i ] , GeoKind :: Tet20 => Tet20 :: FACE_NODE_IDS [ f ] [ i ] , // Hex GeoKind :: Hex8 => Hex8 :: FACE_NODE_IDS [ f ] [ i ] , GeoKind :: Hex20 => Hex20 :: FACE_NODE_IDS [ f ] [ i ] , GeoKind :: Hex32 => Hex32 :: FACE_NODE_IDS [ f ] [ i ] , } }
Returns the local id of node on face
Returns the local id of node on face
&self
f
usize
i
usize
&self
f
usize
i
usize
input
`f` -- index of face in [0, nface-1]
`i` -- index of local node [0, face_nnode-1]
` f ` -- index of face in [ 0 nface - 1 ] ` i ` -- index of local node [ 0 face_nnode - 1 ]
examples
```
use gemlab::shapes::GeoKind.


` ` ` use gemlab :: shapes :: GeoKind .