Index: /issm/trunk/test/NightlyRun/test435.m
===================================================================
--- /issm/trunk/test/NightlyRun/test435.m	(revision 5219)
+++ /issm/trunk/test/NightlyRun/test435.m	(revision 5219)
@@ -0,0 +1,21 @@
+%test partitioning, and partition averaging
+md=mesh(model,'../Exp/Square.exp',30000);
+md=geography(md,'../Exp/SquareShelf.exp','');
+md=parameterize(md,'../Par/SquareSheetShelf.par');
+md=setelementstype(md,'macayeal','all');
+md.cluster='none';
+
+%partitioning
+md.npart=100;
+md=partitioner(md,'package','chaco','npart',md.npart);
+md.part=md.part-1;
+
+vector=(1:1:md.numberofgrids)';
+vector_on_partition=AreaAverageOntoPartition(md,vector);
+vector_on_grids=vector_on_partition(md.part+1);
+
+field_names     ={'vector_on_grids'};
+field_tolerances={1e-11};
+field_values={...
+         vector_on_grids,...
+	};
