From: bangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Sat, 20 Nov 2010 00:08:58 +0000 (+0000)
Subject: Simplify code slightly.
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d703c80d155b1d3554ea6a507d6b7ca0b653c2;p=dealii-svn.git

Simplify code slightly.


git-svn-id: https://svn.dealii.org/trunk@22828 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/source/fe/fe_poly_tensor.cc b/deal.II/source/fe/fe_poly_tensor.cc
index 0f58ad232d..fcd09b9e94 100644
--- a/deal.II/source/fe/fe_poly_tensor.cc
+++ b/deal.II/source/fe/fe_poly_tensor.cc
@@ -577,13 +577,12 @@ FE_PolyTensor<POLY,dim,spacedim>::fill_fe_face_values (
 				   // to take (all data sets for all
 				   // faces are stored contiguously)
 
-  const typename QProjector<dim>::DataSetDescriptor dsd;
   const typename QProjector<dim>::DataSetDescriptor offset
-    = dsd.face (face,
-		cell->face_orientation(face),
-		cell->face_flip(face),
-		cell->face_rotation(face),
-		n_q_points);
+    = QProjector<dim>::DataSetDescriptor::face (face,
+						cell->face_orientation(face),
+						cell->face_flip(face),
+						cell->face_rotation(face),
+						n_q_points);
 
   const UpdateFlags flags(fe_data.update_once | fe_data.update_each);
 
@@ -780,18 +779,17 @@ FE_PolyTensor<POLY,dim,spacedim>::fill_fe_subface_values (
   InternalData &fe_data = static_cast<InternalData &> (fedata);
 
   const unsigned int n_q_points = quadrature.size();
+
 				   // offset determines which data set
 				   // to take (all data sets for all
-				 // sub-faces are stored contiguously)
-
-  const typename QProjector<dim>::DataSetDescriptor dsd;
+				   // sub-faces are stored contiguously)
   const typename QProjector<dim>::DataSetDescriptor offset
-    = dsd.subface (face, subface,
-		   cell->face_orientation(face),
-		   cell->face_flip(face),
-		   cell->face_rotation(face),
-		   n_q_points,
-		   cell->subface_case(face));
+    = QProjector<dim>::DataSetDescriptor::subface (face, subface,
+						   cell->face_orientation(face),
+						   cell->face_flip(face),
+						   cell->face_rotation(face),
+						   n_q_points,
+						   cell->subface_case(face));
 
   const UpdateFlags flags(fe_data.update_once | fe_data.update_each);