From d1f99dae9f78b60213c1c0e5c312d21edcdbf76c Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Thu, 30 Oct 2014 10:22:09 -0500
Subject: [PATCH] Leave a note and a TODO.

---
 source/grid/grid_tools.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc
index 35147d7649..35b7d6d54e 100644
--- a/source/grid/grid_tools.cc
+++ b/source/grid/grid_tools.cc
@@ -179,6 +179,12 @@ namespace GridTools
     const QGauss<dim> quadrature_formula (mapping_degree + 1);
     const unsigned int n_q_points = quadrature_formula.size();
 
+    // we really want the JxW values from the FEValues object, but it
+    // wants a finite element. create a cheap element as a dummy
+    // element
+//TODO: using FE_Nothing here would be nice, but right now, FE_Nothing
+//  only takes one argument and can not be used for FEValues<dim,spacedim>
+//  if dim != spacedim
     FE_DGQ<dim,spacedim> dummy_fe(0);
     FEValues<dim,spacedim> fe_values (mapping, dummy_fe, quadrature_formula,
                                       update_JxW_values);
-- 
2.39.5