Changeset 24187
- Timestamp:
- 09/30/19 13:47:14 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test244.py
r24174 r24187 70 70 md.qmu.numberofpartitions = md.mesh.numberofelements 71 71 md = partitioner(md, 'package', 'linear','type','element') 72 md.qmu.epartition = (md.qmu.epartition - 1) .reshape(-1, 1).T72 md.qmu.epartition = (md.qmu.epartition - 1) 73 73 74 74 #variables … … 79 79 for pa in range(np.size(mint_on_partition)): 80 80 vi = np.where(md.qmu.epartition == pa) 81 mint = telms[ vi] * 1.0581 mint = telms[0,vi] * 1.05 82 82 pos = np.where(mint < Tmin) 83 83 mint[pos] = Tmin 84 mint_on_partition[pa] = max(mint / telms[ vi])84 mint_on_partition[pa] = max(mint / telms[0,vi]) 85 85 86 86 mint_on_partition[np.where(np.isnan(mint_on_partition))] = 10**-10
Note:
See TracChangeset
for help on using the changeset viewer.