Changeset 24293


Ignore:
Timestamp:
10/30/19 09:55:23 (5 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing Basile s commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/parameterization/setflowequation.py

    r24290 r24293  
    9292    #First modify FSflag to get rid of elements contrained everywhere (spc + border with HO or SSA)
    9393    if any(FSflag):
    94         fullspcnodes = np.logical_or(~np.isnan(md.stressbalance.spcvx) + ~np.isnan(md.stressbalance.spcvy) + ~np.isnan(md.stressbalance.spcvz) == 3, np.logical_and(nodeonHO, nodeonFS))  #find all the nodes on the boundary of the domain without icefront
     94        fullspcnodes = np.logical_or(~np.isnan(md.stressbalance.spcvx) & ~np.isnan(md.stressbalance.spcvy) & ~np.isnan(md.stressbalance.spcvz), np.logical_and(nodeonHO, nodeonFS))  #find all the nodes on the boundary of the domain without icefront
    9595        fullspcelems = np.sum(fullspcnodes[md.mesh.elements - 1], axis=1) == 6  #find all the nodes on the boundary of the domain without icefront
    9696        FSflag[np.where(fullspcelems.reshape(-1))] = False
Note: See TracChangeset for help on using the changeset viewer.