From 1f23f383e54bd9333df954e0846632b9f115b354 Mon Sep 17 00:00:00 2001 From: kanschat Date: Mon, 26 Apr 2010 04:48:58 +0000 Subject: [PATCH] typedefs for accessor classes git-svn-id: https://svn.dealii.org/trunk@21036 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_handler.h | 3 + .../include/dofs/dof_iterator_selector.h | 56 ++++++++++--------- deal.II/deal.II/include/grid/tria.h | 4 +- deal.II/deal.II/include/grid/tria_accessor.h | 22 +++++--- .../include/grid/tria_accessor.templates.h | 9 +++ .../include/grid/tria_iterator_selector.h | 45 +++++++++------ deal.II/deal.II/include/hp/dof_handler.h | 5 +- .../include/multigrid/mg_dof_handler.h | 44 ++++++++------- .../multigrid/mg_dof_iterator_selector.h | 51 ++++++++++------- 9 files changed, 146 insertions(+), 93 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index 57a6b649f9..ca5f0067b8 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -129,6 +129,9 @@ class DoFHandler : public Subscriptor { typedef internal::DoFHandler::Iterators > IteratorSelector; public: + typedef typename IteratorSelector::CellAccessor cell_accessor; + typedef typename IteratorSelector::FaceAccessor face_accessor; + typedef typename IteratorSelector::raw_line_iterator raw_line_iterator; typedef typename IteratorSelector::line_iterator line_iterator; typedef typename IteratorSelector::active_line_iterator active_line_iterator; diff --git a/deal.II/deal.II/include/dofs/dof_iterator_selector.h b/deal.II/deal.II/include/dofs/dof_iterator_selector.h index 56d47586d0..87e1993e94 100644 --- a/deal.II/deal.II/include/dofs/dof_iterator_selector.h +++ b/deal.II/deal.II/include/dofs/dof_iterator_selector.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -47,16 +47,18 @@ namespace internal * templates is a little more complicated. See the @ref Iterators module * for more information. * - * @author Wolfgang Bangerth, Oliver Kayser-Herold, 1998, 2003, 2008 + * @author Wolfgang Bangerth, Oliver Kayser-Herold, Guido Kanschat, 1998, 2003, 2008, 2010 */ template