]> https://gitweb.dealii.org/ - dealii.git/commitdiff
In step-10, fixes explanation surrounding new header inclusion. fixes 9356 9366/head
authorKrishnakumar Gopalakrishnan <krishna.kumar@ucl.ac.uk>
Fri, 17 Jan 2020 15:00:26 +0000 (15:00 +0000)
committerKrishnakumar Gopalakrishnan <krishna.kumar@ucl.ac.uk>
Fri, 17 Jan 2020 20:15:20 +0000 (20:15 +0000)
examples/step-10/step-10.cc

index 36662569b30b79c334e266faf43040c5c537a3d6..4ee00fdebd901bb2fea5e0d20fdd9e53fad1df2a 100644 (file)
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/dofs/dof_handler.h>
 #include <deal.II/dofs/dof_accessor.h>
-#include <deal.II/fe/fe_nothing.h>
 #include <deal.II/fe/fe_values.h>
 
-// This is the only new one: in it, we declare the MappingQ class
+// This include file is new. Even if we are not solving a PDE in this tutorial,
+// we want to use a dummy finite element with zero degrees of freedoms provided
+// by the FE_Nothing class.
+#include <deal.II/fe/fe_nothing.h>
+
+// The following header file is also new: in it, we declare the MappingQ class
 // which we will use for polynomial mappings of arbitrary order:
 #include <deal.II/fe/mapping_q.h>
 

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.