]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Leave a note and a TODO.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 Oct 2014 15:22:09 +0000 (10:22 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 Oct 2014 15:22:09 +0000 (10:22 -0500)
source/grid/grid_tools.cc

index 35147d7649675c06085e355be10f1af5e33ee735..35b7d6d54ed060eac4596d0e5e6649ca0a07ed4b 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.