From 0ed449965d3d83ea8139ae8b36d39a77f0dac3fb Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 25 Nov 2019 16:21:55 -0600 Subject: [PATCH] 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. --- source/numerics/data_out.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(), -- 2.39.5