Changeset 22870


Ignore:
Timestamp:
06/22/18 03:30:35 (7 years ago)
Author:
bdef
Message:

BUG.hopefully fixing test703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test703.py

    r22869 r22870  
    7777md.basalforcings.floatingice_melting_rate = np.zeros((md.mesh.numberofvertices))
    7878md.basalforcings.geothermalflux = np.zeros((md.mesh.numberofvertices))
    79 posb = np.intersect1d(np.where(md.mesh.x > 0.), np.where(md.mesh.vertexonbase))
     79posb = np.where(np.logical_and(md.mesh.x > 0.,md.mesh.vertexonbase))[0]
    8080md.basalforcings.groundedice_melting_rate[posb] = 18.
    8181md.basalforcings.floatingice_melting_rate[posb] = 18.
Note: See TracChangeset for help on using the changeset viewer.