Changeset 26068


Ignore:
Timestamp:
03/10/21 15:12:42 (4 years ago)
Author:
jdquinn
Message:

CHG: Reverting changes as Eric and Lambert are still working on SE tests

File:
1 edited

Legend:

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

    r26067 r26068  
    77%parameterize solidearth solution:
    88%solidearth loading:  {{{
    9 md.dsl.global_average_thermosteric_sea_level=[0;0];
    10 md.dsl.sea_surface_height_above_geoid=zeros(md.mesh.numberofvertices+1,1);
    11 md.dsl.sea_water_pressure_at_sea_floor=zeros(md.mesh.numberofvertices+1,1);
     9md.solidearth.surfaceload.icethicknesschange=zeros(md.mesh.numberofelements,1);
     10md.solidearth.initialsealevel=zeros(md.mesh.numberofvertices,1);
     11md.dsl.global_average_thermosteric_sea_level_change=[0;0];
     12md.dsl.sea_surface_height_change_above_geoid=zeros(md.mesh.numberofvertices+1,1);
     13md.dsl.sea_water_pressure_change_at_sea_floor=zeros(md.mesh.numberofvertices+1,1);
     14%antarctica
     15late=sum(md.mesh.lat(md.mesh.elements),2)/3;
     16longe=sum(md.mesh.long(md.mesh.elements),2)/3;
     17pos=find(late < -80);
     18md.solidearth.surfaceload.icethicknesschange(pos)=-100;
     19%greenland
     20pos=find(late>70 & late<80 & longe>-60 & longe<-30);
     21md.solidearth.surfaceload.icethicknesschange(pos)=-100;
    1222
    1323%elastic loading from love numbers:
     
    2434md.mask.ice_levelset=icemask;
    2535md.mask.ocean_levelset=-icemask;
     36
     37%make sure that the elements that have loads are fully grounded:
     38pos=find(md.solidearth.surfaceload.icethicknesschange);
     39md.mask.ocean_levelset(md.mesh.elements(pos,:))=1;
     40
     41%make sure wherever there is an ice load, that the mask is set to ice:
     42pos=find(md.solidearth.surfaceload.icethicknesschange);
     43md.mask.ice_levelset(md.mesh.elements(pos,:))=-1;
    2644% }}}
    2745
     
    3351%Materials:
    3452md.materials=materials('hydro');
     53
    3554
    3655%Miscellaneous
Note: See TracChangeset for help on using the changeset viewer.