source: issm/oecreview/Archive/12121-12140/ISSM-12124-12125.diff@ 12325

Last change on this file since 12325 was 12325, checked in by Eric.Larour, 13 years ago

11990 to 12321 oec compliance

File size: 749 bytes
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/model/mesh/triangle.py

     
    3737
    3838
    3939        #Fill in rest of fields:
    40         md.mesh.numberofelements = size(md.mesh.elements)
    41         md.mesh.numberofvertices = size(md.mesh.x)
     40        md.mesh.numberofelements = len(md.mesh.elements)
     41        md.mesh.numberofvertices = len(md.mesh.x)
    4242        md.mesh.z = zeros(md.mesh.numberofvertices)
    4343        md.mesh.vertexonboundary = zeros(md.mesh.numberofvertices)
    4444        md.mesh.vertexonboundary[md.mesh.segments[:,0:2].astype(int)-1] = 1.
Note: See TracBrowser for help on using the repository browser.