warp.fem.project_system_rhs#

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

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

rhs = (I - projector) * ( rhs - system * projector * fixed_value) + projector * fixed_value

Parameters: