Changeset 14114


Ignore:
Timestamp:
12/09/12 16:26:33 (12 years ago)
Author:
habbalf
Message:

CHG: clear variables from memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/workshop/2012/Talks/09_PIG_Application/Exp_Par/Pig.par

    r14045 r14114  
    3636md.geometry.bed     = InterpFromGridToMesh(x1,y1,topg,md.mesh.x,md.mesh.y,0);
    3737md.geometry.surface = InterpFromGridToMesh(x1,y1,usrf,md.mesh.x,md.mesh.y,0);
     38clear usrf, topg;
    3839
    3940disp('   Constructing thickness');
     
    5455disp('   Interpolating temperatures');
    5556md.initialization.temperature=InterpFromGridToMesh(x1,y1,temp,md.mesh.x,md.mesh.y,0)+273.15+Temp_change;
     57clear temp;
    5658
    5759disp('   Interpolating surface mass balance');
    5860md.surfaceforcings.mass_balance=InterpFromGridToMesh(x1,y1,smb,md.mesh.x,md.mesh.y,0);
    5961md.surfaceforcings.mass_balance=md.surfaceforcings.mass_balance*md.materials.rho_water/md.materials.rho_ice;
     62clear smb;
    6063
    6164disp('   Construct basal friction parameters');
     
    7578vx_obs=InterpFromGridToMesh(x2,y2,flipud(velx'),md.mesh.x,md.mesh.y,0);
    7679vy_obs=InterpFromGridToMesh(x2,y2,flipud(vely'),md.mesh.x,md.mesh.y,0);
     80clear velx vely;
     81
    7782vel_obs=sqrt(vx_obs.^2+vy_obs.^2);
    7883md.initialization.vx=vx_obs;
     
    9297disp('   Set geothermal heat flux');
    9398md.basalforcings.geothermalflux=InterpFromGridToMesh(x1,y1,gflux,md.mesh.x,md.mesh.y,0);
     99clear gflux;
    94100
    95101disp('   Set Pressure');
Note: See TracChangeset for help on using the changeset viewer.