(mesh)
| 179 | } |
| 180 | |
| 181 | function zero(mesh) { |
| 182 | var z = []; |
| 183 | for (var i = 0; i < mesh.vxs.length; i++) { |
| 184 | z[i] = 0; |
| 185 | } |
| 186 | z.mesh = mesh; |
| 187 | return z; |
| 188 | } |
| 189 | |
| 190 | function slope(mesh, direction) { |
| 191 | return mesh.map(function (x) { |
no outgoing calls
no test coverage detected
searching dependent graphs…