Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 16867)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 16868)
@@ -7028,4 +7028,5 @@
 	int        *doflist = NULL;
 	bool       isefficientlayer;
+	bool       active_element;
 	int        transfermethod;
 	IssmDouble sed_trans,sed_thick;
@@ -7036,5 +7037,5 @@
 	IssmDouble epl_head[numdof],sed_head[numdof];
 
-	Input* active_element=NULL;
+	Input* active_element_input=NULL;
 
 	GetDofList(&doflist,NoneApproximationEnum,GsetEnum);
@@ -7054,7 +7055,6 @@
 		case 1:
 
-			int analysis_type;
-			parameters->FindParam(&analysis_type,AnalysisTypeEnum);
-			active_element=inputs->GetInput(HydrologydcMaskEplactiveEltEnum); _assert_(active_element);
+			active_element_input=inputs->GetInput(HydrologydcMaskEplactiveEltEnum); _assert_(active_element_input);
+			active_element_input->GetInputValue(&active_element);
 
 			GetInputListOnVertices(&activeEpl[0],HydrologydcMaskEplactiveNodeEnum);
@@ -7068,9 +7068,5 @@
 			sed_thick = matpar->GetSedimentThickness();
 
-			//		printf("Which analyse %i \n",analysis_type);
-
 			if(!active_element){
-
-				//printf("NoneActive\n");
 
 				/*No transfer if the EPL is not active*/
@@ -7101,5 +7097,5 @@
 					/*Assign output pointer*/
 					transfer->SetValue(doflist[i],wh_trans,INS_VAL);
-					//printf("Computing, %e \n",wh_trans);
+
 				}
 			}
