From 0315863d5830cf8cfc986b8833a7b54950ca1051 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 22 May 2001 16:42:06 +0000 Subject: [PATCH] declaration of specialization git-svn-id: https://svn.dealii.org/trunk@4700 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/multigrid/mg_dof_accessor.h | 8 + .../include/multigrid/mg_dof_handler.h | 372 ++++++++++++++++++ 2 files changed, 380 insertions(+) diff --git a/deal.II/deal.II/include/multigrid/mg_dof_accessor.h b/deal.II/deal.II/include/multigrid/mg_dof_accessor.h index 4742077c3c..fe9dcf1ad0 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_accessor.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_accessor.h @@ -657,4 +657,12 @@ class MGDoFCellAccessor : public MGDoFObjectAccessor { }; +template<> MGDoFCellAccessor<1>::face_iterator +MGDoFCellAccessor<1>::face (const unsigned int i) const; +template<> MGDoFCellAccessor<2>::face_iterator +MGDoFCellAccessor<2>::face (const unsigned int i) const; +template<> MGDoFCellAccessor<3>::face_iterator +MGDoFCellAccessor<3>::face (const unsigned int i) const; + + #endif diff --git a/deal.II/deal.II/include/multigrid/mg_dof_handler.h b/deal.II/deal.II/include/multigrid/mg_dof_handler.h index 9c1d0d37ae..0d9b0fcbe1 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_handler.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_handler.h @@ -1005,6 +1005,378 @@ MGDoFHandler::MGVertexDoFs::get_index (const unsigned int level, }; +template <> +MGDoFHandler<1>::raw_cell_iterator +MGDoFHandler<1>::begin_raw (const unsigned int level) const; +template <> +MGDoFHandler<1>::cell_iterator +MGDoFHandler<1>::begin (const unsigned int level) const; +template <> +MGDoFHandler<1>::active_cell_iterator +MGDoFHandler<1>::begin_active (const unsigned int level) const; +template <> +MGDoFHandler<1>::raw_cell_iterator +MGDoFHandler<1>::end () const; +template <> +MGDoFHandler<1>::raw_cell_iterator +MGDoFHandler<1>::last_raw () const; +template <> +MGDoFHandler<1>::raw_cell_iterator +MGDoFHandler<1>::last_raw (const unsigned int level) const; +template <> +MGDoFHandler<1>::cell_iterator +MGDoFHandler<1>::last () const; +template <> +MGDoFHandler<1>::cell_iterator +MGDoFHandler<1>::last (const unsigned int level) const; +template <> +MGDoFHandler<1>::active_cell_iterator +MGDoFHandler<1>::last_active () const; +template <> +MGDoFHandler<1>::active_cell_iterator +MGDoFHandler<1>::last_active (const unsigned int level) const; +template <> +MGDoFDimensionInfo<1>::raw_face_iterator +MGDoFHandler<1>::begin_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<1>::face_iterator +MGDoFHandler<1>::begin_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<1>::active_face_iterator +MGDoFHandler<1>::begin_active_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<1>::raw_face_iterator +MGDoFHandler<1>::end_face () const; +template <> +MGDoFDimensionInfo<1>::raw_face_iterator +MGDoFHandler<1>::last_raw_face () const; +template <> +MGDoFDimensionInfo<1>::raw_face_iterator +MGDoFHandler<1>::last_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<1>::face_iterator +MGDoFHandler<1>::last_face () const; +template <> +MGDoFDimensionInfo<1>::face_iterator +MGDoFHandler<1>::last_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<1>::active_face_iterator +MGDoFHandler<1>::last_active_face () const; +template <> +MGDoFDimensionInfo<1>::active_face_iterator +MGDoFHandler<1>::last_active_face (const unsigned int) const; +template <> +MGDoFHandler<1>::raw_quad_iterator +MGDoFHandler<1>::begin_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::quad_iterator +MGDoFHandler<1>::begin_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::active_quad_iterator +MGDoFHandler<1>::begin_active_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::raw_quad_iterator +MGDoFHandler<1>::end_quad () const; +template <> +MGDoFHandler<1>::raw_quad_iterator +MGDoFHandler<1>::last_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::quad_iterator +MGDoFHandler<1>::last_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::active_quad_iterator +MGDoFHandler<1>::last_active_quad (const unsigned int) const; +template <> +MGDoFHandler<1>::raw_quad_iterator +MGDoFHandler<1>::last_raw_quad () const; +template <> +MGDoFHandler<1>::raw_quad_iterator +MGDoFHandler<1>::last_raw_quad () const; +template <> +MGDoFHandler<1>::quad_iterator +MGDoFHandler<1>::last_quad () const; +template <> +MGDoFHandler<1>::active_quad_iterator +MGDoFHandler<1>::last_active_quad () const; +template <> +MGDoFHandler<1>::raw_hex_iterator +MGDoFHandler<1>::begin_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::hex_iterator +MGDoFHandler<1>::begin_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::active_hex_iterator +MGDoFHandler<1>::begin_active_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::raw_hex_iterator +MGDoFHandler<1>::end_hex () const; +template <> +MGDoFHandler<1>::raw_hex_iterator +MGDoFHandler<1>::last_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::hex_iterator +MGDoFHandler<1>::last_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::active_hex_iterator +MGDoFHandler<1>::last_active_hex (const unsigned int) const; +template <> +MGDoFHandler<1>::raw_hex_iterator +MGDoFHandler<1>::last_raw_hex () const; +template <> +MGDoFHandler<1>::hex_iterator +MGDoFHandler<1>::last_hex () const; +template <> +MGDoFHandler<1>::active_hex_iterator +MGDoFHandler<1>::last_active_hex () const; +//======================================================================// +template <> +MGDoFHandler<2>::raw_cell_iterator +MGDoFHandler<2>::begin_raw (const unsigned int level) const; +template <> +MGDoFHandler<2>::cell_iterator +MGDoFHandler<2>::begin (const unsigned int level) const; +template <> +MGDoFHandler<2>::active_cell_iterator +MGDoFHandler<2>::begin_active (const unsigned int level) const; +template <> +MGDoFHandler<2>::raw_cell_iterator +MGDoFHandler<2>::end () const; +template <> +MGDoFHandler<2>::raw_cell_iterator +MGDoFHandler<2>::last_raw () const; +template <> +MGDoFHandler<2>::raw_cell_iterator +MGDoFHandler<2>::last_raw (const unsigned int level) const; +template <> +MGDoFHandler<2>::cell_iterator +MGDoFHandler<2>::last () const; +template <> +MGDoFHandler<2>::cell_iterator +MGDoFHandler<2>::last (const unsigned int level) const; +template <> +MGDoFHandler<2>::active_cell_iterator +MGDoFHandler<2>::last_active () const; +template <> +MGDoFHandler<2>::active_cell_iterator +MGDoFHandler<2>::last_active (const unsigned int level) const; +template <> +MGDoFDimensionInfo<2>::raw_face_iterator +MGDoFHandler<2>::begin_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<2>::face_iterator +MGDoFHandler<2>::begin_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<2>::active_face_iterator +MGDoFHandler<2>::begin_active_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<2>::raw_face_iterator +MGDoFHandler<2>::end_face () const; +template <> +MGDoFDimensionInfo<2>::raw_face_iterator +MGDoFHandler<2>::last_raw_face () const; +template <> +MGDoFDimensionInfo<2>::raw_face_iterator +MGDoFHandler<2>::last_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<2>::face_iterator +MGDoFHandler<2>::last_face () const; +template <> +MGDoFDimensionInfo<2>::face_iterator +MGDoFHandler<2>::last_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<2>::active_face_iterator +MGDoFHandler<2>::last_active_face () const; +template <> +MGDoFDimensionInfo<2>::active_face_iterator +MGDoFHandler<2>::last_active_face (const unsigned int) const; +template <> +MGDoFHandler<2>::raw_quad_iterator +MGDoFHandler<2>::begin_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::quad_iterator +MGDoFHandler<2>::begin_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::active_quad_iterator +MGDoFHandler<2>::begin_active_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::raw_quad_iterator +MGDoFHandler<2>::end_quad () const; +template <> +MGDoFHandler<2>::raw_quad_iterator +MGDoFHandler<2>::last_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::quad_iterator +MGDoFHandler<2>::last_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::active_quad_iterator +MGDoFHandler<2>::last_active_quad (const unsigned int) const; +template <> +MGDoFHandler<2>::raw_quad_iterator +MGDoFHandler<2>::last_raw_quad () const; +template <> +MGDoFHandler<2>::raw_quad_iterator +MGDoFHandler<2>::last_raw_quad () const; +template <> +MGDoFHandler<2>::quad_iterator +MGDoFHandler<2>::last_quad () const; +template <> +MGDoFHandler<2>::active_quad_iterator +MGDoFHandler<2>::last_active_quad () const; +template <> +MGDoFHandler<2>::raw_hex_iterator +MGDoFHandler<2>::begin_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::hex_iterator +MGDoFHandler<2>::begin_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::active_hex_iterator +MGDoFHandler<2>::begin_active_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::raw_hex_iterator +MGDoFHandler<2>::end_hex () const; +template <> +MGDoFHandler<2>::raw_hex_iterator +MGDoFHandler<2>::last_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::hex_iterator +MGDoFHandler<2>::last_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::active_hex_iterator +MGDoFHandler<2>::last_active_hex (const unsigned int) const; +template <> +MGDoFHandler<2>::raw_hex_iterator +MGDoFHandler<2>::last_raw_hex () const; +template <> +MGDoFHandler<2>::hex_iterator +MGDoFHandler<2>::last_hex () const; +template <> +MGDoFHandler<2>::active_hex_iterator +MGDoFHandler<2>::last_active_hex () const; +//======================================================================// +template <> +MGDoFHandler<3>::raw_cell_iterator +MGDoFHandler<3>::begin_raw (const unsigned int level) const; +template <> +MGDoFHandler<3>::cell_iterator +MGDoFHandler<3>::begin (const unsigned int level) const; +template <> +MGDoFHandler<3>::active_cell_iterator +MGDoFHandler<3>::begin_active (const unsigned int level) const; +template <> +MGDoFHandler<3>::raw_cell_iterator +MGDoFHandler<3>::end () const; +template <> +MGDoFHandler<3>::raw_cell_iterator +MGDoFHandler<3>::last_raw () const; +template <> +MGDoFHandler<3>::raw_cell_iterator +MGDoFHandler<3>::last_raw (const unsigned int level) const; +template <> +MGDoFHandler<3>::cell_iterator +MGDoFHandler<3>::last () const; +template <> +MGDoFHandler<3>::cell_iterator +MGDoFHandler<3>::last (const unsigned int level) const; +template <> +MGDoFHandler<3>::active_cell_iterator +MGDoFHandler<3>::last_active () const; +template <> +MGDoFHandler<3>::active_cell_iterator +MGDoFHandler<3>::last_active (const unsigned int level) const; +template <> +MGDoFDimensionInfo<3>::raw_face_iterator +MGDoFHandler<3>::begin_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<3>::face_iterator +MGDoFHandler<3>::begin_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<3>::active_face_iterator +MGDoFHandler<3>::begin_active_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<3>::raw_face_iterator +MGDoFHandler<3>::end_face () const; +template <> +MGDoFDimensionInfo<3>::raw_face_iterator +MGDoFHandler<3>::last_raw_face () const; +template <> +MGDoFDimensionInfo<3>::raw_face_iterator +MGDoFHandler<3>::last_raw_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<3>::face_iterator +MGDoFHandler<3>::last_face () const; +template <> +MGDoFDimensionInfo<3>::face_iterator +MGDoFHandler<3>::last_face (const unsigned int) const; +template <> +MGDoFDimensionInfo<3>::active_face_iterator +MGDoFHandler<3>::last_active_face () const; +template <> +MGDoFDimensionInfo<3>::active_face_iterator +MGDoFHandler<3>::last_active_face (const unsigned int) const; +template <> +MGDoFHandler<3>::raw_quad_iterator +MGDoFHandler<3>::begin_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::quad_iterator +MGDoFHandler<3>::begin_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::active_quad_iterator +MGDoFHandler<3>::begin_active_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::raw_quad_iterator +MGDoFHandler<3>::end_quad () const; +template <> +MGDoFHandler<3>::raw_quad_iterator +MGDoFHandler<3>::last_raw_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::quad_iterator +MGDoFHandler<3>::last_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::active_quad_iterator +MGDoFHandler<3>::last_active_quad (const unsigned int) const; +template <> +MGDoFHandler<3>::raw_quad_iterator +MGDoFHandler<3>::last_raw_quad () const; +template <> +MGDoFHandler<3>::raw_quad_iterator +MGDoFHandler<3>::last_raw_quad () const; +template <> +MGDoFHandler<3>::quad_iterator +MGDoFHandler<3>::last_quad () const; +template <> +MGDoFHandler<3>::active_quad_iterator +MGDoFHandler<3>::last_active_quad () const; +template <> +MGDoFHandler<3>::raw_hex_iterator +MGDoFHandler<3>::begin_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::hex_iterator +MGDoFHandler<3>::begin_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::active_hex_iterator +MGDoFHandler<3>::begin_active_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::raw_hex_iterator +MGDoFHandler<3>::end_hex () const; +template <> +MGDoFHandler<3>::raw_hex_iterator +MGDoFHandler<3>::last_raw_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::hex_iterator +MGDoFHandler<3>::last_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::active_hex_iterator +MGDoFHandler<3>::last_active_hex (const unsigned int) const; +template <> +MGDoFHandler<3>::raw_hex_iterator +MGDoFHandler<3>::last_raw_hex () const; +template <> +MGDoFHandler<3>::hex_iterator +MGDoFHandler<3>::last_hex () const; +template <> +MGDoFHandler<3>::active_hex_iterator +MGDoFHandler<3>::last_active_hex () const; + /*---------------------------- mg_dof.h ---------------------------*/ #endif -- 2.39.5