Changeset 4868


Ignore:
Timestamp:
07/29/10 08:48:18 (15 years ago)
Author:
seroussi
Message:

Hydrostatic ice sheet test

Location:
issm/trunk/test/Validation/HydrostaticIceSheet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Validation/HydrostaticIceSheet/NoFront/runme.m

    r761 r4868  
    1111md=setelementstype(md,'Macayeal','all');
    1212
    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
     14md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     15vel_shelf=zeros(md.numberofgrids,1);
     16vel_shelf(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value;
    1617
    17 %Compute solution for a 3d model
     18%Compute solution for a 2d model of ice sheet
    1819md=geography(md,'','');
    19 md=solve(md,'analysis_type','diagnostic');
    20 vel_sheet=md.results.diagnostic.vel;
     20md=parameterize(md,'Square.par');
     21md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     22vel_sheet=zeros(md.numberofgrids,1);
     23vel_sheet(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value;
    2124
    2225%Plot of the velocity from the ice sheet and he ice shelf model
  • issm/trunk/test/Validation/HydrostaticIceSheet/WithFront/runme.m

    r761 r4868  
    1111md=setelementstype(md,'Macayeal','all');
    1212
    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
     14md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     15vel_shelf=zeros(md.numberofgrids,1);
     16vel_shelf(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value;
    1617
    17 %Compute solution for a 3d model
     18%Compute solution for a 2d model of ice sheet
    1819md=geography(md,'Shelf.exp','');
    19 md=solve(md,'analysis_type','diagnostic');
    20 vel_sheet=md.results.diagnostic.vel;
     20md=parameterize(md,'Square.par');
     21md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     22vel_sheet=zeros(md.numberofgrids,1);
     23vel_sheet(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value;
    2124
    2225%Plot of the velocity from the ice sheet and he ice shelf model
Note: See TracChangeset for help on using the changeset viewer.