Changeset 22274 for issm/trunk-jpl/src/m/mesh/bamgflowband.py
- Timestamp:
- 11/24/17 12:27:39 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/bamgflowband.py
r22267 r22274 25 25 #Write expfile with domain outline 26 26 A = OrderedDict() 27 A .x= np.concatenate((x,np.flipud(x),[x[0]]))28 A .y= np.concatenate((base,np.flipud(surf),[base[0]]))29 A .nods = np.size(A.x)27 A['x'] = np.concatenate((x,np.flipud(x),[x[0]])) 28 A['y'] = np.concatenate((base,np.flipud(surf),[base[0]])) 29 A['nods'] = np.size(A['x']) 30 30 31 31 #markers: 32 m = np.ones((np.size(A .x)-1,)) # base = 132 m = np.ones((np.size(A['x'])-1,)) # base = 1 33 33 m[np.size(x) - 1] = 2 # right side = 2 34 34 m[np.size(x):2 * np.size(x) - 1] = 3 # top surface = 3
Note:
See TracChangeset
for help on using the changeset viewer.