Changeset 25463
- Timestamp:
- 08/25/20 10:43:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/partition/adjacency.py
r25455 r25463 29 29 md.mesh.vertexconnectivity = NodeConnectivity(md.mesh.elements, md.mesh.numberofvertices) 30 30 31 connectivity = md.mesh.vertexconnectivity[ 0][:, 0:-1]31 connectivity = md.mesh.vertexconnectivity[:, 0:-1] 32 32 pos = np.where(connectivity) 33 33 connectivity[pos] = areas[connectivity[pos] - 1] / 3.
Note:
See TracChangeset
for help on using the changeset viewer.