warp.fem.project_linear_system#

warp.fem.project_linear_system(
system_matrix,
system_rhs,
projector_matrix,
fixed_value=None,
normalize_projector=True,
)[source]#

Projects both the left-hand-side and right-hand-side of a linear system to enforce Dirichlet boundary conditions

If normalize_projector is True, first apply scaling so that the projector_matrix is idempotent

Parameters: