concreteproperties.utils.shape_function#
- shape_function(coords: np.ndarray, gauss_point: List[float]) Tuple[np.ndarry, float] [source]#
Computes shape functions and the determinant of the Jacobian matrix for a linear triangular element at a given Gauss point.
- Parameters
coords (
numpy.ndarray
) – Global coordinates of the linear triangle vertices [2 x 3]gauss_point (List[float]) – Gaussian weight and isoparametric location of the Gauss point
- Returns
The value of the shape functions N(i) at the given Gauss point [1 x 3] and the determinant of the Jacobian matrix j
- Return type
Tuple[
numpy.ndarray
, float]