]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include tria_accessor.h at the top of tria.h 18129/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 13 Feb 2025 00:04:29 +0000 (19:04 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 13 Feb 2025 00:04:29 +0000 (19:04 -0500)
include/deal.II/grid/tria.h

index 7fcd99cee877060823bb75a38bc7b58a5c668a73..9b5d94371cc99751263dc2072d156dee033a8a03 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <deal.II/grid/cell_id.h>
 #include <deal.II/grid/cell_status.h>
+#include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator_selector.h>
 #include <deal.II/grid/tria_levels.h>
 
@@ -4946,10 +4947,4 @@ extern template class Triangulation<3, 3>;
 
 DEAL_II_NAMESPACE_CLOSE
 
-// Include tria_accessor.h here, so that it is possible for an end
-// user to use the iterators of Triangulation<dim> directly without
-// the need to include tria_accessor.h separately. (Otherwise the
-// iterators are an 'opaque' or 'incomplete' type.)
-#include <deal.II/grid/tria_accessor.h>
-
 #endif

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.