From e9a6cc2bdf9f9ebfb9c28eee565c10dd090056b5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 27 Jul 2015 18:37:28 -0500 Subject: [PATCH] Minor cleanup. --- source/fe/mapping_q1.cc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/source/fe/mapping_q1.cc b/source/fe/mapping_q1.cc index 7e090cfb08..36e56291db 100644 --- a/source/fe/mapping_q1.cc +++ b/source/fe/mapping_q1.cc @@ -1131,20 +1131,17 @@ fill_fe_face_values (const typename Triangulation::cell_iterator & const typename Mapping::InternalDataBase &internal_data, FEValuesData &output_data) const { - // ensure that the following cast - // is really correct: + // ensure that the following cast is really correct: Assert (dynamic_cast(&internal_data) != 0, ExcInternalError()); const InternalData &data = static_cast(internal_data); - const unsigned int n_q_points = quadrature.size(); - compute_fill_face (cell, face_no, numbers::invalid_unsigned_int, DataSetDescriptor::face (face_no, cell->face_orientation(face_no), cell->face_flip(face_no), cell->face_rotation(face_no), - n_q_points), + quadrature.size()), quadrature, data, output_data); @@ -1162,20 +1159,17 @@ fill_fe_subface_values (const typename Triangulation::cell_iterato const typename Mapping::InternalDataBase &internal_data, FEValuesData &output_data) const { - // ensure that the following cast - // is really correct: + // ensure that the following cast is really correct: Assert (dynamic_cast(&internal_data) != 0, ExcInternalError()); const InternalData &data = static_cast(internal_data); - const unsigned int n_q_points = quadrature.size(); - compute_fill_face (cell, face_no, subface_no, DataSetDescriptor::subface (face_no, subface_no, cell->face_orientation(face_no), cell->face_flip(face_no), cell->face_rotation(face_no), - n_q_points, + quadrature.size(), cell->subface_case(face_no)), quadrature, data, -- 2.39.5