Changeset 17799


Ignore:
Timestamp:
04/22/14 08:21:12 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: bed is now base

Location:
issm/trunk-jpl/examples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/Jakobshavn/Jks.par

    r17069 r17799  
    2222
    2323disp('   Interpolating bedrock topography');
    24 md.geometry.bed=InterpFromGridToMesh(x1,y1,topg,md.mesh.x,md.mesh.y,0);
     24md.geometry.base = InterpFromGridToMesh(x1,y1,topg,md.mesh.x,md.mesh.y,0);
    2525
    2626disp('   Constructing surface elevation');
    27 md.geometry.surface=md.geometry.thickness+md.geometry.bed;
     27md.geometry.surface=md.geometry.thickness+md.geometry.base;
    2828
    2929disp('   Interpolating velocities');
  • issm/trunk-jpl/examples/Jakobshavn/runme.m

    r17069 r17799  
    1 steps=[2:3];
     1steps=[1:3];
    22
    33if any(steps==1)
  • issm/trunk-jpl/examples/SquareIceShelf/Square.par

    r17069 r17799  
    66ymin=min(md.mesh.y);
    77ymax=max(md.mesh.y);
    8 md.geometry.thickness=hmax+(hmin-hmax)*(md.mesh.y-ymin)/(ymax-ymin);
    9 md.geometry.bed=-md.materials.rho_ice/md.materials.rho_water*md.geometry.thickness;
    10 md.geometry.surface=md.geometry.bed+md.geometry.thickness;
     8md.geometry.thickness = hmax+(hmin-hmax)*(md.mesh.y-ymin)/(ymax-ymin);
     9md.geometry.base      = -md.materials.rho_ice/md.materials.rho_water*md.geometry.thickness;
     10md.geometry.surface   = md.geometry.base+md.geometry.thickness;
    1111
    1212disp('      creating drag');
Note: See TracChangeset for help on using the changeset viewer.