Index: /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.cpp
===================================================================
--- /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.cpp	(revision 4403)
+++ /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.cpp	(revision 4404)
@@ -18,6 +18,4 @@
 	Parameters* parameters=NULL;
 	int      numberofnodes;
-	int      analysis_type;
-	int      sub_analysis_type;
 
 	/* output datasets: */
@@ -37,9 +35,7 @@
 	FetchData((DataSet**)&materials,MATERIALS);
 	FetchParams(&parameters,PARAMETERS);
-	FetchData(&analysis_type,ANALYSIS);
-	FetchData(&sub_analysis_type,SUBANALYSIS);
 
 	/*!Generate internal degree of freedom numbers: */
-	ComputeBasalStressx(&sigma_g, elements,nodes,vertices,loads,materials,parameters,analysis_type,sub_analysis_type);
+	ComputeBasalStressx(&sigma_g, elements,nodes,vertices,loads,materials,parameters);
 
 	/*write output datasets: */
Index: /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.h
===================================================================
--- /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.h	(revision 4403)
+++ /issm/trunk/src/mex/ComputeBasalStress/ComputeBasalStress.h	(revision 4404)
@@ -23,6 +23,4 @@
 #define MATERIALS (mxArray*)prhs[4]
 #define PARAMETERS (mxArray*)prhs[5]
-#define ANALYSIS (mxArray*)prhs[6]
-#define SUBANALYSIS (mxArray*)prhs[7]
 
 /* serial output macros: */
@@ -33,5 +31,5 @@
 #define NLHS  1
 #undef NRHS
-#define NRHS  8
+#define NRHS  6
 
 #endif  /* _COMPUTEPRESSURE_H */
Index: /issm/trunk/src/mex/ComputePressure/ComputePressure.cpp
===================================================================
--- /issm/trunk/src/mex/ComputePressure/ComputePressure.cpp	(revision 4403)
+++ /issm/trunk/src/mex/ComputePressure/ComputePressure.cpp	(revision 4404)
@@ -18,6 +18,4 @@
 	Parameters* parameters=NULL;
 	int      numberofnodes;
-	int      analysis_type;
-	int      sub_analysis_type;
 
 	/* output datasets: */
@@ -37,9 +35,7 @@
 	FetchData((DataSet**)&materials,MATERIALS);
 	FetchParams(&parameters,PARAMETERS);
-	FetchData(&analysis_type,ANALYSIS);
-	FetchData(&sub_analysis_type,SUBANALYSIS);
 
 	/*!Generate internal degree of freedom numbers: */
-	ComputePressurex(&p_g, elements,nodes,vertices,loads,materials,parameters,analysis_type,sub_analysis_type);
+	ComputePressurex(&p_g, elements,nodes,vertices,loads,materials,parameters);
 
 	/*write output datasets: */
Index: /issm/trunk/src/mex/ComputePressure/ComputePressure.h
===================================================================
--- /issm/trunk/src/mex/ComputePressure/ComputePressure.h	(revision 4403)
+++ /issm/trunk/src/mex/ComputePressure/ComputePressure.h	(revision 4404)
@@ -23,6 +23,4 @@
 #define MATERIALS (mxArray*)prhs[4]
 #define PARAMETERS (mxArray*)prhs[5]
-#define ANALYSIS (mxArray*)prhs[6]
-#define SUBANALYSIS (mxArray*)prhs[7]
 
 /* serial output macros: */
@@ -33,5 +31,5 @@
 #define NLHS  1
 #undef NRHS
-#define NRHS  8
+#define NRHS  6
 
 #endif  /* _COMPUTEPRESSURE_H */
