Changeset 13962


Ignore:
Timestamp:
11/15/12 10:19:52 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updated issmdoc for workshop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/miscellaneous/issmdoc.m

    r13043 r13962  
    44ISSM_DIR=issmdir();
    55
    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)'));
     6disp('  A comprehensive documentation is available on http://issm.jpl.nasa.gov');
     7disp('  Example: how to create a square ice shelf');
     8disp(['       go to ',ISSM_DIR,'/examples/SquareIceShelf']);
     9disp(sprintf('%-63s %s','       md=model;','%creates a new empty model structure'));
     10disp(sprintf('%-63s %s','       md=triangle(md,''DomainOutline.exp'',50000);','%creates a mesh of the domain outline with a resolution of 50000 m'));
     11disp(sprintf('%-63s %s','       md=setmask(md,''all'','''');','%defines the glacier system as an ice shelf (no island)'));
     12disp(sprintf('%-63s %s','       md=parameterize(md,''Square.par'');','%fills all the other fields of the model'));
     13disp(sprintf('%-63s %s','       md=setflowequation(md,''macayeal'',''all'');','%defines all elements as MacAyeal''s SSA'));
     14disp(sprintf('%-63s %s','       md=solve(md,DiagnosticSolutionEnum());','%solve for stress balance'));
     15disp(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.