Changeset 27842


Ignore:
Timestamp:
07/20/23 11:28:50 (21 months ago)
Author:
jdquinn
Message:

CHG: Bad commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/mesh/roundmesh.py

    r27841 r27842  
    2323    else:
    2424        expname = tempname() + '.exp'
    25         print(expname)
    26         exit()
    2725
    2826    # Get number of points on the circle
     
    4442
    4543    # Move the closest node to the center
    46     pos = np.argmin(md.mesh.x**2 + md.mesh.y**2)
     44    pos = np.argmin(np.add(np.power(md.mesh.x, 2), np.power(md.mesh.y, 2)))
    4745    md.mesh.x[pos] = 0.
    4846    md.mesh.y[pos] = 0.
Note: See TracChangeset for help on using the changeset viewer.