ConceptPythonBeginner Finite elements: hat functions, the weak form, and a heated bar held = condense(A, b, D=mesh.boundary_nodes()) # drop the rows and columns of the end nodes
ToolPythonBeginner scikit-fem from the ground up: the sag of a membrane under pressure u = solve(*condense(A, f, D=boundary))u_ramp = solve(*condense(A, asm(ramp, basis), D=boundary))return basis, solve(*condense(A, f, D=mesh.boundary_nodes()))u_bad = solve(*condense(A, f_bad, D=boundary))