Ignore:
Timestamp:
11/15/12 15:49:34 (12 years ago)
Author:
jschierm
Message:

NEW: Working test1601.py and test1602.py.

File:
1 edited

Legend:

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

    r13670 r13971  
    33md=parameterize(md,'../Par/SquareShelf.par');
    44md=setflowequation(md,'macayeal','all');
    5 md.diagnostic.spcvx(find(md.mesh.y>0))=NaN;
    6 md.initialization.vx(:)=0;
    7 md.initialization.vy(:)=0;
    8 md.initialization.vel(:)=0;
     5md.diagnostic.spcvx(find(md.mesh.y>0.))=NaN;
     6md.initialization.vx(:)=0.;
     7md.initialization.vy(:)=0.;
     8md.initialization.vel(:)=0.;
    99
    10 md.cluster=generic('name',oshostname,'np',2);
     10md.cluster=generic('name',oshostname(),'np',2);
    1111md=solve(md,DiagnosticSolutionEnum());
    1212vel0=md.results.DiagnosticSolution.Vel;
    1313
    14 theta=30*pi/180;
     14theta=30.*pi/180.;
    1515x=md.mesh.x;
    1616y=md.mesh.y;
     
    2727
    2828%Now, put CS back to normal except on the side where the spc are applied
    29 pos=find(x==0 | x==1000000);
     29pos=find(x==0. | x==1000000.);
    3030md.diagnostic.referential(:)=NaN;
    3131md.diagnostic.referential(pos,1:3)=repmat([cos(theta),sin(theta),0],size(pos,1),1);
Note: See TracChangeset for help on using the changeset viewer.