]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include tria_accessor.h at the end of tria.h
authorMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 21 May 2012 22:22:06 +0000 (22:22 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 21 May 2012 22:22:06 +0000 (22:22 +0000)
Include tria_accessor.h at the end of tria.h, 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.)

git-svn-id: https://svn.dealii.org/trunk@25531 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/tria.h

index 6c15fef60822010fbd774a899724513478ad0596..d9d6db3facfbf57323bf4457e5d2589773f40db5 100644 (file)
@@ -3999,4 +3999,10 @@ template <> unsigned int Triangulation<1,3>::max_adjacent_cells () const;
 
 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.