source: issm/trunk/test/NightlyRun/test228.m@ 5098

Last change on this file since 5098 was 5098, checked in by Mathieu Morlighem, 15 years ago

no more testXXX_nightly.m

File size: 1.1 KB
Line 
1md=mesh(model,'../Exp/Square.exp',200000);
2md=geography(md,'all','');
3md=parameterize(md,'../Par/SquareShelf.par');
4md=extrude(md,3,1);
5md=setelementstype(md,'pattyn','all');
6
7%control parameters
8md.control_analysis=1;
9md.control_type='rheology_B';
10md.cm_min=10^6;
11md.cm_max=2*10^9;
12md.nsteps=2;
13md.fit=0*ones(md.nsteps,1);
14md.weights=ones(md.numberofgrids,1);
15md.optscal=10^7*ones(md.nsteps,1);
16md.maxiter=2*ones(md.nsteps,1);
17md.cm_jump=0.3*ones(md.nsteps,1);
18md.vx_obs=md.vx; md.vy_obs=md.vy;
19
20md.cluster=oshostname();
21md=solve(md,'analysis_type',DiagnosticSolutionEnum);
22
23%Fields and tolerances to track changes
24field_names ={'Gradient' 'Misfits' 'RheologyB2d' 'Pressure' 'Vel' 'Vx' 'Vy'};
25field_tolerances={1e-07,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08};
26field_values={...
27 PatchToVec(md.results.DiagnosticSolution.Gradient),...
28 md.results.DiagnosticSolution.J,...
29 PatchToVec(md.results.DiagnosticSolution.RheologyB),...
30 PatchToVec(md.results.DiagnosticSolution.Pressure),...
31 PatchToVec(md.results.DiagnosticSolution.Vel),...
32 PatchToVec(md.results.DiagnosticSolution.Vx),...
33 PatchToVec(md.results.DiagnosticSolution.Vy)
34};
Note: See TracBrowser for help on using the repository browser.