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
  • ../trunk-jpl/test/NightlyRun/test2072.m

     
     1% Benchmark experiments (Figure A2c Ivins and James, 1999, Geophys. J. Int.)
     2md=triangle(model(),'../Exp/RoundFrontEISMINT.exp',200000.);
     3md=setmask(md,'','');
     4md=parameterize(md,'../Par/GiaBenchmarksCD.par');
     5
     6%% indicate what you want to compute
     7md.gia.output_rates=1;           % just want "w" solution
     8md.gia.cross_section_shape=1;    % for square-edged x-section
     9
     10%% define loading history
     11md.timestepping.start_time=1000.3;  % for t \approx 1 kyr
     12md.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
     19md.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
     28md.cluster=generic('name',oshostname(),'np',3);
     29md.verbose=verbose('1111111');
     30md=solve(md,GiaSolutionEnum());
     31
     32%Fields and tolerances to track changes
     33field_names     ={'GiaW','GiadWdt'};
     34field_tolerances={1e-13,1e-13};
     35field_values={...
     36        (md.results.GiaSolution.GiaW),...
     37        (md.results.GiaSolution.GiadWdt),...
     38        };
Note: See TracBrowser for help on using the repository browser.