source: issm/trunk-jpl/test/NightlyRun/test101.m@ 14727

Last change on this file since 14727 was 14727, checked in by Eric.Larour, 12 years ago

CHG: fixed matlab wrappers. i/o had to be updated so that MatlabVectorTo... and MatlabMatrixTo...
routines were up to date with the new ISSM toolkit.

File size: 966 bytes
Line 
1md=triangle(model(),'../Exp/Square.exp',50000.);
2md=setmask(md,'all','');
3md=parameterize(md,'../Par/SquareShelfConstrained.par');
4md=setflowequation(md,'macayeal','all');
5md.cluster=generic('name',oshostname(),'np',8);
6md.diagnostic.requested_outputs=StressTensorEnum();
7md.toolkits.DefaultAnalysis=issmsolver();
8md.verbose=verbose('11111111');
9%md.debug.valgrind=true;
10md=solve(md,DiagnosticSolutionEnum());
11
12%Fields and tolerances to track changes
13field_names ={'Vx','Vy','Vel','Pressure',...
14 'StressTensorxx','StressTensoryy','StressTensorxy'};
15field_tolerances={1e-13,1e-13,1e-13,1e-13,...
16 1e-13,1e-13,1e-13};
17field_values={...
18 (md.results.DiagnosticSolution.Vx),...
19 (md.results.DiagnosticSolution.Vy),...
20 (md.results.DiagnosticSolution.Vel),...
21 (md.results.DiagnosticSolution.Pressure),...
22 (md.results.DiagnosticSolution.StressTensorxx),...
23 (md.results.DiagnosticSolution.StressTensoryy),...
24 (md.results.DiagnosticSolution.StressTensorxy),...
25 };
Note: See TracBrowser for help on using the repository browser.