Changeset 10382


Ignore:
Timestamp:
10/31/11 15:48:23 (13 years ago)
Author:
Mathieu Morlighem
Message:

Added Pattyn test

Location:
issm/trunk/test
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/NightlyRun/test1601.m

    r10374 r10382  
    11md=setmesh(model,'../Exp/Square.exp',150000);
    22md=setmask(md,'all','');
    3 md.settings.results_on_vertices=1;
    43md=parameterize(md,'../Par/SquareShelf.par');
    54md=setflowequation(md,'macayeal','all');
     
    98md.initialization.vel(:)=0;
    109
     10md.settings.results_on_vertices=1;
    1111md.cluster=generic('name',oshostname,'np',2);
    1212md=solve(md,DiagnosticSolutionEnum);
     
    2525
    2626plotmodel(md,'data',vel0,'data',vel1,'data',vel1-vel0,'title','Cartesian CS','title','Rotated CS','title','difference')
    27 disp(['Error between Cartesian and rotated CS: ' num2str(max(vel0-vel1))]);
     27disp(['Error between Cartesian and rotated CS: ' num2str(max(abs(vel0-vel1))/(max(abs(vel0))+eps)) ]);
    2828
    2929%Fields and tolerances to track changes
Note: See TracChangeset for help on using the changeset viewer.