pub fn default_integ_points(kind: GeoKind) -> IntegPointData {
    match kind {
        // Lin
        GeoKind::Lin2 => &IP_LIN_LEGENDRE_2,
        GeoKind::Lin3 => &IP_LIN_LEGENDRE_3,
        GeoKind::Lin4 => &IP_LIN_LEGENDRE_4,
        GeoKind::Lin5 => &IP_LIN_LEGENDRE_5,
        // Tri
        GeoKind::Tri3 => &IP_TRI_INTERNAL_1,
        GeoKind::Tri6 => &IP_TRI_INTERNAL_4,
        GeoKind::Tri10 => &IP_TRI_INTERNAL_12,
        GeoKind::Tri15 => &IP_TRI_INTERNAL_16,
        // Qua
        GeoKind::Qua4 => &IP_QUA_LEGENDRE_4,
        GeoKind::Qua8 => &IP_QUA_LEGENDRE_9,
        GeoKind::Qua9 => &IP_QUA_LEGENDRE_9,
        GeoKind::Qua12 => &IP_QUA_LEGENDRE_16,
        GeoKind::Qua16 => &IP_QUA_LEGENDRE_16,
        GeoKind::Qua17 => &IP_QUA_LEGENDRE_16,
        // Tet
        GeoKind::Tet4 => &IP_TET_INTERNAL_1,
        GeoKind::Tet10 => &IP_TET_FELIPPA_14,
        GeoKind::Tet20 => &IP_TET_FELIPPA_24,
        // Hex
        GeoKind::Hex8 => &IP_HEX_LEGENDRE_8,
        GeoKind::Hex20 => &IP_HEX_LEGENDRE_27,
        GeoKind::Hex32 => &IP_HEX_LEGENDRE_64,
    }
}
/// Returns a default set of integration points and weights
///
/// **Note:** The default set is chosen based on the number of nodes
/// and the "probable" use case in finite element analyses.
///
/// # Examples
///
/// ```
/// use gemlab::integ::default_integ_points;
/// use gemlab::shapes::GeoKind;
///
/// let ips = default_integ_points(GeoKind::Tet4);
/// assert_eq!(ips, [[0.25, 0.25, 0.25, 1.0/6.0]]);
/// ```
Returns a default set of integration points and weights
Note:** The default set is chosen based on the number of nodes
and the "probable" use case in finite element analyses.
Returns a default set of integration points and weights Note : ** The default set is chosen based on the number of nodes and the " probable " use case in finite element analyses .
pub fn default_integ_points(kind: GeoKind) -> IntegPointData {
    match kind {
        // Lin
        GeoKind::Lin2 => &IP_LIN_LEGENDRE_2,
        GeoKind::Lin3 => &IP_LIN_LEGENDRE_3,
        GeoKind::Lin4 => &IP_LIN_LEGENDRE_4,
        GeoKind::Lin5 => &IP_LIN_LEGENDRE_5,
        // Tri
        GeoKind::Tri3 => &IP_TRI_INTERNAL_1,
        GeoKind::Tri6 => &IP_TRI_INTERNAL_4,
        GeoKind::Tri10 => &IP_TRI_INTERNAL_12,
        GeoKind::Tri15 => &IP_TRI_INTERNAL_16,
        // Qua
        GeoKind::Qua4 => &IP_QUA_LEGENDRE_4,
        GeoKind::Qua8 => &IP_QUA_LEGENDRE_9,
        GeoKind::Qua9 => &IP_QUA_LEGENDRE_9,
        GeoKind::Qua12 => &IP_QUA_LEGENDRE_16,
        GeoKind::Qua16 => &IP_QUA_LEGENDRE_16,
        GeoKind::Qua17 => &IP_QUA_LEGENDRE_16,
        // Tet
        GeoKind::Tet4 => &IP_TET_INTERNAL_1,
        GeoKind::Tet10 => &IP_TET_FELIPPA_14,
        GeoKind::Tet20 => &IP_TET_FELIPPA_24,
        // Hex
        GeoKind::Hex8 => &IP_HEX_LEGENDRE_8,
        GeoKind::Hex20 => &IP_HEX_LEGENDRE_27,
        GeoKind::Hex32 => &IP_HEX_LEGENDRE_64,
    }
}
pub fn default_integ_points ( kind : GeoKind ) -> IntegPointData { match kind { // Lin GeoKind :: Lin2 => & IP_LIN_LEGENDRE_2 , GeoKind :: Lin3 => & IP_LIN_LEGENDRE_3 , GeoKind :: Lin4 => & IP_LIN_LEGENDRE_4 , GeoKind :: Lin5 => & IP_LIN_LEGENDRE_5 , // Tri GeoKind :: Tri3 => & IP_TRI_INTERNAL_1 , GeoKind :: Tri6 => & IP_TRI_INTERNAL_4 , GeoKind :: Tri10 => & IP_TRI_INTERNAL_12 , GeoKind :: Tri15 => & IP_TRI_INTERNAL_16 , // Qua GeoKind :: Qua4 => & IP_QUA_LEGENDRE_4 , GeoKind :: Qua8 => & IP_QUA_LEGENDRE_9 , GeoKind :: Qua9 => & IP_QUA_LEGENDRE_9 , GeoKind :: Qua12 => & IP_QUA_LEGENDRE_16 , GeoKind :: Qua16 => & IP_QUA_LEGENDRE_16 , GeoKind :: Qua17 => & IP_QUA_LEGENDRE_16 , // Tet GeoKind :: Tet4 => & IP_TET_INTERNAL_1 , GeoKind :: Tet10 => & IP_TET_FELIPPA_14 , GeoKind :: Tet20 => & IP_TET_FELIPPA_24 , // Hex GeoKind :: Hex8 => & IP_HEX_LEGENDRE_8 , GeoKind :: Hex20 => & IP_HEX_LEGENDRE_27 , GeoKind :: Hex32 => & IP_HEX_LEGENDRE_64 , } }
Returns a default set of integration points and weights
Note:** The default set is chosen based on the number of nodes
and the "probable" use case in finite element analyses.
Returns a default set of integration points and weights Note : ** The default set is chosen based on the number of nodes and the " probable " use case in finite element analyses .
kind
GeoKind
kind
GeoKind
examples
```
use gemlab::integ::default_integ_points;
use gemlab::shapes::GeoKind.


` ` ` use gemlab :: integ :: default_integ_points ; use gemlab :: shapes :: GeoKind .