Changeset 14231


Ignore:
Timestamp:
01/10/13 09:52:19 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updated python code accordingly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/parameterization/contourenvelope.py ΒΆ

    r14018 r14231  
    9999                els2=mesh.elementconnectivity[el1,numpy.nonzero(mesh.elementconnectivity[el1,:])[0]]-1
    100100                if numpy.size(els2)>1:
    101                         flag=numpy.intersect1d(mesh.elements[els2[0],:],mesh.elements[els2[1],:])
     101                        flag=numpy.intersect1d(numpy.intersect1d(mesh.elements[els2[0],:],mesh.elements[els2[1],:]),mesh.elements[el1,:])
    102102                        nods1=mesh.elements[el1,:]
    103103                        nods1=numpy.delete(nods1,numpy.nonzero(nods1==flag))
Note: See TracChangeset for help on using the changeset viewer.