Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 27819)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 27820)
@@ -1128,9 +1128,10 @@
 	int         dim, domaintype;
 	IssmDouble	vx, vy, vel, c, wrate;
-	IssmDouble  time, groundedice;
+	IssmDouble  time, groundedice, yts;
 
 	/*Get problem dimension and whether there is moving front or not*/
 	this->FindParam(&domaintype,DomainTypeEnum);
 	this->FindParam(&time,TimeEnum);
+	this->FindParam(&yts,ConstantsYtsEnum);
 
 	switch(domaintype){
@@ -1176,5 +1177,5 @@
 			case 4:
 				/* Exp 4: set c=v-wrate(given), for the first 500 years, then c=0 for the second 500 years*/
-				if((groundedice<0) && (time<=500.0)) {
+				if((groundedice<0) && (time<=500.0*yts)) {
 					wrate_input->GetInputValue(&wrate,&gauss);
 				}
