Index: /issm/trunk-jpl/test/NightlyRun/test328.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test328.m	(revision 13528)
+++ /issm/trunk-jpl/test/NightlyRun/test328.m	(revision 13529)
@@ -12,4 +12,13 @@
 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos);
 md.transient.requested_outputs=TotalSmbEnum();
+md.surfaceforcings.href=md.geometry.surface;
+for i=1:size(md.surfaceforcings.hc),
+	if md.geometry.surface(i)<md.surfaceforcings.hc(i)
+		smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i);
+	else
+		smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i);
+	end
+end
+md.surfaceforcings.smbref=smbref';
 md.cluster=generic('name',oshostname(),'np',3);
 md=solve(md,TransientSolutionEnum);
Index: /issm/trunk-jpl/test/NightlyRun/test329.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test329.m	(revision 13528)
+++ /issm/trunk-jpl/test/NightlyRun/test329.m	(revision 13529)
@@ -12,4 +12,13 @@
 md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y;
 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos);
+md.surfaceforcings.href=md.geometry.surface;
+for i=1:size(md.surfaceforcings.hc),
+	if md.geometry.surface(i)<md.surfaceforcings.hc(i)
+		smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i);
+	else
+		smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i);
+	end
+end
+md.surfaceforcings.smbref=smbref';
 md.transient.requested_outputs=TotalSmbEnum();
 md.cluster=generic('name',oshostname(),'np',3);
