From: Matthias Maier Date: Mon, 25 Nov 2019 22:21:55 +0000 (-0600) Subject: use cell iterator instead of active cell iterator X-Git-Tag: v9.2.0-rc1~658^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed449965d3d83ea8139ae8b36d39a77f0dac3fb;p=dealii.git use cell iterator instead of active cell iterator and avoid an unnecessary cast. These functions take a cell iterator as argument, not an active cell iterator. --- diff --git a/source/numerics/data_out.cc b/source/numerics/data_out.cc index 03c4a6d92c..96f77701fc 100644 --- a/source/numerics/data_out.cc +++ b/source/numerics/data_out.cc @@ -95,7 +95,7 @@ DataOut::build_one_patch( cell_and_index->first, GeometryInfo::unit_cell_vertex(vertex)); - // create DoFHandlerType::active_cell_iterator and initialize FEValues + // initialize FEValues scratch_data.reinit_all_fe_values(this->dof_data, cell_and_index->first); const FEValuesBase @@ -202,7 +202,7 @@ DataOut::build_one_patch( scratch_data.patch_values_scalar.evaluation_points = this_fe_patch_values.get_quadrature_points(); - const typename DoFHandlerType::active_cell_iterator dh_cell( + const typename DoFHandlerType::cell_iterator dh_cell( &cell_and_index->first->get_triangulation(), cell_and_index->first->level(), cell_and_index->first->index(), @@ -627,7 +627,7 @@ DataOut::build_one_patch( scratch_data.patch_values_system.evaluation_points = this_fe_patch_values.get_quadrature_points(); - const typename DoFHandlerType::active_cell_iterator dh_cell( + const typename DoFHandlerType::cell_iterator dh_cell( &cell_and_index->first->get_triangulation(), cell_and_index->first->level(), cell_and_index->first->index(),