Changeset 25132
- Timestamp:
- 06/24/20 10:00:41 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/partition/partitioner.py
r25015 r25132 131 131 132 132 # Output 133 return part 133 return part, md -
issm/trunk-jpl/test/NightlyRun/test418.py
r25047 r25132 2 2 # this test may crash 3 3 import numpy as np 4 5 from AreaAverageOntoPartition import * 4 6 from model import * 7 from parameterize import * 8 from partitioner import * 9 from setflowequation import * 10 from setmask import * 5 11 from socket import gethostname 12 from solve import * 6 13 from triangle import * 7 from setmask import * 8 from parameterize import * 9 from setflowequation import * 10 from solve import * 11 from partitioner import * 12 from AreaAverageOntoPartition import * 14 13 15 14 16 #test partitioning, and partition averaging 15 17 # python cannot handle resolutions greater than 30010 16 18 md = triangle(model(), '../Exp/Square.exp', 30000.) 17 #print md.mesh.numberofvertices18 19 md = setmask(md, '../Exp/SquareShelf.exp', '') 19 20 md = parameterize(md, '../Par/SquareSheetShelf.py') … … 36 37 # - Run valgrind and fix the above 37 38 # 38 partition = partitioner(md, 'package', 'chaco', 'npart', npart) - 139 partition, md = partitioner(md, 'package', 'chaco', 'npart', npart) - 1 39 40 40 41 vector = np.arange(1, 1 + md.mesh.numberofvertices, 1).reshape(-1, 1)
Note:
See TracChangeset
for help on using the changeset viewer.