uf3.representation.angles.arrange_3b

arrange_3b(triangle_values: numpy.ndarray, idx_lmn: numpy.ndarray, L: int, M: int, N: int) numpy.ndarray[source]

Arrange contributions per basis function in L x M x N grid.

Parameters
  • triangle_values (np.ndarray) – array of shape (n_triangles * 4, 3)

  • idx_lmn (np.ndarray) – array of shape (n_triangles * 4, 3)

  • L (int) – number of basis functions in first dimension of tensor.

  • M (int) – number of basis functions in second dimension of tensor.

  • N (int) – number of basis functions in third dimension of tensor.

Returns

grid (np.ndarray)