From: Matthias Maier Date: Mon, 21 May 2012 22:22:06 +0000 (+0000) Subject: Include tria_accessor.h at the end of tria.h X-Git-Tag: v8.0.0~2592 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=007da6f886c52b87025ad32b28f27191fc1ae99a;p=dealii.git Include tria_accessor.h at the end of tria.h 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 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 --- diff --git a/deal.II/include/deal.II/grid/tria.h b/deal.II/include/deal.II/grid/tria.h index 6c15fef608..d9d6db3fac 100644 --- a/deal.II/include/deal.II/grid/tria.h +++ b/deal.II/include/deal.II/grid/tria.h @@ -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 directly without the need to +// include tria_accessor.h separately. (Otherwise the iterators are an +// 'opaque' or 'incomplete' type.) +#include + #endif