Changeset 13494


Ignore:
Timestamp:
10/01/12 10:13:02 (12 years ago)
Author:
jschierm
Message:

NEW: test514.py now running.

Location:
issm/trunk-jpl/test/NightlyRun
Files:
1 added
1 edited

Legend:

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

    r12805 r13494  
    11%Simple mesh 1
    2 hVertices=10000*ones(27,1);
    3 hVertices(1:5)=1000;
    4 md=bamg(model,'domain','../Exp/Pig.exp','hmax',20000,'hVertices',hVertices,'gradation',3,'geometricalmetric',1);
     2hVertices=10000.*ones(27,1);
     3hVertices(1:5)=1000.;
     4md=bamg(model,'domain','../Exp/Pig.exp','hmax',20000.,'hVertices',hVertices,'gradation',3.,'geometricalmetric',1);
    55x1=md.mesh.x;
    66y1=md.mesh.y;
    77
    88%Simple mesh 2
    9 md=bamg(model,'domain','../Exp/Pig.exp','hmax',10000);
     9md=bamg(model,'domain','../Exp/Pig.exp','hmax',10000.);
    1010md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp');
    1111md=parameterize(md,'../Par/Pig.par');
     
    1515%refine existing mesh 1
    1616hessian=ComputeHessian(md.mesh.elements,md.mesh.x,md.mesh.y,md.inversion.vy_obs,'node');
    17 metric=ComputeMetric(hessian,2/9,1,1000,25*10^3,[]);
     17metric=ComputeMetric(hessian,2./9.,1.,1000.,25.*10.^3,[]);
    1818md.miscellaneous.dummy=metric;
    19 md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000,'hmax',20000,'gradation',3,'geometricalmetric',1);
     19md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000.,'hmax',20000.,'gradation',3.,'geometricalmetric',1);
    2020x3=md2.mesh.x;
    2121y3=md2.mesh.y;
    2222
    2323%refine existing mesh 2
    24 md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000,'hmax',20000,'gradation',3,'geometricalmetric',1,'anisomax',1);
     24md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000.,'hmax',20000.,'gradation',3.,'geometricalmetric',1,'anisomax',1.);
    2525x4=md2.mesh.x;
    2626y4=md2.mesh.y;
     
    2929hVertices=NaN*ones(md.mesh.numberofvertices,1);
    3030hVertices(find(md.mesh.vertexonboundary))=500;
    31 md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000,'hmax',20000,'gradation',3,'geometricalmetric',1,'anisomax',1,'hVertices',hVertices);
     31md2=bamg(md,'metric',md.miscellaneous.dummy,'hmin',1000.,'hmax',20000.,'gradation',3.,'geometricalmetric',1,'anisomax',1.,'hVertices',hVertices);
    3232x5=md2.mesh.x;
    3333y5=md2.mesh.y;
    3434
    3535%refine existing mesh 4
    36 md2=bamg(md,'field',md.inversion.vy_obs,'hmin',1000,'hmax',20000,'gradation',3,'geometricalmetric',1,'Hessiantype',0,'err',1);
     36md2=bamg(md,'field',md.inversion.vy_obs,'hmin',1000.,'hmax',20000.,'gradation',3.,'geometricalmetric',1,'Hessiantype',0,'err',1.);
    3737x6=md2.mesh.x;
    3838y6=md2.mesh.y;
    3939
    4040%refine existing mesh 5
    41 md2=bamg(md,'field',[md.inversion.vy_obs md.geometry.thickness],'hmin',1000,'hmax',20000,'gradation',3,'geometricalmetric',1,'Hessiantype',1,'err',[10 100]);
     41md2=bamg(md,'field',[md.inversion.vy_obs md.geometry.thickness],'hmin',1000.,'hmax',20000.,'gradation',3.,'geometricalmetric',1,'Hessiantype',1,'err',[10. 100.]);
    4242x7=md2.mesh.x;
    4343y7=md2.mesh.y;
Note: See TracChangeset for help on using the changeset viewer.