splinepy.helpme.integrate.FieldIntegrator.assemble_matrix#

FieldIntegrator.assemble_matrix(function, matrixout=None)[source]#

Assemble the system matrix for a given function. If system matrix is already assembled, it will add values on top of existing matrix.

Parameters:
  • function (callable) – Function which defines how to assemble an element matrix

  • matrixout (np.ndarray / scipy.sparse matrix) – Assembled matrix will be stored there. Default is global system matrix