Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 5157)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 5158)
@@ -2378,6 +2378,4 @@
 	const int numdof2d=numgrids2d*DOFPERGRID;
 
-	int   dofs[3]={0,1,2};
-
 	double K_terms[numdof][numdof]={0.0};
 
@@ -2894,5 +2892,4 @@
 	int num_vert_gauss=5;
 
-	int     dofs[3]={0,1,2};
 	double  K[2][2]={0.0};
 
@@ -3575,5 +3572,4 @@
 	double  viscosity;
 	double  water_pressure;
-	int     dofs[3]={0,1,2};
 
 	/*matrices: */
@@ -3854,6 +3850,4 @@
 	double dv[3];
 	double dudx,dvdy;
-	int     dofs1[1]={0};
-	int     dofs2[1]={1};
 
 	/*inputs: */
@@ -4049,7 +4043,4 @@
 	/* element parameters: */
 	int    friction_type;
-
-	int    dofs[3]={0,1,2};
-	int    dofs1[1]={0};
 
 	/*matrices: */
Index: /issm/trunk/src/c/objects/Elements/Tria.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 5157)
+++ /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 5158)
@@ -557,6 +557,4 @@
 	const int    numdof=2*numgrids;
 	const int    NDOF2=2;
-	int          dofs1[1]={0};
-	int          dofs2[2]={0,1};
 	double       xyz_list[numgrids][3];
 
@@ -892,6 +890,4 @@
 	double B[numgrids];
 
-	int    dofs1[1]={0};
-	int    dofs2[2]={0,1};
 
 	/* gaussian points: */
@@ -926,5 +922,4 @@
 	double  lambda,mu;
 	double  thickness;
-	int     dofs[1]={0};
 	double  dB[NDOF2]; 
 	double  B_gauss;
@@ -1773,6 +1768,4 @@
 	const int    numdof=2*numgrids;
 	const int    NDOF2=2;
-	int          dofs1[1]={0};
-	int          dofs2[2]={0,1};
 	double       xyz_list[numgrids][3];
 
@@ -2356,5 +2349,4 @@
 	double  K[2][2]={0.0};
 	double  KDL[2][2]={0.0};
-	int     dofs[2]={0,1};
 	int     found=0;
 	int     dim;
@@ -2512,5 +2504,4 @@
 	/*input parameters for structural analysis (diagnostic): */
 	double  vx,vy;
-	int     dofs[1]={0};
 	int     found;
 	int     dim;
@@ -2627,5 +2618,4 @@
 	double  K[2][2]={0.0};
 	double  KDL[2][2]={0.0};
-	int     dofs[2]={0,1};
 	int     found=0;
 	int     dim;
@@ -2808,5 +2798,4 @@
 	/*input parameters for structural analysis (diagnostic): */
 	double  thickness;
-	int     dofs[2]={0,1};
 
 	/*inputs: */
@@ -3325,5 +3314,4 @@
 	double  K[2][2]={0.0};
 	double  KDL[2][2]={0.0};
-	int     dofs[2]={0,1};
 	int     found;
 	int     dim;
@@ -3500,5 +3488,4 @@
 	/*input parameters for structural analysis (diagnostic): */
 	double  vx,vy;
-	int     dofs[1]={0};
 	int     found;
 	int     dim;
@@ -5080,5 +5067,4 @@
 	double  gauss_weight;
 	double  gauss_coord[3];
-	int     dofs1[1]={0};
 
 	/*matrices: */
