Changeset 13962
- Timestamp:
- 11/15/12 10:19:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/miscellaneous/issmdoc.m
r13043 r13962 4 4 ISSM_DIR=issmdir(); 5 5 6 disp( sprintf('\n%s',' A comprehensive documentation is available on http://issm.jpl.nasa.gov'));7 disp( sprintf('\n%s',' Example: how to create a square ice shelf'));8 disp( sprintf('%s',' go to ',ISSM_DIR,'/examples/SquareIceshelf'));9 disp(sprintf('% s',' md=model;%creates a new empty model structure'));10 disp(sprintf('% s',' md=triangle(md,''DomainOutline.exp'',50000); %creates a mesh of the domain outline with a resolution of 50000m'));11 disp(sprintf('% s',' md=setmask(md,''all'','''');%defines the glacier system as an ice shelf (no island)'));12 disp(sprintf('% s',' md=parameterize(md,''Square.par'');%fills all the other fields of the model'));13 disp(sprintf('% s',' md=setflowequation(md,''macayeal'',''all''); %defines all elements as MacAyeal''s'));14 disp(sprintf('% s',' md=solve(md,DiagnosticSolutionEnum()); %generate the velocity field'));15 disp(sprintf('% s',' plotmodel(md,''data'',md.results.DiagnosticSolution.Vel);%displays the velocity (type plotdoc for plotmodel help)'));6 disp(' A comprehensive documentation is available on http://issm.jpl.nasa.gov'); 7 disp(' Example: how to create a square ice shelf'); 8 disp([' go to ',ISSM_DIR,'/examples/SquareIceShelf']); 9 disp(sprintf('%-63s %s',' md=model;','%creates a new empty model structure')); 10 disp(sprintf('%-63s %s',' md=triangle(md,''DomainOutline.exp'',50000);','%creates a mesh of the domain outline with a resolution of 50000 m')); 11 disp(sprintf('%-63s %s',' md=setmask(md,''all'','''');','%defines the glacier system as an ice shelf (no island)')); 12 disp(sprintf('%-63s %s',' md=parameterize(md,''Square.par'');','%fills all the other fields of the model')); 13 disp(sprintf('%-63s %s',' md=setflowequation(md,''macayeal'',''all'');','%defines all elements as MacAyeal''s SSA')); 14 disp(sprintf('%-63s %s',' md=solve(md,DiagnosticSolutionEnum());','%solve for stress balance')); 15 disp(sprintf('%-63s %s',' plotmodel(md,''data'',md.results.DiagnosticSolution.Vel);','%displays the velocity (type plotdoc for plotmodel help)'));
Note:
See TracChangeset
for help on using the changeset viewer.