Index: /issm/trunk/src/c/shared/Numerics/BrentSearch.cpp
===================================================================
--- /issm/trunk/src/c/shared/Numerics/BrentSearch.cpp	(revision 2186)
+++ /issm/trunk/src/c/shared/Numerics/BrentSearch.cpp	(revision 2187)
@@ -48,4 +48,5 @@
 	tolerance=optpars->tolerance;
 	maxiter=optpars->maxiter;
+	cmjump=optpars->cmjump;
 	
 	//initialize counter and boundaries
@@ -62,4 +63,17 @@
 	fxmax = (*f)(xmax,optargs);
 	_printf_("        %s    %12.6g  %12.6g  %s","   N/A",xmax,fxmax,"         N/A         boundary\n");
+
+	//test if jump option activated and xmin==0
+	if (!isnan(cmjump) && (xmin==0)){
+
+		//test ration between fxmin and fxmax. if < criterion, return
+		if((fxmin/fxmax)<cmjump){
+
+			/*Assign output pointers: */
+			*psearch_scalar=xmax;
+			*pJ=fxmax;
+			return;
+		}
+	}
 
 	//initialize the other variables
