@@ -46,7 +46,6 @@ QuasiSingularKernelIntegral<dim>::find_closest_reference_cell_point(
4646 Vector<double > residual (2 );
4747 residual = 1.0 ;
4848 unsigned int iter_counter = 0 ;
49- double min_dist;
5049 while (residual.l2_norm () > 1e-7 && iter_counter < 30 )
5150 {
5251 // here's the quadrature rule obtained with the solution point only
@@ -89,8 +88,6 @@ QuasiSingularKernelIntegral<dim>::find_closest_reference_cell_point(
8988 dist_vect[0 ] = external_point[0 ] - sol_q_points_spacedim[0 ][0 ];
9089 dist_vect[1 ] = external_point[1 ] - sol_q_points_spacedim[0 ][1 ];
9190 dist_vect[2 ] = external_point[2 ] - sol_q_points_spacedim[0 ][2 ];
92- min_dist = dist_vect.l2_norm ();
93- // std::cout<<"Min Dist: "<<min_dist<<std::endl;
9491
9592
9693 // this is the jacobian of the mapping
@@ -178,7 +175,6 @@ QuasiSingularKernelIntegral<dim>::find_closest_reference_cell_point(
178175 else
179176 {
180177 // std::cout<<"Solved"<<std::endl;
181- // std::cout<<"Min Dist: "<<min_dist<<std::endl;
182178 eta_sol[0 ] = solution[0 ];
183179 eta_sol[1 ] = solution[1 ];
184180 // std::cout<<"Cell minimum distance point: "<<eta_sol<<std::endl;
@@ -188,8 +184,6 @@ QuasiSingularKernelIntegral<dim>::find_closest_reference_cell_point(
188184 {
189185 double minimum_distance_among_faces =
190186 std::numeric_limits<double >::infinity ();
191- unsigned int face_with_minimum_distance =
192- GeometryInfo<2 >::faces_per_cell;
193187 // in this case we must look for the closest point, but on the
194188 // boundary we'll use bisection in the interval [0,1]
195189 for (unsigned int f = 0 ; f < GeometryInfo<2 >::faces_per_cell; ++f)
@@ -311,7 +305,6 @@ QuasiSingularKernelIntegral<dim>::find_closest_reference_cell_point(
311305 if (min_dist_line < minimum_distance_among_faces)
312306 {
313307 minimum_distance_among_faces = min_dist_line;
314- face_with_minimum_distance = f;
315308 switch (f)
316309 {
317310 case 0 :
0 commit comments