Changeset 20992


Ignore:
Timestamp:
07/23/16 20:51:28 (9 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed round mesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/Par/RoundSheetShelf.py

    r19527 r20992  
    1414hmin=300.
    1515hmax=1000.
    16 radius=numpy.sqrt(md.mesh.x*md.mesh.x+md.mesh.y*md.mesh.y)
     16radius=numpy.sqrt(md.mesh.x.reshape(-1,1)*md.mesh.x.reshape(-1,1)+md.mesh.y.reshape(-1,1)*md.mesh.y.reshape(-1,1))
    1717ymin=numpy.min(radius)
    1818ymax=numpy.max(radius)
Note: See TracChangeset for help on using the changeset viewer.