Changeset 15560 for issm/trunk-jpl/test/NightlyRun/test218.m
- Timestamp:
- 07/23/13 12:13:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/test/NightlyRun/test218.m ¶
r15558 r15560 1 1 md=squaremesh(model(),1000000,1000000,5,5); 2 2 md=setmask(md,'all',''); 3 md=parameterize(md,'../Par/SquareShelf 2.par');3 md=parameterize(md,'../Par/SquareShelf.par'); 4 4 md=setflowequation(md,'macayeal','all'); 5 5 md.cluster=generic('name',oshostname(),'np',3); … … 48 48 md.diagnostic.spcvy(pos)=0; 49 49 50 %icefront51 nodeonicefront=zeros(md.mesh.numberofvertices,1);52 pos=find(md.mesh.y==ymax); nodeonicefront(pos)=1;53 pos=find(nodeonicefront(md.mesh.segments(:,1)) | nodeonicefront(md.mesh.segments(:,2))); diagnostic.icefront=md.mesh.segments(pos,:);54 diagnostic.icefront=[diagnostic.icefront 1*md.mask.elementonfloatingice(diagnostic.icefront(:,end))];55 md.diagnostic.icefront=diagnostic.icefront;56 57 50 %partitioning 58 51 md.qmu.numberofpartitions=md.mesh.numberofvertices;
Note:
See TracChangeset
for help on using the changeset viewer.