source:
issm/oecreview/Archive/14312-15392/ISSM-14853-14854.diff@
15393
Last change on this file since 15393 was 15393, checked in by , 12 years ago | |
---|---|
File size: 1.9 KB |
-
../trunk-jpl/test/NightlyRun/test2072.m
1 % Benchmark experiments (Figure A2c Ivins and James, 1999, Geophys. J. Int.) 2 md=triangle(model(),'../Exp/RoundFrontEISMINT.exp',200000.); 3 md=setmask(md,'',''); 4 md=parameterize(md,'../Par/GiaBenchmarksCD.par'); 5 6 %% indicate what you want to compute 7 md.gia.output_rates=1; % just want "w" solution 8 md.gia.cross_section_shape=1; % for square-edged x-section 9 10 %% define loading history 11 md.timestepping.start_time=1000.3; % for t \approx 1 kyr 12 md.timestepping.final_time=2500000; % 2,500 kyr 13 % In order to run Ivins1999 benchmarks, for now, we do things manually as follows: 14 % 1. numtimes is fixed to be five 15 % 2. final_time given above is hard-coded in "GiaDeflectionCorex.cpp" 16 % 3. evaluation time = start_time 17 % 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. 18 % 5. Ice thickness assoiated with evaluation time is actually the same at final_time 19 md.geometry.thickness=[... 20 [md.geometry.thickness*0.0; 0.0],... 21 [md.geometry.thickness/2.0; 0.1],... 22 [md.geometry.thickness; 0.2],... 23 [md.geometry.thickness; 0.25],... 24 [md.geometry.thickness; md.timestepping.start_time],... 25 ]; 26 27 %% solve for GIA deflection 28 md.cluster=generic('name',oshostname(),'np',3); 29 md.verbose=verbose('1111111'); 30 md=solve(md,GiaSolutionEnum()); 31 32 %Fields and tolerances to track changes 33 field_names ={'GiaW','GiadWdt'}; 34 field_tolerances={1e-13,1e-13}; 35 field_values={... 36 (md.results.GiaSolution.GiaW),... 37 (md.results.GiaSolution.GiadWdt),... 38 };
Note:
See TracBrowser
for help on using the repository browser.