Index: /issm/trunk-jpl/test/NightlyRun/test2002.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2002.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2002.m	(revision 25140)
@@ -22,9 +22,5 @@
 
 %elastic loading from love numbers:
-nlov=101;
-md.solidearth.love=loadinglove();
-md.solidearth.love.h = love_numbers('h','CM'); md.solidearth.love.h(nlov+1:end)=[];
-md.solidearth.love.k = love_numbers('k','CM'); md.solidearth.love.k(nlov+1:end)=[];
-md.solidearth.love.l = love_numbers('l','CM'); md.solidearth.love.l(nlov+1:end)=[];
+md.love=love('maxdeg',100);
 
 %}}}
Index: /issm/trunk-jpl/test/NightlyRun/test2003.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2003.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2003.m	(revision 25140)
@@ -21,9 +21,5 @@
 
 %elastic loading from love numbers:
-nlov=1001;
-md.solidearth.love.h = love_numbers('h'); md.solidearth.love.h(nlov+1:end)=[];
-md.solidearth.love.k = love_numbers('k'); md.solidearth.love.k(nlov+1:end)=[];
-md.solidearth.love.l = love_numbers('l'); md.solidearth.love.l(nlov+1:end)=[];
-
+md.love=love('maxdeg',1000);
 
 %}}}
Index: /issm/trunk-jpl/test/NightlyRun/test2004.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2004.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2004.m	(revision 25140)
@@ -347,8 +347,5 @@
 
 %elastic loading from love numbers: 
-nlov=101;
-md.solidearth.love.h = love_numbers('h','CM'); md.solidearth.love.h(nlov+1:end)=[];
-md.solidearth.love.k = love_numbers('k','CM'); md.solidearth.love.k(nlov+1:end)=[];
-md.solidearth.love.l = love_numbers('l','CM'); md.solidearth.love.l(nlov+1:end)=[];
+md.love=love('maxdeg',100);
 md.solidearth.settings.ocean_area_scaling = 0; 
 
Index: /issm/trunk-jpl/test/NightlyRun/test2010.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2010.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2010.m	(revision 25140)
@@ -23,8 +23,5 @@
 
 %elastic loading from love numbers:
-nlov=1001;
-md.solidearth.love.h = love_numbers('h'); md.solidearth.love.h(nlov+1:end)=[];
-md.solidearth.love.k = love_numbers('k'); md.solidearth.love.k(nlov+1:end)=[];
-md.solidearth.love.l = love_numbers('l'); md.solidearth.love.l(nlov+1:end)=[];
+md.love=love('maxdeg',1000);
 
 %}}}
Index: /issm/trunk-jpl/test/NightlyRun/test2101.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2101.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2101.m	(revision 25140)
@@ -11,7 +11,5 @@
 
 %love numbers:
-nlov=10001;
-md.esa.love_h = love_numbers('h','CM'); md.esa.love_h(nlov+1:end)=[];
-md.esa.love_l = love_numbers('l','CM'); md.esa.love_l(nlov+1:end)=[];
+md.love=love('maxdeg',10000);
 
 %mask:  {{{
Index: /issm/trunk-jpl/test/NightlyRun/test2110.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2110.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2110.m	(revision 25140)
@@ -16,7 +16,5 @@
 
 %love numbers:
-nlov=10001;	% horizontal displacements do not work for low degree truncation, e.g., 101
-md.esa.love_h = love_numbers('h'); md.esa.love_h(nlov+1:end)=[];
-md.esa.love_l = love_numbers('l'); md.esa.love_l(nlov+1:end)=[];
+md.love=love('maxdeg',10000);
 
 %mask:  {{{
Index: /issm/trunk-jpl/test/NightlyRun/test2111.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2111.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2111.m	(revision 25140)
@@ -16,7 +16,5 @@
 % }}}
 %read in love numbers:{{{
-	nlov=10001;	% horizontal displacements do not work for low degree truncation, e.g., 101
-	md.esa.love_h = love_numbers('h','CF'); md.esa.love_h(nlov+1:end)=[];
-	md.esa.love_l = love_numbers('l','CF'); md.esa.love_l(nlov+1:end)=[];
+md.love=love('maxdeg',10000,'referenceframe','CF');
 % }}}
 %mask:  {{{
Index: /issm/trunk-jpl/test/NightlyRun/test2112.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2112.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2112.m	(revision 25140)
@@ -16,7 +16,5 @@
 % }}}
 %read in love numbers:{{{
-	nlov=10001;	% horizontal displacements do not work for low degree truncation, e.g., 101
-	md.esa.love_h = love_numbers('h','CF'); md.esa.love_h(nlov+1:end)=[];
-	md.esa.love_l = love_numbers('l','CF'); md.esa.love_l(nlov+1:end)=[];
+md.love=love('maxdeg',10000,'referenceframe','CF');
 % }}}
 %mask:  {{{
Index: /issm/trunk-jpl/test/NightlyRun/test2113.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/test2113.m	(revision 25139)
+++ /issm/trunk-jpl/test/NightlyRun/test2113.m	(revision 25140)
@@ -17,7 +17,5 @@
 % }}}
 %read in love numbers:{{{
-	nlov=10001;	% horizontal displacements do not work for low degree truncation, e.g., 101
-	md.esa.love_h = love_numbers('h','CF'); md.esa.love_h(nlov+1:end)=[];
-	md.esa.love_l = love_numbers('l','CF'); md.esa.love_l(nlov+1:end)=[];
+md.love=love('maxdeg',10000,'referenceframe','CF');
 % }}}
 %mask:  {{{
