Index: /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateLoadsPrognostic2.cpp
===================================================================
--- /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateLoadsPrognostic2.cpp	(revision 3436)
+++ /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateLoadsPrognostic2.cpp	(revision 3437)
@@ -13,4 +13,5 @@
 void	CreateLoadsPrognostic2(DataSet** ploads, IoModel* iomodel,ConstDataHandle iomodel_handle){
 
+	/*Intermediary*/
 	int i,j;
 	int i1,i2;
@@ -18,9 +19,6 @@
 	double e1,e2;
 
-	extern int my_rank;
-	extern int num_procs;
-
+	/*Output*/
 	DataSet*       loads        = NULL;
-	Numericalflux* numericalflux= NULL;
 
 	/*numericalflux intermediary data: */
@@ -44,11 +42,6 @@
 		e2=iomodel->edges[4*i+3]-1; //edges are [node1 node2 elem1 elem2]
 
-		#ifdef _PARALLEL_
-		if (iomodel->epart[(int)e1]!=my_rank){
-			/*This load does not belong to this cluster node, as it references an element 
-			 *that does not belong to this node's partition. Drop this 'i':*/
-			continue;
-		}
-		#endif
+		/*Now, if this element is not in the partition, pass: */
+		if(!iomodel->my_elements[i])continue;
 
 		/*Create load*/
@@ -103,7 +96,5 @@
 		}
 
-		numericalflux = new Numericalflux(numericalflux_id,numericalflux_type,numericalflux_node_ids,numericalflux_elem_id);
-
-		loads->AddObject(numericalflux);
+		loads->AddObject(new Numericalflux(numericalflux_id,numericalflux_type,numericalflux_node_ids,numericalflux_elem_id));
 	}
 
Index: /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateParametersPrognostic2.cpp
===================================================================
--- /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateParametersPrognostic2.cpp	(revision 3436)
+++ /issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateParametersPrognostic2.cpp	(revision 3437)
@@ -44,5 +44,5 @@
 		for(j=0;j<3;j++){
 			part[3*i+j]=(int)elements[3*i+j]-1; //Matlab to C indexing
-			ISSMASSERT(part[3*i+j]<iomodel->numberofnodes);
+			ISSMASSERT(part[3*i+j]<iomodel->numberofvertices);
 		}
 	}
