]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add headers for values returned by methods.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 6 Mar 2016 04:41:30 +0000 (23:41 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 11 Mar 2016 03:05:22 +0000 (22:05 -0500)
Currently, one could include this header and then write something like

dof_handler.begin_active()->set_active_fe_index(1)

and this will fail to compile with obscure template errors because the
DoFCellAccessor (the value returned by '->') is only forward declared
without this extra header.

include/deal.II/dofs/dof_handler.h
include/deal.II/hp/dof_handler.h

index c205f316a0e067ee73bd6c07c7c86239f61ab822..a5c3eebd2a3eaea20ed032ea1167d947ce239c8c 100644 (file)
@@ -25,6 +25,7 @@
 #include <deal.II/base/iterator_range.h>
 #include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/dofs/block_info.h>
+#include <deal.II/dofs/dof_accessor.h>
 #include <deal.II/dofs/dof_iterator_selector.h>
 #include <deal.II/dofs/number_cache.h>
 #include <deal.II/dofs/dof_faces.h>
index 66847b65956387439b9af1a52ce47c653cad8676..a3508bc36971d3489126a0cf8b1e990104ebe185 100644 (file)
@@ -24,6 +24,7 @@
 #include <deal.II/base/smartpointer.h>
 #include <deal.II/base/iterator_range.h>
 #include <deal.II/dofs/function_map.h>
+#include <deal.II/dofs/dof_accessor.h>
 #include <deal.II/dofs/dof_iterator_selector.h>
 #include <deal.II/dofs/number_cache.h>
 #include <deal.II/hp/fe_collection.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.