Changeset 9607 for issm/trunk/test/NightlyRun/test1502.m
- Timestamp:
- 09/06/11 10:08:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/NightlyRun/test1502.m
r9597 r9607 15 15 %Solve for thinning rate -> -1 * surface mass balance 16 16 smb= 2*ones(md.numberofnodes,1); 17 md.surface _mass_balance= smb;17 md.surfaceforcings.mass_balance= smb; 18 18 md.basal_melting_rate= smb; 19 19 … … 22 22 for i=1:10 23 23 md=solve(md,PrognosticSolutionEnum); 24 md.surface _mass_balance= md.surface_mass_balance - (PatchToVec(md.results.PrognosticSolution.Thickness)-md.thickness);24 md.surfaceforcings.mass_balance= md.surfaceforcings.mass_balance - (PatchToVec(md.results.PrognosticSolution.Thickness)-md.thickness); 25 25 end 26 26 27 27 %Set up transient 28 smb = md.surface _mass_balance;28 smb = md.surfaceforcings.mass_balance; 29 29 30 30 tooth= [ [ones(400,1)*(smb') - 10]' [ones(400,1)*(smb')]' ]; 31 31 smb=[ [ones(399,1)*(smb')]' smb tooth tooth]; 32 32 33 md.surface _mass_balance= smb;34 md.surface _mass_balance(end+1,:)=[1:2000];33 md.surfaceforcings.mass_balance= smb; 34 md.surfaceforcings.mass_balance(end+1,:)=[1:2000]; 35 35 36 36 md=solve(md,TransientSolutionEnum);
Note:
See TracChangeset
for help on using the changeset viewer.