Index: /issm/trunk-jpl/src/c/toolkits/issm/IssmSeqVec.h
===================================================================
--- /issm/trunk-jpl/src/c/toolkits/issm/IssmSeqVec.h	(revision 23605)
+++ /issm/trunk-jpl/src/c/toolkits/issm/IssmSeqVec.h	(revision 23606)
@@ -144,5 +144,24 @@
 		}/*}}}*/
 		void GetLocalVector(doubletype** pvector,int** pindices){/*{{{*/
-			_error_("not implemented");
+
+			/*First, check that vector size is not 0*/
+			int vector_size;
+			this->GetSize(&vector_size);
+			if(vector_size==0){
+				*pvector=NULL;
+				*pindices=NULL;
+				return;
+			}
+
+			/*Build indices*/
+			int* indices=xNew<int>(vector_size); 
+			for(int i=0;i<vector_size;i++) indices[i]=i;
+
+			/*Get vector*/
+			doubletype* values =xNew<doubletype>(vector_size);
+			xMemCpy<doubletype>(values,this->vector,vector_size);
+
+			*pvector  = values;
+			*pindices = indices;
 		} /*}}}*/
 		IssmSeqVec<doubletype>* Duplicate(void){/*{{{*/
