Changeset 25047
- Timestamp:
- 06/17/20 14:38:15 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/partition/AreaAverageOntoPartition.py
r25022 r25047 22 22 raise RuntimeError('AreaAverageOntoPartition: layer should be provided onto which Area Averaging occurs') 23 23 24 #save 3D model24 #save 3D model 25 25 md3d = copy.deepcopy(md) 26 26 … … 33 33 md.mesh.vertexconnectivity = [] 34 34 35 #run connectivity routine35 #run connectivity routine 36 36 md = adjacency(md) 37 37 -
issm/trunk-jpl/test/NightlyRun/test418.py
r25010 r25047 39 39 40 40 vector = np.arange(1, 1 + md.mesh.numberofvertices, 1).reshape(-1, 1) 41 # double check this before committing:42 41 vector_on_partition = AreaAverageOntoPartition(md, vector, partition) 43 vector_on_nodes = vector_on_partition[partition + 1]42 vector_on_nodes = vector_on_partition[partition] 44 43 45 44 field_names = ['vector_on_nodes']
Note:
See TracChangeset
for help on using the changeset viewer.