graphlow.core.MeshGeometry.apply_cell_local_fem_matrix_tet#

MeshGeometry.apply_cell_local_fem_matrix_tet(cell_local_matrix_tet: T, u: T, vector_rank: int | None = None, matrix_rank: int | None = None) T#

Apply the given local FEM matrix on the tet mesh.

Parameters:
cell_local_matrix_tet: T

Cell-wise local FEM matrix.

u: T

Point-wise physical variable to be multiplied by the matrix.

vector_rank: int | None

Rank of the vector. If not fed, the rank is inferred when possible.

matrix_rank: int | None

Rank of the matrix. If not fed, the rank is inferred when possible.

Returns:
matvec: T

matvec results.