Index: /issm/trunk/test/NightlyRun/test1301.m
===================================================================
--- /issm/trunk/test/NightlyRun/test1301.m	(revision 9044)
+++ /issm/trunk/test/NightlyRun/test1301.m	(revision 9045)
@@ -16,5 +16,6 @@
 md.observed_temperature=273.15*ones(md.numberofnodes,1);
 md.temperature=md.observed_temperature;
-md.spctemperature(:,2)=md.observed_temperature;
+pos=find(md.nodeonsurface);
+md.spctemperature(pos)=md.observed_temperature(pos);
 md.rheology_B=paterson(md.temperature);
 
Index: /issm/trunk/test/NightlyRun/test1302.m
===================================================================
--- /issm/trunk/test/NightlyRun/test1302.m	(revision 9044)
+++ /issm/trunk/test/NightlyRun/test1302.m	(revision 9045)
@@ -12,6 +12,6 @@
 
 %Thermal boundary conditions
-pos1=find(md.elementonbed);     md.spctemperature(md.elements(pos1,1:3),1)=1; md.spctemperature(md.elements(pos1,1:3),2)=10;
-pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6),1)=1; md.spctemperature(md.elements(pos2,4:6),2)=0;
+pos1=find(md.elementonbed);     md.spctemperature(md.elements(pos1,1:3))=10;
+pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6))=0;
 md.vz=0.1*ones(md.numberofnodes,1);
 md.vel=sqrt( md.vx.^2+ md.vy.^2+ md.vz.^2);
Index: /issm/trunk/test/NightlyRun/test1303.m
===================================================================
--- /issm/trunk/test/NightlyRun/test1303.m	(revision 9044)
+++ /issm/trunk/test/NightlyRun/test1303.m	(revision 9045)
@@ -11,6 +11,6 @@
 md=extrude(md,11,2);
 md=setelementstype(md,'Pattyn','all');
-pos1=find(md.elementonbed);     md.spctemperature(md.elements(pos1,1:3),1)=1; md.spctemperature(md.elements(pos1,1:3),2)=10;
-pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6),1)=1; md.spctemperature(md.elements(pos2,4:6),2)=0;
+pos1=find(md.elementonbed);     md.spctemperature(md.elements(pos1,1:3))=10;
+pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6))=0;
 md.pressure=zeros(md.numberofnodes,1);
 
Index: /issm/trunk/test/NightlyRun/test1304.m
===================================================================
--- /issm/trunk/test/NightlyRun/test1304.m	(revision 9044)
+++ /issm/trunk/test/NightlyRun/test1304.m	(revision 9045)
@@ -12,5 +12,5 @@
 md=setelementstype(md,'Pattyn','all');
 
-pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6),1)=1; md.spctemperature(md.elements(pos2,4:6),2)=0;
+pos2=find(md.elementonsurface); md.spctemperature(md.elements(pos2,4:6))=0;
 md.pressure=zeros(md.numberofnodes,1);
 md.geothermalflux(:)=0.1; %100mW/m^2
