Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.cpp
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.cpp	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.cpp	(revision 12462)
@@ -122,5 +122,5 @@
 /*}}}*/
 /*FUNCTION SpcDynamic::GetValue {{{*/
-double SpcDynamic::GetValue(){
+IssmDouble SpcDynamic::GetValue(){
 	_assert_(this->isset);
 	_assert_(!isnan(value));
@@ -129,5 +129,5 @@
 /*}}}*/
 /*FUNCTION SpcDynamic::SetDynamicConstraint {{{*/
-void SpcDynamic::SetDynamicConstraint(Nodes* nodes,double* yg_serial){
+void SpcDynamic::SetDynamicConstraint(Nodes* nodes,IssmDouble* yg_serial){
 
 	int pos;
Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.h
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.h	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcDynamic.h	(revision 12462)
@@ -18,5 +18,5 @@
 		int	nodeid; /*!node id*/
 		int dof; /*!component*/
-		double value; /*value*/
+		IssmDouble value; /*value*/
 		bool isset;
 		int analysis_type;
@@ -44,6 +44,6 @@
 		int    GetNodeId();
 		int    GetDof();
-		double GetValue();
-		void   SetDynamicConstraint(Nodes* nodes,double *yg_serial);
+		IssmDouble GetValue();
+		void   SetDynamicConstraint(Nodes* nodes,IssmDouble *yg_serial);
 		/*}}}*/
 
Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.cpp
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.cpp	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.cpp	(revision 12462)
@@ -24,5 +24,5 @@
 /*}}}*/
 /*FUNCTION SpcStatic::SpcStatic(int spc_sid,int spc_nodeid,...){{{*/
-SpcStatic::SpcStatic(int spc_sid,int spc_nodeid, int spc_dof,double spc_value,int spc_analysis_type){
+SpcStatic::SpcStatic(int spc_sid,int spc_nodeid, int spc_dof,IssmDouble spc_value,int spc_analysis_type){
 
 	sid=spc_sid;
@@ -123,5 +123,5 @@
 /*}}}*/
 /*FUNCTION SpcStatic::GetValue {{{*/
-double SpcStatic::GetValue(){
+IssmDouble SpcStatic::GetValue(){
 	_assert_(!isnan(value));
 	return value;
Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.h
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.h	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcStatic.h	(revision 12462)
@@ -18,5 +18,5 @@
 		int	nodeid; /*!node id*/
 		int dof; /*!component*/
-		double value; /*value*/
+		IssmDouble value; /*value*/
 		int analysis_type;
 
@@ -25,5 +25,5 @@
 		/*SpcStatic constructors, destructors:{{{*/
 		SpcStatic();
-		SpcStatic(int sid,int nodeid, int dof,double value,int analysis_type);
+		SpcStatic(int sid,int nodeid, int dof,IssmDouble value,int analysis_type);
 		~SpcStatic();
 		/*}}}*/
@@ -43,5 +43,5 @@
 		int    GetNodeId();
 		int    GetDof();
-		double GetValue();
+		IssmDouble GetValue();
 		/*}}}*/
 
Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.cpp
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.cpp	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.cpp	(revision 12462)
@@ -31,5 +31,5 @@
 /*}}}*/
 /*FUNCTION SpcTransient::SpcTransient(int spc_sid,int spc_nodeid,...){{{*/
-SpcTransient::SpcTransient(int spc_sid,int spc_nodeid, int spc_dof,int spc_nsteps, double* spc_times, double* spc_values,int spc_analysis_type){
+SpcTransient::SpcTransient(int spc_sid,int spc_nodeid, int spc_dof,int spc_nsteps, IssmDouble* spc_times, IssmDouble* spc_values,int spc_analysis_type){
 
 	sid=spc_sid;
@@ -38,8 +38,8 @@
 	nsteps=spc_nsteps;
 	if(spc_nsteps){
-		values=xNew<double>(spc_nsteps);
-		times=xNew<double>(spc_nsteps);
-		memcpy(values,spc_values,nsteps*sizeof(double));
-		memcpy(times,spc_times,nsteps*sizeof(double));
+		values=xNew<IssmDouble>(spc_nsteps);
+		times=xNew<IssmDouble>(spc_nsteps);
+		xMemCpy<IssmDouble>(values,spc_values,nsteps);
+		xMemCpy<IssmDouble>(times,spc_times,nsteps);
 	}
 	analysis_type=spc_analysis_type;
@@ -49,6 +49,6 @@
 /*FUNCTION SpcTransient::~SpcTransient{{{*/
 SpcTransient::~SpcTransient(){
-	xDelete<double>(times);
-	xDelete<double>(values);
+	xDelete<IssmDouble>(times);
+	xDelete<IssmDouble>(values);
 	return;
 }
@@ -112,8 +112,8 @@
 
 	Node* node=NULL;
-	double time=0;
+	IssmDouble time=0;
 	int    i;
-	double alpha=-1;
-	double value;
+	IssmDouble alpha=-1;
+	IssmDouble value;
 	bool   found=false;
 
@@ -170,5 +170,5 @@
 /*}}}*/
 /*FUNCTION SpcTransient::GetValue {{{*/
-double SpcTransient::GetValue(){
+IssmDouble SpcTransient::GetValue(){
 	return values[0];
 }
Index: /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.h
===================================================================
--- /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.h	(revision 12461)
+++ /issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.h	(revision 12462)
@@ -18,6 +18,6 @@
 		int	nodeid; /*!node id*/
 		int dof; /*!component*/
-		double* values; /*different values in time*/
-		double* times; /*different time steps*/
+		IssmDouble* values; /*different values in time*/
+		IssmDouble* times; /*different time steps*/
 		int nsteps; /*number of time steps*/
 		int analysis_type;
@@ -27,5 +27,5 @@
 		/*SpcTransient constructors, destructors:{{{*/
 		SpcTransient();
-		SpcTransient(int sid,int nodeid, int dof,int nsteps, double* times, double* values,int analysis_type);
+		SpcTransient(int sid,int nodeid, int dof,int nsteps, IssmDouble* times, IssmDouble* values,int analysis_type);
 		~SpcTransient();
 		/*}}}*/
@@ -45,5 +45,5 @@
 		int    GetNodeId();
 		int    GetDof();
-		double GetValue();
+		IssmDouble GetValue();
 		/*}}}*/
 
