scalar_product (method)

scalar_product(self, funca, funcb, detJ, weights, nb_gauss_points)[source]

Scalar product of shape functions with L2 gauss integration

Parameters
  • self (ScalarProductL2) – a ScalarProductL2 object

  • funca (ndarray) – vertice of the cell

  • nba (ndarray) – coordinates of a point

  • funcb (ndarray) – vertice of the cell

  • nbb (ndarray) – coordinates of a point

  • detJ (ndarray) – jacobian determinant evaluated for each gauss point

  • weights (ndarray) – gauss weights

  • nb_gauss_points (int) – number of gauss points

Returns

l2_scal – a L2 scalar product

Return type

ndarray