source: issm/oecreview/Archive/14312-15392/ISSM-14853-14854.diff

Last change on this file was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 1.9 KB
RevLine 
[15393]1Index: ../trunk-jpl/test/NightlyRun/test2072.m
2===================================================================
3--- ../trunk-jpl/test/NightlyRun/test2072.m (revision 0)
4+++ ../trunk-jpl/test/NightlyRun/test2072.m (revision 14854)
5@@ -0,0 +1,38 @@
6+% Benchmark experiments (Figure A2c Ivins and James, 1999, Geophys. J. Int.)
7+md=triangle(model(),'../Exp/RoundFrontEISMINT.exp',200000.);
8+md=setmask(md,'','');
9+md=parameterize(md,'../Par/GiaBenchmarksCD.par');
10+
11+%% indicate what you want to compute
12+md.gia.output_rates=1; % just want "w" solution
13+md.gia.cross_section_shape=1; % for square-edged x-section
14+
15+%% define loading history
16+md.timestepping.start_time=1000.3; % for t \approx 1 kyr
17+md.timestepping.final_time=2500000; % 2,500 kyr
18+% In order to run Ivins1999 benchmarks, for now, we do things manually as follows:
19+% 1. numtimes is fixed to be five
20+% 2. final_time given above is hard-coded in "GiaDeflectionCorex.cpp"
21+% 3. evaluation time = start_time
22+% 4. define new load times, according to the chosen evaluation time (care that general load history is not altered). This is really important, because of #1 and also becasue of the fact that futre loading times are not recognized.
23+% 5. Ice thickness assoiated with evaluation time is actually the same at final_time
24+md.geometry.thickness=[...
25+ [md.geometry.thickness*0.0; 0.0],...
26+ [md.geometry.thickness/2.0; 0.1],...
27+ [md.geometry.thickness; 0.2],...
28+ [md.geometry.thickness; 0.25],...
29+ [md.geometry.thickness; md.timestepping.start_time],...
30+ ];
31+
32+%% solve for GIA deflection
33+md.cluster=generic('name',oshostname(),'np',3);
34+md.verbose=verbose('1111111');
35+md=solve(md,GiaSolutionEnum());
36+
37+%Fields and tolerances to track changes
38+field_names ={'GiaW','GiadWdt'};
39+field_tolerances={1e-13,1e-13};
40+field_values={...
41+ (md.results.GiaSolution.GiaW),...
42+ (md.results.GiaSolution.GiadWdt),...
43+ };
Note: See TracBrowser for help on using the repository browser.