warp.fem.project_linear_system#
- warp.fem.project_linear_system(
- system_matrix,
- system_rhs,
- projector_matrix,
- fixed_value=None,
- normalize_projector=True,
- projector_structure='general',
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.
projector_structureselects how the system matrix is projected; pass"block_diagonal"for the in-place, graph-capturable projection of block-diagonal projectors. Seeproject_system_matrix().