Ignore:
Timestamp:
09/09/11 14:58:09 (14 years ago)
Author:
seroussi
Message:

keep building mesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/BasinConstrain.m

    r9725 r9733  
    3333                end
    3434                %ok, flag elements and nodes
    35                 [vertexondomain elementondomain]=ContourToMesh(md.elements(:,1:3),md.x,md.y,domain,'element and node',2);
     35                [vertexondomain elementondomain]=ContourToMesh(md.mesh.elements(:,1:3),md.x,md.y,domain,'element and node',2);
    3636        end
    3737        if invert,
     
    5454%now, make sure all elements on water have nodes that are spc'd, otherwise, we'll get a singular problem.
    5555pos=find(~md.mask.elementonwater);
    56 numpos=unique(md.elements(pos,:));
     56numpos=unique(md.mesh.elements(pos,:));
    5757nodes=setdiff(1:1:md.mesh.numberofvertices,numpos);
    5858md.diagnostic.spcvx(nodes)=md.inversion.vx_obs(nodes);
Note: See TracChangeset for help on using the changeset viewer.