Changeset 26068
- Timestamp:
- 03/10/21 15:12:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test2002.m
r26067 r26068 7 7 %parameterize solidearth solution: 8 8 %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); 9 md.solidearth.surfaceload.icethicknesschange=zeros(md.mesh.numberofelements,1); 10 md.solidearth.initialsealevel=zeros(md.mesh.numberofvertices,1); 11 md.dsl.global_average_thermosteric_sea_level_change=[0;0]; 12 md.dsl.sea_surface_height_change_above_geoid=zeros(md.mesh.numberofvertices+1,1); 13 md.dsl.sea_water_pressure_change_at_sea_floor=zeros(md.mesh.numberofvertices+1,1); 14 %antarctica 15 late=sum(md.mesh.lat(md.mesh.elements),2)/3; 16 longe=sum(md.mesh.long(md.mesh.elements),2)/3; 17 pos=find(late < -80); 18 md.solidearth.surfaceload.icethicknesschange(pos)=-100; 19 %greenland 20 pos=find(late>70 & late<80 & longe>-60 & longe<-30); 21 md.solidearth.surfaceload.icethicknesschange(pos)=-100; 12 22 13 23 %elastic loading from love numbers: … … 24 34 md.mask.ice_levelset=icemask; 25 35 md.mask.ocean_levelset=-icemask; 36 37 %make sure that the elements that have loads are fully grounded: 38 pos=find(md.solidearth.surfaceload.icethicknesschange); 39 md.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: 42 pos=find(md.solidearth.surfaceload.icethicknesschange); 43 md.mask.ice_levelset(md.mesh.elements(pos,:))=-1; 26 44 % }}} 27 45 … … 33 51 %Materials: 34 52 md.materials=materials('hydro'); 53 35 54 36 55 %Miscellaneous
Note:
See TracChangeset
for help on using the changeset viewer.