Changeset 4868
- Timestamp:
- 07/29/10 08:48:18 (15 years ago)
- Location:
- issm/trunk/test/Validation/HydrostaticIceSheet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/Validation/HydrostaticIceSheet/NoFront/runme.m
r761 r4868 11 11 md=setelementstype(md,'Macayeal','all'); 12 12 13 %Compute solution for a 2d model 14 md=solve(md,'analysis_type','diagnostic'); 15 vel_shelf=md.results.diagnostic.vel; 13 %Compute solution for a 2d model of ice shelf 14 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 15 vel_shelf=zeros(md.numberofgrids,1); 16 vel_shelf(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value; 16 17 17 %Compute solution for a 3d model18 %Compute solution for a 2d model of ice sheet 18 19 md=geography(md,'',''); 19 md=solve(md,'analysis_type','diagnostic'); 20 vel_sheet=md.results.diagnostic.vel; 20 md=parameterize(md,'Square.par'); 21 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 22 vel_sheet=zeros(md.numberofgrids,1); 23 vel_sheet(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value; 21 24 22 25 %Plot of the velocity from the ice sheet and he ice shelf model -
issm/trunk/test/Validation/HydrostaticIceSheet/WithFront/runme.m
r761 r4868 11 11 md=setelementstype(md,'Macayeal','all'); 12 12 13 %Compute solution for a 2d model 14 md=solve(md,'analysis_type','diagnostic'); 15 vel_shelf=md.results.diagnostic.vel; 13 %Compute solution for a 2d model of ice shelf 14 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 15 vel_shelf=zeros(md.numberofgrids,1); 16 vel_shelf(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value; 16 17 17 %Compute solution for a 3d model18 %Compute solution for a 2d model of ice sheet 18 19 md=geography(md,'Shelf.exp',''); 19 md=solve(md,'analysis_type','diagnostic'); 20 vel_sheet=md.results.diagnostic.vel; 20 md=parameterize(md,'Square.par'); 21 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 22 vel_sheet=zeros(md.numberofgrids,1); 23 vel_sheet(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value; 21 24 22 25 %Plot of the velocity from the ice sheet and he ice shelf model
Note:
See TracChangeset
for help on using the changeset viewer.