(mesh)
| 46 | mesh.set_attribute("cotan", np.ravel(cotans)); |
| 47 | |
| 48 | def compute_area_and_normal_field(mesh): |
| 49 | mesh.add_attribute("face_area"); |
| 50 | mesh.add_attribute("vertex_area"); |
| 51 | mesh.add_attribute("face_normal"); |
| 52 | |
| 53 | def assemble_laplacian_matrix(mesh): |
| 54 | i = []; |