Changeset 13493
- Timestamp:
- 10/01/12 10:09:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/bamg.py
r13482 r13493 268 268 #}}} 269 269 # Bamg Mesh parameters {{{ 270 if options.exist('domain') and md.mesh.numberofvertices and md.mesh.dimension==2:270 if not options.exist('domain') and md.mesh.numberofvertices and md.mesh.dimension==2: 271 271 272 272 if isinstance(md.private.bamg,dict) and 'mesh' in md.private.bamg: 273 bamg_mesh=bamgmesh(md.private.bamg['mesh'] )273 bamg_mesh=bamgmesh(md.private.bamg['mesh'].__dict__) 274 274 else: 275 275 bamg_mesh.Vertices=numpy.hstack((md.mesh.x.reshape(-1,1),md.mesh.y.reshape(-1,1),numpy.ones((md.mesh.numberofvertices,1))))
Note:
See TracChangeset
for help on using the changeset viewer.