Changeset 9679 for issm/trunk/test/NightlyRun/test236.m
- Timestamp:
- 09/08/11 08:07:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/NightlyRun/test236.m
r9664 r9679 34 34 35 35 %Boundary conditions: 36 md. spcvx=NaN*ones(md.numberofnodes,1);37 md. spcvy=NaN*ones(md.numberofnodes,1);38 md. spcvz=NaN*ones(md.numberofnodes,1);36 md.diagnostic.spcvx=NaN*ones(md.numberofnodes,1); 37 md.diagnostic.spcvy=NaN*ones(md.numberofnodes,1); 38 md.diagnostic.spcvz=NaN*ones(md.numberofnodes,1); 39 39 40 40 %constrain flanks to 0 normal velocity 41 41 pos=find(md.x==xmin | md.x==xmax); 42 md. spcvx(pos)=0;43 md. spcvz(pos)=NaN;42 md.diagnostic.spcvx(pos)=0; 43 md.diagnostic.spcvz(pos)=NaN; 44 44 45 45 %constrain grounding line to 0 velocity 46 46 pos=find(md.y==ymin); 47 md. spcvx(pos)=0;48 md. spcvy(pos)=0;47 md.diagnostic.spcvx(pos)=0; 48 md.diagnostic.spcvy(pos)=0; 49 49 50 50 %icefront 51 51 nodeonicefront=zeros(md.numberofnodes,1); 52 52 pos=find(md.y==ymax); nodeonicefront(pos)=1; 53 pos=find(nodeonicefront(md.segments(:,1)) | nodeonicefront(md.segments(:,2))); pressureload=md.segments(pos,:);54 pressureload=[pressureload 1*md.mask.elementonfloatingice(pressureload(:,end))];55 md. pressureload=pressureload;53 pos=find(nodeonicefront(md.segments(:,1)) | nodeonicefront(md.segments(:,2))); diagnostic.icefront=md.segments(pos,:); 54 diagnostic.icefront=[diagnostic.icefront 1*md.mask.elementonfloatingice(diagnostic.icefront(:,end))]; 55 md.diagnostic.icefront=diagnostic.icefront; 56 56 57 57 %partitioning … … 77 77 78 78 %imperative! 79 md. eps_rel=10^-10; %tighten for qmu analysese79 md.diagnostic.reltol=10^-10; %tighten for qmu analysese 80 80 md.qmu.isdakota=1; 81 81
Note:
See TracChangeset
for help on using the changeset viewer.