Changeset 13529


Ignore:
Timestamp:
10/04/12 09:07:07 (12 years ago)
Author:
helsen
Message:

modified Nightlyruntest for SMB gradients

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

Legend:

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

    r12803 r13529  
    1212md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos);
    1313md.transient.requested_outputs=TotalSmbEnum();
     14md.surfaceforcings.href=md.geometry.surface;
     15for i=1:size(md.surfaceforcings.hc),
     16        if md.geometry.surface(i)<md.surfaceforcings.hc(i)
     17                smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i);
     18        else
     19                smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i);
     20        end
     21end
     22md.surfaceforcings.smbref=smbref';
    1423md.cluster=generic('name',oshostname(),'np',3);
    1524md=solve(md,TransientSolutionEnum);
  • issm/trunk-jpl/test/NightlyRun/test329.m

    r12803 r13529  
    1212md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y;
    1313md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos);
     14md.surfaceforcings.href=md.geometry.surface;
     15for i=1:size(md.surfaceforcings.hc),
     16        if md.geometry.surface(i)<md.surfaceforcings.hc(i)
     17                smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i);
     18        else
     19                smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i);
     20        end
     21end
     22md.surfaceforcings.smbref=smbref';
    1423md.transient.requested_outputs=TotalSmbEnum();
    1524md.cluster=generic('name',oshostname(),'np',3);
Note: See TracChangeset for help on using the changeset viewer.