Changeset 14748


Ignore:
Timestamp:
04/24/13 16:24:52 (12 years ago)
Author:
bdef
Message:

CHG: added the one layer flag to hydrology test

Location:
issm/trunk-jpl/test/NightlyRun
Files:
2 edited

Legend:

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

    r14702 r14748  
    55md.cluster=generic('name',oshostname(),'np',2);
    66md.hydrology=(hydrologydc);
     7md.hydrology.isefficientlayer=0;
    78md.initialization.sediment_head=0.0*ones(md.mesh.numberofvertices,1);
    89md.hydrology.spcsediment_head=NaN*ones(md.mesh.numberofvertices,1);
  • issm/trunk-jpl/test/NightlyRun/tmp332.m

    r14586 r14748  
    33md=parameterize(md,'../Par/SquareSheetConstrained.par');
    44md=setflowequation(md,'macayeal','all');
     5md.cluster=generic('name',oshostname(),'np',2);
    56md.hydrology=(hydrologydc);
    6 md.cluster=generic('name',oshostname(),'np',3);
    77md.initialization.sediment_head=0.0*ones(md.mesh.numberofvertices,1);
    88md.hydrology.spcsediment_head=NaN*ones(md.mesh.numberofvertices,1);
    9 pos=find(md.mesh.y==50000.);
     9pos=find(md.mesh.x==0);
    1010md.hydrology.spcsediment_head(pos)=0.0;
     11md.basalforcings.melting_rate = 2.0*ones(md.mesh.numberofvertices,1);
     12md.timestepping.time_step=0;
     13md.timestepping.final_time=1.0;
    1114md=solve(md,HydrologySolutionEnum());
     15
     16analitic=(md.mesh.x.^2-2*md.mesh.x*10^6)*(-2.0/(365*3600*24*2.0*md.hydrology.sediment_transmitivity));
     17plotmodel(md,'data',md.results.HydrologySolution.SedimentHead-analitic)
     18%plotmodel(md,'data',analitic)
Note: See TracChangeset for help on using the changeset viewer.