From: Wolfgang Bangerth Date: Thu, 30 Oct 2014 15:22:09 +0000 (-0500) Subject: Leave a note and a TODO. X-Git-Tag: v8.2.0-rc1~93^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f99dae9f78b60213c1c0e5c312d21edcdbf76c;p=dealii.git Leave a note and a TODO. --- 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 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 +// if dim != spacedim FE_DGQ dummy_fe(0); FEValues fe_values (mapping, dummy_fe, quadrature_formula, update_JxW_values);