i_nbr=N_nbr;//To get out of the for loof and thus also to get out of the while loop
}
}
incr++;
incr++;
}
}
if(norm<5){
printf("Newton not converged (norm=%g) for uv=(%g,%g) UVS=(%g,%g,%g) NB=%d \n",norm,u_eval,v_eval,u_temp(0,0),u_temp(0,1),u_temp(0,2),num_neighbours);
if(norm<norm_treshhold){
printf("Newton not converged (norm=%g, dist=%g) for uv=(%g,%g) UVS=(%g,%g,%g) NB=%d \n",norm,dist_test,u_eval,v_eval,u_test_vec_eval(0,0),u_test_vec_eval(0,1),u_test_vec_eval(0,2),num_neighbours);